Home
last modified time | relevance | path

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

12

/external/strace/
Drtnl_addr.c53 decode_inet_addr(tcp, addr, len, ifaddr->ifa_family, NULL); in decode_ifa_address()
108 struct ifaddrmsg ifaddr = { .ifa_family = family }; in DECL_NETLINK_ROUTE_DECODER()
109 size_t offset = sizeof(ifaddr.ifa_family); in DECL_NETLINK_ROUTE_DECODER()
112 PRINT_FIELD_XVAL("{", ifaddr, ifa_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
/external/strace/tests/
Dnlattr_ifaddrmsg.c43 ifa_family = af; \
48 uint8_t ifa_family; variable
62 .ifa_family = ifa_family, in init_ifaddrmsg()
Dnetlink_route.c230 .ifa_family = AF_UNIX, in test_rtnl_addr()
/external/strace/tests-m32/
Dnlattr_ifaddrmsg.c43 ifa_family = af; \
48 uint8_t ifa_family; variable
62 .ifa_family = ifa_family, in init_ifaddrmsg()
Dnetlink_route.c230 .ifa_family = AF_UNIX, in test_rtnl_addr()
/external/strace/tests-mx32/
Dnlattr_ifaddrmsg.c43 ifa_family = af; \
48 uint8_t ifa_family; variable
62 .ifa_family = ifa_family, in init_ifaddrmsg()
Dnetlink_route.c230 .ifa_family = AF_UNIX, in test_rtnl_addr()
/external/webrtc/rtc_base/
Difaddrs_android.cc72 if (msg->ifa_family == AF_INET) { in set_addresses()
77 } else if (msg->ifa_family == AF_INET6) { in set_addresses()
134 if (make_prefixes(ifaddr, msg->ifa_family, msg->ifa_prefixlen) != 0) { in populate_ifaddrs()
182 if ((address_msg->ifa_family == AF_INET && in getifaddrs()
184 (address_msg->ifa_family == AF_INET6 && in getifaddrs()
/external/iproute2/ip/
Dipaddress.c1414 ifa->ifa_family == AF_INET6) { in print_ifa_flags()
1528 inet_prefix dst = { .family = ifa->ifa_family }; in print_addrinfo()
1536 if (filter.family && filter.family != ifa->ifa_family) in print_addrinfo()
1573 int family = ifa->ifa_family; in print_addrinfo()
1575 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1577 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
1579 else if (ifa->ifa_family == AF_DECnet) in print_addrinfo()
1581 else if (ifa->ifa_family == AF_IPX) in print_addrinfo()
1591 ifa_family_color(ifa->ifa_family), in print_addrinfo()
1593 format_host_rta(ifa->ifa_family, in print_addrinfo()
[all …]
/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc270 request.msg.ifa_family = AF_UNSPEC; in PopulateSubnetsOrClearList()
338 if (interface_address->ifa_family == AF_INET || in PopulateSubnetsOrClearList()
339 interface_address->ifa_family == AF_INET6) { in PopulateSubnetsOrClearList()
342 interface_address->ifa_family == AF_INET in PopulateSubnetsOrClearList()
352 << interface_address->ifa_family; in PopulateSubnetsOrClearList()
/external/iproute2/lib/
Dcolor.c125 enum color_attr ifa_family_color(__u8 ifa_family) in ifa_family_color() argument
127 switch (ifa_family) { in ifa_family_color()
/external/toybox/toys/pending/
Dip.c1020 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; in print_addrinfo()
1046 if (ifa->ifa_family == AF_INET) strcpy(family, " inet "); in print_addrinfo()
1047 else if (ifa->ifa_family == AF_INET6) strcpy(family, " inet6 "); in print_addrinfo()
1048 else sprintf(family, " family %d", ifa->ifa_family); in print_addrinfo()
1051 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1059 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1069 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1075 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1080 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1084 if (TT.singleline && (ifa->ifa_family == AF_INET)) xputc('\n'); in print_addrinfo()
[all …]
/external/iproute2/include/
Dcolor.h18 enum color_attr ifa_family_color(__u8 ifa_family);
/external/iproute2/include/uapi/linux/
Dif_addr.h9 __u8 ifa_family; member
/external/libnl/include/linux-private/linux/
Dif_addr.h9 __u8 ifa_family; member
/external/kernel-headers/original/uapi/linux/
Dif_addr.h9 __u8 ifa_family; member
/external/dnsmasq/src/
Dnetlink.c177 if (ifa->ifa_family == AF_INET) { in iface_enumerate()
198 else if (ifa->ifa_family == AF_INET6) { in iface_enumerate()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c174 if (m->ifa_family != AF_INET && in recvaddrs()
175 m->ifa_family != AF_INET6) in recvaddrs()
196 I->ifa_addr->sa_family = m->ifa_family; in recvaddrs()
197 if (m->ifa_family == AF_INET) { in recvaddrs()
/external/android-clat/
Dgetaddr.c113 ifa.ifa_family = targ.family; in getinterface_ip()
Dsetif.c61 ifa.ifa_family = family; in add_address()
/external/ltp/testcases/lib/
Dtst_net_iface_prefix.c63 msg.addrmsg.ifa_family = family; in read_iface_prefix()
/external/usrsctp/usrsctplib/
Duser_recv_thread.c230 switch (rtmsg->ifa_family) {
234 sa->sin_family = rtmsg->ifa_family;
243 sa6->sin6_family = rtmsg->ifa_family;
250 SCTPDBG(SCTP_DEBUG_USR, "Address family %d not supported.\n", rtmsg->ifa_family);
/external/libnl/lib/route/
Daddr.c218 addr->a_family = family = ifa->ifa_family; in addr_msg_parser()
625 .ifa_family = tmpl->a_family, in build_addr_msg()
/external/iputils/ninfod/
Dni_ifaddrs.c409 nlm_family = ifam->ifa_family; in ni_ifaddrs()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1049 printf("ifaddrmsg family=%d, index=%d, flags=0x%x\n", pIfAddr->ifa_family, in PrintNetLinkMsg()

12