Searched refs:ifaddrs (Results 1 – 10 of 10) sorted by relevance
/external/dhcpcd/ |
D | ifaddrs.c | 33 struct ifaddrs *get_interface(const char *name, sa_family_t family) in get_interface() 37 struct ifaddrs *ifa; in get_interface() 49 ifa = malloc(sizeof(struct ifaddrs)); in get_interface() 52 memset(ifa, 0, sizeof(struct ifaddrs)); in get_interface() 96 int getifaddrs(struct ifaddrs **ifap) in getifaddrs() 100 struct ifaddrs *ifa; in getifaddrs() 101 struct ifaddrs *ifah = NULL; in getifaddrs() 133 void freeifaddrs(struct ifaddrs *ifa) in freeifaddrs() 135 struct ifaddrs *ifp; in freeifaddrs()
|
D | ifaddrs.h | 15 struct ifaddrs { struct 16 struct ifaddrs *ifa_next; argument 30 extern int getifaddrs(struct ifaddrs **ifap); argument 32 extern void freeifaddrs(struct ifaddrs *ifa);
|
D | net.c | 334 struct ifaddrs *ifaddrs, *ifa; in discover_interfaces() local 356 if (getifaddrs(&ifaddrs) == -1) in discover_interfaces() 360 for (ifa = ifaddrs; ifa; ifa = ifa->ifa_next) { in discover_interfaces() 524 freeifaddrs(ifaddrs); in discover_interfaces() 537 struct ifaddrs *ifaddrs, *ifa; in do_address() local 541 if (getifaddrs(&ifaddrs) == -1) in do_address() 545 for (ifa = ifaddrs; ifa; ifa = ifa->ifa_next) { in do_address() 577 freeifaddrs(ifaddrs); in do_address()
|
D | Android.mk | 12 platform-linux.c compat/closefrom.c ifaddrs.c ipv6rs.c
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 104 struct ifaddrs struct 106 struct ifaddrs *ifa_next; argument 123 static void recvaddrs(int fd, struct ifaddrs **ifa, __u32 seq) in recvaddrs() argument 130 struct ifaddrs *I; in recvaddrs() 185 I = malloc(sizeof(struct ifaddrs)); in recvaddrs() 214 static int getifaddrs(struct ifaddrs **ifa0) in getifaddrs() 222 struct ifaddrs *i; in getifaddrs() 263 static void freeifaddrs(struct ifaddrs *ifa0) in freeifaddrs() 265 struct ifaddrs *i; in freeifaddrs() 336 struct ifaddrs *ifa0, *ifap; in grab_myaddrs()
|
/external/chromium/net/base/ |
D | net_util_posix.cc | 63 ifaddrs *ifaddr; in GetNetworkList() 69 for (ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { in GetNetworkList()
|
D | net_util.cc | 1937 struct ifaddrs* interface_addr = NULL; in IPv6Supported() 1945 for (struct ifaddrs* interface = interface_addr; in IPv6Supported() 2047 struct ifaddrs* interface_addr = NULL; in HaveOnlyLoopbackAddresses() 2055 for (struct ifaddrs* interface = interface_addr; in HaveOnlyLoopbackAddresses()
|
/external/libpcap/ |
D | fad-getad.c | 142 struct ifaddrs *ifap, *ifa; in pcap_findalldevs()
|
D | configure.in | 245 # We have "getifaddrs()"; make sure we have <ifaddrs.h> 248 AC_CHECK_HEADER(ifaddrs.h,[ 261 # but without "ifaddrs.h", if there is something 264 AC_MSG_ERROR([Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>.])
|
/external/libppp/src/ |
D | ipv6cp.c | 119 struct ifaddrs *ifa, *ifap = NULL; in SetInterfaceID()
|