mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
18 lines
376 B
C
18 lines
376 B
C
|
#ifndef _IFADDRS_H_
|
||
|
#define _IFADDRS_H_
|
||
|
|
||
|
#include <sys/socket.h>
|
||
|
|
||
|
struct ifaddrs {
|
||
|
struct ifaddrs *ifa_next;
|
||
|
char *ifa_name;
|
||
|
unsigned int ifa_flags;
|
||
|
struct sockaddr *ifa_addr;
|
||
|
struct sockaddr *ifa_netmask;
|
||
|
struct sockaddr *ifa_dstaddr;
|
||
|
void *ifa_data;
|
||
|
};
|
||
|
|
||
|
int getifaddrs(struct ifaddrs **ifap);
|
||
|
void freeifaddrs(struct ifaddrs *ifp);
|
||
|
#endif // _IFADDRS_H_
|