Home
last modified time | relevance | path

Searched refs:ifa_family (Results 1 – 25 of 45) 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-mx32/
Dnlattr_ifaddrmsg.c43 ifa_family = af; \
48 uint8_t ifa_family; variable
62 .ifa_family = ifa_family, in init_ifaddrmsg()
/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()
/external/webrtc/rtc_base/
Difaddrs_android.cc74 if (msg->ifa_family == AF_INET) { in set_addresses()
79 } else if (msg->ifa_family == AF_INET6) { in set_addresses()
136 if (make_prefixes(ifaddr, msg->ifa_family, msg->ifa_prefixlen) != 0) { in populate_ifaddrs()
185 if ((address_msg->ifa_family == AF_INET && in getifaddrs()
187 (address_msg->ifa_family == AF_INET6 && in getifaddrs()
/external/cronet/net/base/
Dnetwork_interfaces_getifaddrs_android.cc84 if (msg->ifa_family == AF_INET) { in set_addresses()
89 } else if (msg->ifa_family == AF_INET6) { in set_addresses()
146 if (make_prefixes(ifaddr, msg->ifa_family, msg->ifa_prefixlen) != 0) { in populate_ifaddrs()
197 if ((address_msg->ifa_family == AF_INET && in Getifaddrs()
199 (address_msg->ifa_family == AF_INET6 && in Getifaddrs()
Daddress_tracker_linux_test_util.cc79 msg.ifa_family = family; in MakeAddrMessageWithCacheInfo()
Dnetwork_interfaces_linux.cc155 if (it.second.ifa_family == AF_INET6) { in GetNetworkListImpl()
/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/musl/src/network/
Dgetifaddrs.c168 …copy_addr(&ifs->ifa.ifa_dstaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), ifa-… in netlink_msg_to_ifaddr()
170 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr()
173 …copy_addr(&ifs->ifa.ifa_broadaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), if… in netlink_msg_to_ifaddr()
183 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr()
194 gen_netmask(&ifs->ifa.ifa_netmask, ifa->ifa_family, &ifs->netmask, ifa->ifa_prefixlen); in netlink_msg_to_ifaddr()
Dnetlink.h64 uint8_t ifa_family; member
/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc273 request.msg.ifa_family = AF_UNSPEC; in PopulateSubnetsOrClearList()
344 if (interface_address->ifa_family == AF_INET || in PopulateSubnetsOrClearList()
345 interface_address->ifa_family == AF_INET6) { in PopulateSubnetsOrClearList()
348 interface_address->ifa_family == AF_INET in PopulateSubnetsOrClearList()
358 << 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.c1021 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; in print_addrinfo()
1047 if (ifa->ifa_family == AF_INET) strcpy(family, " inet "); in print_addrinfo()
1048 else if (ifa->ifa_family == AF_INET6) strcpy(family, " inet6 "); in print_addrinfo()
1049 else sprintf(family, " family %d", ifa->ifa_family); in print_addrinfo()
1052 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1060 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1070 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1076 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1081 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1085 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/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/
Dnetlink.cc220 if (interface_address->ifa_family != AF_INET && in Run()
221 interface_address->ifa_family != AF_INET6) { in Run()
223 interface_address->ifa_family); in Run()
257 switch (interface_address->ifa_family) { in Run()
277 interface_address->ifa_family); in Run()
Drtnetlink_message_test.cc150 EXPECT_EQ(interface_address_header.ifa_family, parsed_header->ifa_family); in TEST()
Dnetlink_test.cc191 msg->ifa_family = family; in CreateIfaddrmsg()
370 EXPECT_EQ(AF_INET6, ifa->ifa_family); in TEST_F()
447 EXPECT_EQ(AF_INET, ifa->ifa_family); in TEST_F()
/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/ltp/testcases/lib/
Dtst_net_iface_prefix.c64 msg.addrmsg.ifa_family = family; in read_iface_prefix()

12