HomeSort by relevance Sort by last modified time
    Searched refs:ifa_addr (Results 1 - 25 of 27) sorted by null

1 2

  /external/iputils/ninfod/
ni_ifaddrs.h 37 void *ifa_addr; member in struct:ni_ifaddrs
ninfod_addrs.c 173 if (!ifa->ifa_addr)
188 IN6_ARE_ADDR_EQUAL((struct in6_addr *)ifa->ifa_addr,
226 if (!ifa->ifa_addr)
233 if (filter_ipv6addr((struct in6_addr *)ifa->ifa_addr, flags))
270 if (!ifa->ifa_addr)
278 if (filter_ipv6addr((struct in6_addr *)ifa->ifa_addr, flags))
295 memcpy(cp + sizeof(ttl), ifa->ifa_addr, sizeof(struct in6_addr));
342 if (!ifa->ifa_addr)
347 memcmp((struct in_addr *)ifa->ifa_addr,
386 if (!ifa->ifa_addr)
    [all...]
ni_ifaddrs.c 468 ifa->ifa_addr = data;
508 ifa->ifa_addr = (struct sockaddr *) data;
509 memcpy(ifa->ifa_addr, ifamap.address, ifamap.address_len);
  /external/chromium_org/third_party/libjingle/source/talk/base/
ifaddrs-android.h 41 struct sockaddr* ifa_addr; member in struct:ifaddrs
ifaddrs-android.cc 86 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa);
92 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa);
227 delete cursor->ifa_addr;
network.cc 195 if (!cursor->ifa_addr || !cursor->ifa_netmask)
198 switch (cursor->ifa_addr->sa_family) {
201 reinterpret_cast<sockaddr_in*>(cursor->ifa_addr)->sin_addr);
209 reinterpret_cast<sockaddr_in6*>(cursor->ifa_addr)->sin6_addr);
213 reinterpret_cast<sockaddr_in6*>(cursor->ifa_addr)->sin6_scope_id;
  /external/dhcpcd/
ifaddrs.h 19 struct sockaddr *ifa_addr; member in struct:ifaddrs
ifaddrs.c 68 ifa->ifa_addr = (struct sockaddr *)saddr;
90 ifa->ifa_addr = (struct sockaddr *)hwaddr;
140 if (ifp->ifa_addr)
141 free(ifp->ifa_addr);
net.c 361 if (ifa->ifa_addr != NULL) {
363 if (ifa->ifa_addr->sa_family != AF_LINK)
366 if (ifa->ifa_addr->sa_family != AF_PACKET)
437 } else if (ifa->ifa_addr != NULL) {
439 sdl = (const struct sockaddr_dl *)(void *)ifa->ifa_addr;
445 memcpy(&iflr.addr, ifa->ifa_addr,
446 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr)));
480 sll = (const struct sockaddr_ll *)(void *)ifa->ifa_addr;
546 if (ifa->ifa_addr == NULL ||
547 ifa->ifa_addr->sa_family != AF_INET |
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
ifaddrs.h 37 struct sockaddr *ifa_addr; /* Network address of this interface. */ member in struct:ifaddrs
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
ifaddrs.h 37 struct sockaddr *ifa_addr; /* Network address of this interface. */ member in struct:ifaddrs
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
ifaddrs.h 37 struct sockaddr *ifa_addr; /* Network address of this interface. */ member in struct:ifaddrs
  /external/chromium/net/base/
net_util_posix.cc 70 int family = ifa->ifa_addr->sa_family;
74 if (address.FromSockAddr(ifa->ifa_addr,
75 sizeof(ifa->ifa_addr)) &&
  /external/ipsec-tools/src/racoon/
grabmyaddr.c 109 struct sockaddr *ifa_addr; member in struct:ifaddrs
191 I->ifa_addr = (struct sockaddr*)&I->ifa_addrbuf;
192 I->ifa_addr->sa_family = m->ifa_family;
194 struct sockaddr_in *sin = (void*)I->ifa_addr;
197 struct sockaddr_in6 *sin = (void*)I->ifa_addr;
353 if (! ifap->ifa_addr)
356 if (ifap->ifa_addr->sa_family != AF_INET
358 && ifap->ifa_addr->sa_family != AF_INET6
363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) {
367 saddrwop2str(ifap->ifa_addr));
    [all...]
  /external/libpcap/
fad-getad.c 179 * "ifa_addr" was apparently null on at least one
192 * if "ifa_addr" is non-null (if there's no address,
198 if (ifa->ifa_addr != NULL) {
199 addr = ifa->ifa_addr;
  /external/chromium_org/net/dns/
address_sorter_posix.cc 380 if (!src.FromSockAddr(ifa->ifa_addr, ifa->ifa_addr->sa_len))
385 if (ifa->ifa_addr->sa_family == AF_INET6) {
388 DCHECK_LE(ifa->ifa_addr->sa_len, sizeof(ifr.ifr_ifru.ifru_addr));
389 memcpy(&ifr.ifr_ifru.ifru_addr, ifa->ifa_addr, ifa->ifa_addr->sa_len);
399 if (netmask.FromSockAddr(ifa->ifa_netmask, ifa->ifa_addr->sa_len)) {
  /external/chromium_org/net/base/
net_util_posix.cc 109 struct sockaddr* addr = interface->ifa_addr;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/
if.h 91 struct sockaddr ifa_addr; /* Address of interface. */ member in struct:ifaddr
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/net/
if.h 91 struct sockaddr ifa_addr; /* Address of interface. */ member in struct:ifaddr
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/net/
if.h 91 struct sockaddr ifa_addr; /* Address of interface. */ member in struct:ifaddr
  /external/iputils/
arping.c 608 if (!ifa->ifa_addr)
610 if (ifa->ifa_addr->sa_family != AF_PACKET)
618 if (!((struct sockaddr_ll *)ifa->ifa_addr)->sll_halen)
ping.c 402 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET)
405 !memcmp(&((struct sockaddr_in *)ifa->ifa_addr)->sin_addr,
    [all...]
ping6.c 1013 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET6)
1016 IN6_ARE_ADDR_EQUAL(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr,
    [all...]
  /external/libppp/src/
ipv6cp.c 141 if (ifa->ifa_addr->sa_family != AF_LINK)
144 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
  /external/chromium_org/third_party/usrsctp/overrides/usrsctplib/netinet/
sctp_os_userspace.h 374 struct sockaddr *ifa_addr; member in struct:ifaddrs
    [all...]

Completed in 160 milliseconds

1 2