Back to index

glibc  2.9
Classes | Defines | Functions | Variables
ifaddrs.h File Reference
#include <features.h>
#include <sys/socket.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  ifaddrs
union  ifaddrs.ifa_ifu


#define ifa_broadaddr   ifa_ifu.ifu_broadaddr
#define ifa_dstaddr   ifa_ifu.ifu_dstaddr


int getifaddrs (struct ifaddrs **__ifap) __THROW
void freeifaddrs (struct ifaddrs *__ifa) __THROW


__BEGIN_DECLS struct ifaddrs __attribute__

Class Documentation

struct ifaddrs

Definition at line 30 of file ifaddrs.h.

Collaboration diagram for ifaddrs:
Class Members
struct sockaddr * ifa_addr
void * ifa_data
unsigned int ifa_flags
union ifaddrs ifa_ifu
char * ifa_name
struct sockaddr * ifa_netmask
struct ifaddrs * ifa_next
union ifaddrs.ifa_ifu

Definition at line 39 of file ifaddrs.h.

Class Members
struct sockaddr * ifu_broadaddr
struct sockaddr * ifu_dstaddr

Define Documentation

#define ifa_broadaddr   ifa_ifu.ifu_broadaddr

Definition at line 51 of file ifaddrs.h.

#define ifa_dstaddr   ifa_ifu.ifu_dstaddr

Definition at line 54 of file ifaddrs.h.

Function Documentation

void freeifaddrs ( struct ifaddrs __ifa)

Here is the caller graph for this function:

int getifaddrs ( struct ifaddrs **  __ifap)

Definition at line 28 of file ifaddrs.c.

  __set_errno (ENOSYS);
  return -1;

Here is the call graph for this function:

Variable Documentation