Home
last modified time | relevance | path

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

12

/external/webrtc/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);
Difaddrs_converter.h31 virtual bool ConvertIfAddrsToIPAddress(const struct ifaddrs* interface,
37 const struct ifaddrs* interface,
Difaddrs_converter.cc20 const struct ifaddrs* interface, in ConvertIfAddrsToIPAddress()
48 const struct ifaddrs* interface, in ConvertNativeAttributesToIPAttributes()
Dnetwork_unittest.cc90 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()
Dnetwork.h26 struct ifaddrs;
220 void ConvertIfAddrs(ifaddrs* interfaces,
Dbase.gyp225 'ifaddrs-android.cc',
226 'ifaddrs-android.h',
571 'ifaddrs-android.cc',
572 'ifaddrs-android.h',
DBUILD.gn335 "ifaddrs-android.h",
505 "ifaddrs-android.cc",
506 "ifaddrs-android.h",
Dnetwork.cc391 void BasicNetworkManager::ConvertIfAddrs(struct ifaddrs* interfaces, in ConvertIfAddrs()
397 for (struct ifaddrs* cursor = interfaces; in ConvertIfAddrs()
471 struct ifaddrs* interfaces; in CreateNetworks()
Dmacifaddrs_converter.cc256 bool ConvertNativeAttributesToIPAttributes(const struct ifaddrs* interface, in ConvertNativeAttributesToIPAttributes()
/external/compiler-rt/test/msan/
Difaddrs.cc26 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/
Dpcap-snf.c351 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()
Dfad-getad.c150 struct ifaddrs *ifap, *ifa; in pcap_findalldevs_interfaces()
/external/libcups/cups/
Dgetifaddrs.c27 _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()
Dhttp-private.h403 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/
Dgrabmyaddr.c108 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/
Dsanitizer_platform_limits_posix.cc1165 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/
DmDNSWin32.c94 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 …]
DmDNSWin32.h168 struct ifaddrs struct
170 struct ifaddrs * ifa_next; argument
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_utils_posix_ifaddrs.cc93 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/
Dif2ip.c103 struct ifaddrs *iface, *head; in Curl_if2ip()
/external/scapy/scapy/arch/windows/
D__init__.py903 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/
Dtcp_server_posix_test.cc435 struct ifaddrs* ifa = nullptr; in main()
436 struct ifaddrs* ifa_it; in main()
/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/toybox/toys/net/
Dping.c90 struct ifaddrs *ifa, *ifa2 = 0; in ping_main()

12