RetroArch
ifaddrs.h
Go to the documentation of this file.
1 #ifndef _IFADDRS_H_
2 #define _IFADDRS_H_
3 
4 #include <sys/socket.h>
5 
6 struct ifaddrs {
7  struct ifaddrs *ifa_next;
8  char *ifa_name;
9  unsigned int ifa_flags;
10  struct sockaddr *ifa_addr;
11  struct sockaddr *ifa_netmask;
12  struct sockaddr *ifa_dstaddr;
13  void *ifa_data;
14 };
15 
16 int getifaddrs(struct ifaddrs **ifap);
17 void freeifaddrs(struct ifaddrs *ifp);
18 #endif // _IFADDRS_H_
struct sockaddr * ifa_addr
Definition: ifaddrs.h:34
struct sockaddr * ifa_dstaddr
Definition: ifaddrs.h:36
struct ifaddrs * ifa_next
Definition: ifaddrs.h:31
unsigned int ifa_flags
Definition: ifaddrs.h:33
Definition: ifaddrs.h:29
struct sockaddr * ifa_netmask
Definition: ifaddrs.h:35
Definition: sockets.h:46
void freeifaddrs(struct ifaddrs *ifa)
Definition: compat_ifaddrs.c:609
int getifaddrs(struct ifaddrs **ifap)
Definition: compat_ifaddrs.c:571
void * ifa_data
Definition: ifaddrs.h:37
char * ifa_name
Definition: ifaddrs.h:32