Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/webrtc/base/
Difaddrs-android.cc39 int set_ifname(struct ifaddrs* ifaddr, int interface) { in set_ifname()
50 int set_flags(struct ifaddrs* ifaddr) { in set_flags()
67 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data, in set_addresses()
86 int make_prefixes(struct ifaddrs* ifaddr, int family, int prefixlen) { in make_prefixes()
118 int populate_ifaddrs(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* bytes, in populate_ifaddrs()
135 int getifaddrs(struct ifaddrs** result) { in getifaddrs()
152 struct ifaddrs* start = NULL; in getifaddrs()
153 struct ifaddrs* current = NULL; in getifaddrs()
180 ifaddrs* newest = new ifaddrs; in getifaddrs()
181 memset(newest, 0, sizeof(ifaddrs)); in getifaddrs()
[all …]
Difaddrs-android.h22 struct ifaddrs { struct
23 struct ifaddrs* ifa_next; argument
34 int getifaddrs(struct ifaddrs** result);
35 void freeifaddrs(struct ifaddrs* addrs);
Dnetwork.h25 struct ifaddrs;
142 void ConvertIfAddrs(ifaddrs* interfaces,
Dbase.gyp111 'ifaddrs-android.cc',
112 'ifaddrs-android.h',
543 'ifaddrs-android.cc',
544 'ifaddrs-android.h',
Dnetwork.cc246 void BasicNetworkManager::ConvertIfAddrs(struct ifaddrs* interfaces, in ConvertIfAddrs()
250 for (struct ifaddrs* cursor = interfaces; in ConvertIfAddrs()
313 struct ifaddrs* interfaces; in CreateNetworks()
DBUILD.gn218 "ifaddrs-android.cc",
219 "ifaddrs-android.h",
569 "ifaddrs-android.cc",
570 "ifaddrs-android.h",
/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;
159 void ConvertIfAddrs(ifaddrs* interfaces,
Dnetwork.cc263 void BasicNetworkManager::ConvertIfAddrs(struct ifaddrs* interfaces, in ConvertIfAddrs()
267 for (struct ifaddrs* cursor = interfaces; in ConvertIfAddrs()
330 struct ifaddrs* interfaces; in CreateNetworks()
/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/compiler-rt/test/msan/
Difaddrs.cc22 struct ifaddrs *ifas; in main()
24 assert(0 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main()
32 assert(-1 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main()
35 ifaddrs *p = ifas; in main()
37 CHECK_AND_PUSH(p, sizeof(ifaddrs)); in main()
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/
Ddevice_id_linux.cc101 bool ProcessInterface(struct ifaddrs *ifaddr, in ProcessInterface()
152 struct ifaddrs* ifaddrs; in GetMacAddress() local
153 int rv = getifaddrs(&ifaddrs); in GetMacAddress()
160 for (struct ifaddrs* ifa = ifaddrs; ifa; ifa = ifa->ifa_next) { in GetMacAddress()
166 freeifaddrs(ifaddrs); in GetMacAddress()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_userspace.c98 Win_getifaddrs(struct ifaddrs** interfaces) in Win_getifaddrs()
104 struct ifaddrs *ifa; in Win_getifaddrs()
136 ifa = (struct ifaddrs *)malloc(sizeof(struct ifaddrs)); in Win_getifaddrs()
170 ifa = (struct ifaddrs *)malloc(sizeof(struct ifaddrs)); in Win_getifaddrs()
Dsctp_bsd_addr.c322 struct ifaddrs *ifa;
357 ifa = (struct ifaddrs*)malloc(sizeof(struct ifaddrs));
405 ifa = (struct ifaddrs*)malloc(sizeof(struct ifaddrs));
435 struct ifaddrs *ifa = NULL;
Dsctp_os_userspace.h220 int Win_getifaddrs(struct ifaddrs**);
385 struct ifaddrs { struct
386 struct ifaddrs *ifa_next; argument
760 extern struct ifaddrs *g_interfaces;
906 …INTFC(sctp_ifn) sctp_userspace_get_mtu_from_ifn(if_nametoindex(((struct ifaddrs *) (sctp_ifn))->i…
/external/libpcap/
Dpcap-snf.c276 struct snf_ifaddrs *ifaddrs, *ifa; in snf_create() local
290 if (snf_getifaddrs(&ifaddrs) || ifaddrs == NULL) { in snf_create()
296 ifa = ifaddrs; in snf_create()
304 snf_freeifaddrs(ifaddrs); in snf_create()
Dfad-getad.c155 struct ifaddrs *ifap, *ifa; in pcap_findalldevs_interfaces()
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc1068 CHECK_TYPE_SIZE(ifaddrs);
1069 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_next);
1070 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_name);
1071 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_addr);
1072 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_netmask);
1080 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr);
1083 sizeof(((ifaddrs *)NULL)->ifa_ifu));
1085 offsetof(ifaddrs, ifa_ifu));
1088 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr);
1090 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_data);
/external/chromium_org/base/ios/
Ddevice_util.mm10 #include <ifaddrs.h>
96 struct ifaddrs* addresses;
98 for (struct ifaddrs* address = addresses; address;
/external/chromium_org/net/base/
Dnet_util_posix.cc159 ifaddrs *interfaces; in GetNetworkList()
168 for (ifaddrs *interface = interfaces; in GetNetworkList()

123