Searched refs:ifa_addr (Results 1 – 7 of 7) sorted by relevance
67 ifa->ifa_addr = (struct sockaddr *)saddr; in get_interface()89 ifa->ifa_addr = (struct sockaddr *)hwaddr; in get_interface()139 if (ifp->ifa_addr) in freeifaddrs()140 free(ifp->ifa_addr); in freeifaddrs()
343 if (ifa->ifa_addr != NULL) { in discover_interfaces()345 if (ifa->ifa_addr->sa_family != AF_LINK) in discover_interfaces()348 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces()418 } else if (ifa->ifa_addr != NULL) { in discover_interfaces()420 sdl = (const struct sockaddr_dl *)(void *)ifa->ifa_addr; in discover_interfaces()426 memcpy(&iflr.addr, ifa->ifa_addr, in discover_interfaces()427 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr))); in discover_interfaces()452 sll = (const struct sockaddr_ll *)(void *)ifa->ifa_addr; in discover_interfaces()514 if (ifa->ifa_addr == NULL || in do_address()515 ifa->ifa_addr->sa_family != AF_INET || in do_address()[all …]
19 struct sockaddr *ifa_addr; member
70 int family = ifa->ifa_addr->sa_family; in GetNetworkList()74 if (address.FromSockAddr(ifa->ifa_addr, in GetNetworkList()75 sizeof(ifa->ifa_addr)) && in GetNetworkList()
1952 struct sockaddr* addr = interface->ifa_addr; in IPv6Supported()2062 const struct sockaddr* addr = interface->ifa_addr; in HaveOnlyLoopbackAddresses()
109 struct sockaddr *ifa_addr; member191 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 …]
198 if (ifa->ifa_addr != NULL) { in pcap_findalldevs()199 addr = ifa->ifa_addr; in pcap_findalldevs()