Home
last modified time | relevance | path

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

12

/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/strace/
Drtnl_addr.c85 uint32_t ifa_flags; in decode_ifa_flags() local
87 if (len < sizeof(ifa_flags)) in decode_ifa_flags()
89 else if (!umove_or_printaddr(tcp, addr, &ifa_flags)) in decode_ifa_flags()
90 printflags(ifaddrflags, ifa_flags, "IFA_F_???"); in decode_ifa_flags()
120 PRINT_FIELD_FLAGS(", ", ifaddr, ifa_flags, in DECL_NETLINK_ROUTE_DECODER()
/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()
/external/strace/tests/
Dnlattr_ifaddrmsg.c63 .ifa_flags = IFA_F_SECONDARY, in init_ifaddrmsg()
147 const uint32_t ifa_flags = IFA_F_SECONDARY | IFA_F_PERMANENT; in main() local
150 IFA_FLAGS, pattern, ifa_flags, in main()
/external/libpcap/
Dfad-getad.c248 if (ifa->ifa_flags & IFF_BROADCAST && in pcap_findalldevs_interfaces()
256 if (ifa->ifa_flags & IFF_POINTOPOINT && in pcap_findalldevs_interfaces()
269 if_flags_to_pcap_flags(ifa->ifa_name, ifa->ifa_flags), in pcap_findalldevs_interfaces()
/external/strace/tests-mx32/
Dnlattr_ifaddrmsg.c63 .ifa_flags = IFA_F_SECONDARY, in init_ifaddrmsg()
147 const uint32_t ifa_flags = IFA_F_SECONDARY | IFA_F_PERMANENT; in main() local
150 IFA_FLAGS, pattern, ifa_flags, in main()
/external/strace/tests-m32/
Dnlattr_ifaddrmsg.c63 .ifa_flags = IFA_F_SECONDARY, in init_ifaddrmsg()
147 const uint32_t ifa_flags = IFA_F_SECONDARY | IFA_F_PERMANENT; in main() local
150 IFA_FLAGS, pattern, ifa_flags, in main()
/external/libcups/cups/
Dgetifaddrs.c132 temp->ifa_flags = request.ifr_flags; in _cups_getifaddrs()
156 if (temp->ifa_flags & IFF_BROADCAST) in _cups_getifaddrs()
174 else if (temp->ifa_flags & IFF_POINTOPOINT) in _cups_getifaddrs()
Dhttp-private.h407 unsigned int ifa_flags; /* Flags (up, point-to-point, etc.) */ member
/external/iproute2/ip/
Dipaddress.c1377 ifa->ifa_flags; in get_ifa_flags()
1483 unsigned int ifa_flags; in print_addrinfo() local
1502 ifa_flags = get_ifa_flags(ifa, rta_tb[IFA_FLAGS]); in print_addrinfo()
1513 if ((filter.flags ^ ifa_flags) & filter.flagmask) in print_addrinfo()
1638 print_ifa_flags(fp, ifa, ifa_flags); in print_addrinfo()
1669 if (ifa_flags & IFA_F_DEPRECATED) in print_addrinfo()
1881 unsigned int ifa_flags; in ipaddr_filter() local
1892 ifa_flags = get_ifa_flags(ifa, tb[IFA_FLAGS]); in ipaddr_filter()
1894 if ((filter.flags ^ ifa_flags) & filter.flagmask) in ipaddr_filter()
2358 unsigned int ifa_flags = 0; in ipaddr_modify() local
[all …]
/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()
/external/libnl/include/linux-private/linux/
Dif_addr.h10 __u8 ifa_flags; /* Flags */ member
/external/iproute2/include/uapi/linux/
Dif_addr.h11 __u8 ifa_flags; /* Flags */ member
/external/kernel-headers/original/uapi/linux/
Dif_addr.h11 __u8 ifa_flags; /* Flags */ member
/external/android-clat/
Dgetaddr.c64 if((targ_p->family == AF_INET6) && !(ifa_p->ifa_flags & IFA_F_SECONDARY)) { in getaddr_cb()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.h172 u_int ifa_flags; member
DmDNSWin32.c1889 …if (ifa->ifa_addr->sa_family == AF_INET && !SetupAddr(&addr, ifa->ifa_addr) && !(ifa->ifa_flags & … in SetReverseMapSearchDomainList()
2479 …if( !p->ifa_addr || ( p->ifa_addr->sa_family != AF_INET ) || ( ( p->ifa_flags & flagMask ) != flag… in SetupInterfaceList()
2483 if( p->ifa_flags & IFF_LOOPBACK ) in SetupInterfaceList()
2534 …if( !p->ifa_addr || ( p->ifa_addr->sa_family != AF_INET6 ) || ( ( p->ifa_flags & flagMask ) != fla… in SetupInterfaceList()
2538 if( p->ifa_flags & IFF_LOOPBACK ) in SetupInterfaceList()
2588 if( !p->ifa_addr || ( ( p->ifa_flags & flagMask ) != flagTest ) ) in SetupInterfaceList()
2767 …ifd->interfaceInfo.McastTxRx = ( ( inIFA->ifa_flags & IFF_MULTICAST ) && !( inIFA->ifa_flags & I… in SetupInterface()
3678 ifa->ifa_flags = 0; in getifaddrs_ipv6()
3679 if( iaa->OperStatus == IfOperStatusUp ) ifa->ifa_flags |= IFF_UP; in getifaddrs_ipv6()
3680 if( iaa->IfType == IF_TYPE_SOFTWARE_LOOPBACK ) ifa->ifa_flags |= IFF_LOOPBACK; in getifaddrs_ipv6()
[all …]

12