/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 39 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 …]
|
D | ifaddrs-android.h | 22 struct ifaddrs { struct 23 struct ifaddrs* ifa_next; argument 34 int getifaddrs(struct ifaddrs** result); 35 void freeifaddrs(struct ifaddrs* addrs);
|
D | ifaddrs_converter.h | 31 virtual bool ConvertIfAddrsToIPAddress(const struct ifaddrs* interface, 37 const struct ifaddrs* interface,
|
D | ifaddrs_converter.cc | 20 const struct ifaddrs* interface, in ConvertIfAddrsToIPAddress() 48 const struct ifaddrs* interface, in ConvertNativeAttributesToIPAttributes()
|
D | network_unittest.cc | 90 struct ifaddrs* interfaces, in CallConvertIfAddrs() 112 struct ifaddrs* AddIpv6Address(struct ifaddrs* list, in AddIpv6Address() 117 struct ifaddrs* if_addr = new struct ifaddrs; in AddIpv6Address() 118 memset(if_addr, 0, sizeof(struct ifaddrs)); in AddIpv6Address() 129 void ReleaseIfAddrs(struct ifaddrs* list) { in ReleaseIfAddrs() 130 struct ifaddrs* if_addr = list; in ReleaseIfAddrs() 132 struct ifaddrs* next_addr = if_addr->ifa_next; in ReleaseIfAddrs() 707 ifaddrs list; in TEST_F() 721 ifaddrs* list = nullptr; in TEST_F() 737 ifaddrs list; in TEST_F()
|
D | network.h | 26 struct ifaddrs; 220 void ConvertIfAddrs(ifaddrs* interfaces,
|
D | base.gyp | 225 'ifaddrs-android.cc', 226 'ifaddrs-android.h', 571 'ifaddrs-android.cc', 572 'ifaddrs-android.h',
|
D | BUILD.gn | 335 "ifaddrs-android.h", 505 "ifaddrs-android.cc", 506 "ifaddrs-android.h",
|
D | network.cc | 391 void BasicNetworkManager::ConvertIfAddrs(struct ifaddrs* interfaces, in ConvertIfAddrs() 397 for (struct ifaddrs* cursor = interfaces; in ConvertIfAddrs() 471 struct ifaddrs* interfaces; in CreateNetworks()
|
D | macifaddrs_converter.cc | 256 bool ConvertNativeAttributesToIPAttributes(const struct ifaddrs* interface, in ConvertNativeAttributesToIPAttributes()
|
/external/compiler-rt/test/msan/ |
D | ifaddrs.cc | 26 struct ifaddrs *ifas; in main() 28 assert(0 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main() 36 assert(-1 == __msan_test_shadow(&ifas, sizeof(ifaddrs *))); in main() 39 ifaddrs *p = ifas; in main() 41 CHECK_AND_PUSH(p, sizeof(ifaddrs)); in main()
|
/external/libpcap/ |
D | pcap-snf.c | 351 struct snf_ifaddrs *ifaddrs, *ifa; in snf_findalldevs() local 363 if (snf_getifaddrs(&ifaddrs) || ifaddrs == NULL) in snf_findalldevs() 380 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->snf_ifa_next) { in snf_findalldevs() 479 snf_freeifaddrs(ifaddrs); in snf_findalldevs() 517 struct snf_ifaddrs *ifaddrs, *ifa; in snf_create() local 531 if (snf_getifaddrs(&ifaddrs) || ifaddrs == NULL) { in snf_create() 537 ifa = ifaddrs; in snf_create() 545 snf_freeifaddrs(ifaddrs); in snf_create()
|
D | fad-getad.c | 150 struct ifaddrs *ifap, *ifa; in pcap_findalldevs_interfaces()
|
/external/libcups/cups/ |
D | getifaddrs.c | 27 _cups_getifaddrs(struct ifaddrs **addrs)/* O - List of interfaces */ in _cups_getifaddrs() 37 struct ifaddrs *temp; /* Pointer to current interface */ in _cups_getifaddrs() 114 if ((temp = calloc(1, sizeof(struct ifaddrs))) == NULL) in _cups_getifaddrs() 204 _cups_freeifaddrs(struct ifaddrs *addrs)/* I - Interface list to free */ in _cups_freeifaddrs() 206 struct ifaddrs *next; /* Next interface in list */ in _cups_freeifaddrs()
|
D | http-private.h | 403 struct ifaddrs /**** Interface Structure ****/ struct 405 struct ifaddrs *ifa_next; /* Next interface in list */ argument 426 extern int _cups_getifaddrs(struct ifaddrs **addrs); argument 428 extern void _cups_freeifaddrs(struct ifaddrs *addrs);
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 108 struct ifaddrs struct 110 struct ifaddrs *ifa_next; argument 127 static void recvaddrs(int fd, struct ifaddrs **ifa, __u32 seq) in recvaddrs() argument 134 struct ifaddrs *I; in recvaddrs() 189 I = malloc(sizeof(struct ifaddrs)); in recvaddrs() 218 static int getifaddrs(struct ifaddrs **ifa0) in getifaddrs() 226 struct ifaddrs *i; in getifaddrs() 267 static void freeifaddrs(struct ifaddrs *ifa0) in freeifaddrs() 269 struct ifaddrs *i; in freeifaddrs() 340 struct ifaddrs *ifa0, *ifap; in grab_myaddrs()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 1165 CHECK_TYPE_SIZE(ifaddrs); 1166 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_next); 1167 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_name); 1168 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_addr); 1169 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_netmask); 1177 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr); 1180 sizeof(((ifaddrs *)nullptr)->ifa_ifu)); 1182 offsetof(ifaddrs, ifa_ifu)); 1185 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_dstaddr); 1187 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_data);
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 94 mDNSlocal mStatus SetupInterface( mDNS * const inMDNS, const struct ifaddrs *inIFA, mDNSInterface… 100 mDNSlocal int getifaddrs( struct ifaddrs **outAddrs ); 101 mDNSlocal void freeifaddrs( struct ifaddrs *inAddrs ); 125 mDNSlocal int getifaddrs_ipv6( struct ifaddrs **outAddrs ); 128 mDNSlocal int getifaddrs_ipv4( struct ifaddrs **outAddrs ); 138 mDNSlocal struct ifaddrs* myGetIfAddrs(int refresh); 1882 struct ifaddrs * ifa; in SetReverseMapSearchDomainList() 2431 struct ifaddrs * addrs; in SetupInterfaceList() 2432 struct ifaddrs * p; in SetupInterfaceList() 2433 struct ifaddrs * loopbackv4; in SetupInterfaceList() [all …]
|
D | mDNSWin32.h | 168 struct ifaddrs struct 170 struct ifaddrs * ifa_next; argument
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_server_utils_posix_ifaddrs.cc | 93 struct ifaddrs* ifa = nullptr; in grpc_tcp_server_add_all_local_addrs() 94 struct ifaddrs* ifa_it; in grpc_tcp_server_add_all_local_addrs()
|
/external/curl/lib/ |
D | if2ip.c | 103 struct ifaddrs *iface, *head; in Curl_if2ip()
|
/external/scapy/scapy/arch/windows/ |
D | __init__.py | 903 ifaddrs = [] 906 ifaddrs.append((ifaddr[0], ifaddr[1], dev_from_pcapname(ifaddr[2]))) 911 ifaddrs.append(("::1", 0, scapy.consts.LOOPBACK_INTERFACE)) 912 return ifaddrs
|
/external/grpc-grpc/test/core/iomgr/ |
D | tcp_server_posix_test.cc | 435 struct ifaddrs* ifa = nullptr; in main() 436 struct ifaddrs* ifa_it; in main()
|
/external/iputils/ |
D | arping.c | 68 struct ifaddrs *ifa; 598 struct ifaddrs *ifa0, *ifa; in find_device_by_ifaddrs() 935 struct ifaddrs *ifa; in set_device_broadcast_ifaddrs_one()
|
/external/toybox/toys/net/ |
D | ping.c | 90 struct ifaddrs *ifa, *ifa2 = 0; in ping_main()
|