Searched refs:ifa_addr (Results 1 – 16 of 16) sorted by relevance
/external/iputils/ninfod/ |
D | ninfod_addrs.c | 173 if (!ifa->ifa_addr) in pr_nodeinfo_ipv6addr() 188 IN6_ARE_ADDR_EQUAL((struct in6_addr *)ifa->ifa_addr, in pr_nodeinfo_ipv6addr() 226 if (!ifa->ifa_addr) in pr_nodeinfo_ipv6addr() 233 if (filter_ipv6addr((struct in6_addr *)ifa->ifa_addr, flags)) in pr_nodeinfo_ipv6addr() 270 if (!ifa->ifa_addr) in pr_nodeinfo_ipv6addr() 278 if (filter_ipv6addr((struct in6_addr *)ifa->ifa_addr, flags)) in pr_nodeinfo_ipv6addr() 295 memcpy(cp + sizeof(ttl), ifa->ifa_addr, sizeof(struct in6_addr)); in pr_nodeinfo_ipv6addr() 342 if (!ifa->ifa_addr) in pr_nodeinfo_ipv4addr() 347 memcmp((struct in_addr *)ifa->ifa_addr, in pr_nodeinfo_ipv4addr() 386 if (!ifa->ifa_addr) in pr_nodeinfo_ipv4addr() [all …]
|
D | ni_ifaddrs.h | 37 void *ifa_addr; member
|
D | ni_ifaddrs.c | 468 ifa->ifa_addr = data; in ni_ifaddrs() 508 ifa->ifa_addr = (struct sockaddr *) data; in ni_ifaddrs() 509 memcpy(ifa->ifa_addr, ifamap.address, ifamap.address_len); in ni_ifaddrs()
|
/external/toybox/toys/pending/ |
D | ping.c | 85 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != family) continue; 89 &((struct sockaddr_in *)ifa->ifa_addr)->sin_addr, 92 &((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr,
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 109 struct sockaddr *ifa_addr; member 191 I->ifa_addr = (struct sockaddr*)&I->ifa_addrbuf; in recvaddrs() 192 I->ifa_addr->sa_family = m->ifa_family; in recvaddrs() 194 struct sockaddr_in *sin = (void*)I->ifa_addr; in recvaddrs() 197 struct sockaddr_in6 *sin = (void*)I->ifa_addr; in recvaddrs() 353 if (! ifap->ifa_addr) in grab_myaddrs() 356 if (ifap->ifa_addr->sa_family != AF_INET in grab_myaddrs() 358 && ifap->ifa_addr->sa_family != AF_INET6 in grab_myaddrs() 363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { in grab_myaddrs() 367 saddrwop2str(ifap->ifa_addr)); in grab_myaddrs() [all …]
|
/external/dhcpcd/ |
D | ifaddrs.c | 69 ifa->ifa_addr = (struct sockaddr *)saddr; in get_interface() 91 ifa->ifa_addr = (struct sockaddr *)hwaddr; in get_interface() 141 if (ifp->ifa_addr) in freeifaddrs() 142 free(ifp->ifa_addr); in freeifaddrs()
|
D | net.c | 361 if (ifa->ifa_addr != NULL) { in discover_interfaces() 363 if (ifa->ifa_addr->sa_family != AF_LINK) in discover_interfaces() 366 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces() 437 } else if (ifa->ifa_addr != NULL) { in discover_interfaces() 439 sdl = (const struct sockaddr_dl *)(void *)ifa->ifa_addr; in discover_interfaces() 445 memcpy(&iflr.addr, ifa->ifa_addr, in discover_interfaces() 446 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr))); in discover_interfaces() 480 sll = (const struct sockaddr_ll *)(void *)ifa->ifa_addr; in discover_interfaces() 546 if (ifa->ifa_addr == NULL || in do_address() 547 ifa->ifa_addr->sa_family != AF_INET || in do_address() [all …]
|
D | ifaddrs.h | 19 struct sockaddr *ifa_addr; member
|
/external/compiler-rt/test/msan/ |
D | ifaddrs.cc | 39 CHECK_AND_PUSH(p->ifa_addr, sizeof(*p->ifa_addr)); in main()
|
/external/libpcap/ |
D | fad-getad.c | 211 if (ifa->ifa_addr != NULL) { in pcap_findalldevs_interfaces() 212 addr = ifa->ifa_addr; in pcap_findalldevs_interfaces()
|
/external/iputils/ |
D | arping.c | 608 if (!ifa->ifa_addr) in find_device_by_ifaddrs() 610 if (ifa->ifa_addr->sa_family != AF_PACKET) in find_device_by_ifaddrs() 618 if (!((struct sockaddr_ll *)ifa->ifa_addr)->sll_halen) in find_device_by_ifaddrs()
|
D | ping.c | 405 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET) in main() 408 !memcmp(&((struct sockaddr_in *)ifa->ifa_addr)->sin_addr, in main()
|
D | ping6.c | 1016 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET6) in main() 1019 IN6_ARE_ADDR_EQUAL(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr, in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 282 void *ifa_addr; // (struct sockaddr *) member
|
D | sanitizer_platform_limits_posix.cc | 1107 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_addr);
|
D | sanitizer_common_interceptors.inc | 4146 if (p->ifa_addr) 4147 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, p->ifa_addr, struct_sockaddr_sz);
|