Home
last modified time | relevance | path

Searched refs:ifa_addr (Results 1 – 2 of 2) sorted by relevance

/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c109 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/libpcap/
Dfad-getad.c198 if (ifa->ifa_addr != NULL) { in pcap_findalldevs()
199 addr = ifa->ifa_addr; in pcap_findalldevs()