Home
last modified time | relevance | path

Searched refs:ifaddrs (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/base/
Difaddrs-android.cc52 int set_ifname(struct ifaddrs* ifaddr, int interface) { in set_ifname()
63 int set_flags(struct ifaddrs* ifaddr) { in set_flags()
80 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data, in set_addresses()
99 int make_prefixes(struct ifaddrs* ifaddr, int family, int prefixlen) { in make_prefixes()
131 int populate_ifaddrs(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* bytes, in populate_ifaddrs()
148 int getifaddrs(struct ifaddrs** result) { in getifaddrs()
165 struct ifaddrs* start = NULL; in getifaddrs()
166 struct ifaddrs* current = NULL; in getifaddrs()
193 ifaddrs* newest = new ifaddrs; in getifaddrs()
194 memset(newest, 0, sizeof(ifaddrs)); in getifaddrs()
[all …]
Difaddrs-android.h37 struct ifaddrs { struct
38 struct ifaddrs* ifa_next; argument
47 int getifaddrs(struct ifaddrs** result);
48 void freeifaddrs(struct ifaddrs* addrs);
Dnetwork.h42 struct ifaddrs;
145 void ConvertIfAddrs(ifaddrs* interfaces,
Dnetwork.cc192 void BasicNetworkManager::ConvertIfAddrs(struct ifaddrs* interfaces, in ConvertIfAddrs()
196 for (struct ifaddrs* cursor = interfaces; in ConvertIfAddrs()
258 struct ifaddrs* interfaces; in CreateNetworks()
Dnetwork_unittest.cc75 struct ifaddrs* interfaces, in CallConvertIfAddrs()
533 ifaddrs list; in TEST_F()
/external/dhcpcd/
Difaddrs.c33 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()
Difaddrs.h15 struct ifaddrs { struct
16 struct ifaddrs *ifa_next; argument
30 extern int getifaddrs(struct ifaddrs **ifap); argument
32 extern void freeifaddrs(struct ifaddrs *ifa);
Dnet.c334 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()
DAndroid.mk12 platform-linux.c compat/closefrom.c ifaddrs.c ipv6rs.c
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/
Ddevice_id_linux.cc99 bool ProcessInterface(struct ifaddrs *ifaddr, in ProcessInterface()
150 struct ifaddrs* ifaddrs; in GetMacAddress() local
151 int rv = getifaddrs(&ifaddrs); in GetMacAddress()
158 for (struct ifaddrs* ifa = ifaddrs; ifa; ifa = ifa->ifa_next) { in GetMacAddress()
164 freeifaddrs(ifaddrs); in GetMacAddress()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c104 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/
Dnet_util_posix.cc63 ifaddrs *ifaddr; in GetNetworkList()
69 for (ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { in GetNetworkList()
Dnet_util.cc1937 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/chromium_org/net/base/
Dnet_util_posix.cc96 ifaddrs *interfaces; in GetNetworkList()
103 for (ifaddrs *interface = interfaces; in GetNetworkList()
/external/chromium_org/base/ios/
Ddevice_util.mm10 #include <ifaddrs.h>
90 struct ifaddrs* addresses;
92 for (struct ifaddrs* address = addresses; address;
/external/libpcap/
Dfad-getad.c142 struct ifaddrs *ifap, *ifa; in pcap_findalldevs()
Dconfigure.in245 # 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/chromium_org/net/dns/
Daddress_sorter_posix.cc345 struct ifaddrs* addrs; in OnIPAddressChanged()
353 for (struct ifaddrs* ifa = addrs; ifa != NULL; ifa = ifa->ifa_next) { in OnIPAddressChanged()
/external/iputils/
Darping.c68 struct ifaddrs *ifa;
598 struct ifaddrs *ifa0, *ifa; in find_device_by_ifaddrs()
935 struct ifaddrs *ifa; in set_device_broadcast_ifaddrs_one()
/external/chromium_org/third_party/libjingle/
Dlibjingle.target.darwin-mips.mk137 third_party/libjingle/source/talk/base/ifaddrs-android.cc \
Dlibjingle.target.linux-mips.mk137 third_party/libjingle/source/talk/base/ifaddrs-android.cc \
Dlibjingle.target.darwin-arm.mk137 third_party/libjingle/source/talk/base/ifaddrs-android.cc \
Dlibjingle.target.darwin-x86.mk137 third_party/libjingle/source/talk/base/ifaddrs-android.cc \
Dlibjingle.target.linux-x86.mk137 third_party/libjingle/source/talk/base/ifaddrs-android.cc \
/external/chromium_org/third_party/libjingle/source/talk/
Dlibjingle.gyp320 'base/ifaddrs-android.cc',
321 'base/ifaddrs-android.h',
551 'base/ifaddrs-android.cc',

12