Home
last modified time | relevance | path

Searched refs:ifa_flags (Results 1 – 25 of 25) sorted by relevance

/external/iputils/ninfod/
Dninfod_addrs.c175 if (ifa->ifa_flags & (IFA_F_TENTATIVE|IFA_F_SECONDARY)) in pr_nodeinfo_ipv6addr()
228 if (ifa->ifa_flags & (IFA_F_TENTATIVE|IFA_F_SECONDARY)) in pr_nodeinfo_ipv6addr()
242 if (!(ifa->ifa_flags & IFA_F_DEPRECATED)) in pr_nodeinfo_ipv6addr()
272 if (ifa->ifa_flags & (IFA_F_TENTATIVE|IFA_F_SECONDARY)) in pr_nodeinfo_ipv6addr()
286 ttl = (ifa->ifa_flags & IFA_F_PERMANENT) ? htonl(0x7fffffff) : 0; in pr_nodeinfo_ipv6addr()
293 …(sizeof(uint32_t)+sizeof(struct in6_addr)) * (ifa->ifa_flags & IFA_F_DEPRECATED ? paddrs0+daddrs :… in pr_nodeinfo_ipv6addr()
298 if (ifa->ifa_flags & IFA_F_DEPRECATED) in pr_nodeinfo_ipv6addr()
344 if (ifa->ifa_flags & (IFA_F_TENTATIVE|IFA_F_SECONDARY)) in pr_nodeinfo_ipv4addr()
389 if (ifa->ifa_flags & (IFA_F_TENTATIVE)) in pr_nodeinfo_ipv4addr()
405 if (!(ifa->ifa_flags & IFA_F_DEPRECATED)) in pr_nodeinfo_ipv4addr()
[all …]
Dni_ifaddrs.h36 unsigned short ifa_flags; member
Dni_ifaddrs.c412 nlm_flags = ifam->ifa_flags; in ni_ifaddrs()
417 ifa->ifa_flags = nlm_flags; in ni_ifaddrs()
/external/iproute2/ip/
Dipaddress.c938 ifa->ifa_flags; in get_ifa_flags()
949 unsigned int ifa_flags; in print_addrinfo() local
968 ifa_flags = get_ifa_flags(ifa, rta_tb[IFA_FLAGS]); in print_addrinfo()
979 if ((filter.flags ^ ifa_flags) & filter.flagmask) in print_addrinfo()
1089 if (ifa_flags & IFA_F_SECONDARY) { in print_addrinfo()
1090 ifa_flags &= ~IFA_F_SECONDARY; in print_addrinfo()
1096 if (ifa_flags & IFA_F_TENTATIVE) { in print_addrinfo()
1097 ifa_flags &= ~IFA_F_TENTATIVE; in print_addrinfo()
1100 if (ifa_flags & IFA_F_DEPRECATED) { in print_addrinfo()
1101 ifa_flags &= ~IFA_F_DEPRECATED; in print_addrinfo()
[all …]
/external/libpcap/
Dfad-getad.c208 if (ifa->ifa_flags & IFF_BROADCAST && in pcap_findalldevs_interfaces()
216 if (ifa->ifa_flags & IFF_POINTOPOINT && in pcap_findalldevs_interfaces()
258 ifa->ifa_flags, addr, addr_size, netmask, addr_size, in pcap_findalldevs_interfaces()
/external/dhcpcd-6.8.2/
Dif.c202 int ifa_flags; in if_learnaddrs1() local
217 if (ifa->ifa_flags & IFF_POINTOPOINT) in if_learnaddrs1()
222 ifa_flags = if_addrflags(&addr->sin_addr, ifp); in if_learnaddrs1()
226 dst ? &dst->sin_addr : NULL, ifa_flags); in if_learnaddrs1()
239 ifa_flags = if_addrflags6(&sin6->sin6_addr, ifp); in if_learnaddrs1()
240 if (ifa_flags != -1) in if_learnaddrs1()
245 ifa_flags); in if_learnaddrs1()
372 if (ifa->ifa_flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) { in if_discover()
398 ifp->flags = ifa->ifa_flags; in if_discover()
Difaddrs.h18 unsigned int ifa_flags; member
Dif-bsd.c1168 int ifa_flags; in if_managelink() local
1303 ifa_flags = if_addrflags(&rt.dest, ifp); in if_managelink()
1304 if (ifa_flags == -1) in if_managelink()
1307 ifa_flags = 0; in if_managelink()
1310 &rt.dest, &rt.net, &rt.gate, ifa_flags); in if_managelink()
1324 ifa_flags = if_addrflags6(&ia6, ifp); in if_managelink()
1325 if (ifa_flags == -1) in if_managelink()
1328 ifa_flags = 0; in if_managelink()
1331 ifa_flags); in if_managelink()
Difaddrs.c62 ifa->ifa_flags = flags; in get_interface()
Dipv6.c587 int ifa_flags; in ipv6_checkaddrflags() local
590 ifa_flags = if_addrflags6(&ap->addr, ap->iface); in ipv6_checkaddrflags()
591 if (ifa_flags == -1) in ipv6_checkaddrflags()
594 else if (!(ifa_flags & IN6_IFF_TENTATIVE)) { in ipv6_checkaddrflags()
597 &ap->addr, ap->prefix_len, ifa_flags); in ipv6_checkaddrflags()
Dif-linux.c629 &addr, &net, &dest, ifa->ifa_flags); in link_addr()
645 &addr6, ifa->ifa_prefixlen, ifa->ifa_flags); in link_addr()
1458 nlm.ifa.ifa_flags |= IFA_F_TEMPORARY; in if_address6()
/external/webrtc/webrtc/base/
Difaddrs-android.h25 unsigned int ifa_flags; member
Difaddrs-android.cc63 ifaddr->ifa_flags = ifr.ifr_flags; in set_flags()
Dnetwork.cc409 if (!(cursor->ifa_flags & IFF_RUNNING)) { in ConvertIfAddrs()
442 if (cursor->ifa_flags & IFF_LOOPBACK) { in ConvertIfAddrs()
Dnetwork_unittest.cc125 if_addr->ifa_flags = IFF_RUNNING; in AddIpv6Address()
/external/libnl/include/linux/
Dif_addr.h10 __u8 ifa_flags; /* Flags */ member
/external/iproute2/include/linux/
Dif_addr.h10 __u8 ifa_flags; /* Flags */ member
/external/kernel-headers/original/uapi/linux/
Dif_addr.h10 __u8 ifa_flags; /* Flags */ member
/external/android-clat/
Dgetaddr.c63 if((targ_p->family == AF_INET6) && !(ifa_p->ifa_flags & IFA_F_SECONDARY)) { in getaddr_cb()
/external/avahi/avahi-core/
Diface-linux.c262 addr->deprecated = !!(ifaddrmsg->ifa_flags & IFA_F_DEPRECATED); in netlink_callback()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c174 if (m->ifa_flags&IFA_F_TENTATIVE) in recvaddrs()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h293 unsigned int ifa_flags; member
/external/libnl/lib/route/
Daddr.c211 addr->a_flags = ifa->ifa_flags; in addr_msg_parser()
/external/iputils/
Darping.c615 if (check_ifflags(ifa->ifa_flags, device.name != NULL) < 0) in find_device_by_ifaddrs()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1050 pIfAddr->ifa_index, pIfAddr->ifa_flags); in PrintNetLinkMsg()