HomeSort by relevance Sort by last modified time
    Searched refs:ifa_addr (Results 1 - 25 of 29) 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/webrtc/base/
ifaddrs-android.h 26 struct sockaddr* ifa_addr; member in struct:ifaddrs
ifaddrs-android.cc 73 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa);
79 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa);
214 delete cursor->ifa_addr;
network.cc 275 if (!cursor->ifa_addr || !cursor->ifa_netmask)
278 switch (cursor->ifa_addr->sa_family) {
281 reinterpret_cast<sockaddr_in*>(cursor->ifa_addr)->sin_addr);
289 reinterpret_cast<sockaddr_in6*>(cursor->ifa_addr)->sin6_addr);
293 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/x86_64-linux-glibc2.11-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.11-4.8/sysroot/usr/include/
ifaddrs.h 37 struct sockaddr *ifa_addr; /* Network address of this interface. */ member in struct:ifaddrs
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_bsd_addr.c 360 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in));
361 memcpy(ifa->ifa_addr, pUnicast->Address.lpSockaddr, sizeof(struct sockaddr_in));
369 ifa->ifa_addr,
408 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in6));
409 memcpy(ifa->ifa_addr, pUnicast->Address.lpSockaddr, sizeof(struct sockaddr_in6));
416 ifa->ifa_addr,
444 if (ifa->ifa_addr == NULL) {
448 if (ifa->ifa_addr->sa_family != AF_INET6) {
453 if (ifa->ifa_addr->sa_family != AF_INET) {
458 if ((ifa->ifa_addr->sa_family != AF_INET) && (ifa->ifa_addr->sa_family != AF_INET6))
    [all...]
sctp_userspace.c 143 ifa->ifa_addr = (struct sockaddr *)addr;
177 ifa->ifa_addr = (struct sockaddr *)addr6;
  /external/compiler-rt/test/msan/
ifaddrs.cc 39 CHECK_AND_PUSH(p->ifa_addr, sizeof(*p->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 192 * "ifa_addr" was apparently null on at least one
205 * if "ifa_addr" is non-null (if there's no address,
211 if (ifa->ifa_addr != NULL) {
212 addr = ifa->ifa_addr;
  /external/chromium_org/net/dns/
address_sorter_posix.cc 355 if (!src.FromSockAddr(ifa->ifa_addr, ifa->ifa_addr->sa_len))
360 if (ifa->ifa_addr->sa_family == AF_INET6) {
363 DCHECK_LE(ifa->ifa_addr->sa_len, sizeof(ifr.ifr_ifru.ifru_addr));
364 memcpy(&ifr.ifr_ifru.ifru_addr, ifa->ifa_addr, ifa->ifa_addr->sa_len);
374 if (netmask.FromSockAddr(ifa->ifa_netmask, ifa->ifa_addr->sa_len)) {
  /external/chromium_org/net/base/
net_util_posix.cc 184 struct sockaddr* addr = interface->ifa_addr;
231 memcpy(&ifr.ifr_ifru.ifru_addr, interface->ifa_addr,
232 interface->ifa_addr->sa_len);
246 // If not otherwise set, assume the same sa_family as ifa_addr.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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.11-4.8/sysroot/usr/include/net/
if.h 91 struct sockaddr ifa_addr; /* Address of interface. */ member in struct:ifaddr
  /external/chromium_org/third_party/usrsctp/usrsctplib/
user_recv_thread.c 119 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in));
120 memcpy(ifa->ifa_addr, sa, sizeof(struct sockaddr_in));
125 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in6));
126 memcpy(ifa->ifa_addr, sa, sizeof(struct sockaddr_in6));
139 ifa->ifa_addr,
143 sctp_del_addr_from_vrf(SCTP_DEFAULT_VRFID, ifa->ifa_addr,
    [all...]
  /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 405 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET)
408 !memcmp(&((struct sockaddr_in *)ifa->ifa_addr)->sin_addr,
    [all...]
ping6.c 1016 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET6)
1019 IN6_ARE_ADDR_EQUAL(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr,
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_platform_limits_posix.h 273 void *ifa_addr; // (struct sockaddr *) member in struct:__sanitizer::__sanitizer_ifaddrs
    [all...]

Completed in 564 milliseconds

1 2