/external/strace/ |
D | rtnl_addr.c | 53 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/ |
D | nlattr_ifaddrmsg.c | 43 ifa_family = af; \ 48 uint8_t ifa_family; variable 62 .ifa_family = ifa_family, in init_ifaddrmsg()
|
/external/strace/tests/ |
D | nlattr_ifaddrmsg.c | 43 ifa_family = af; \ 48 uint8_t ifa_family; variable 62 .ifa_family = ifa_family, in init_ifaddrmsg()
|
D | netlink_route.c | 230 .ifa_family = AF_UNIX, in test_rtnl_addr()
|
/external/strace/tests-m32/ |
D | nlattr_ifaddrmsg.c | 43 ifa_family = af; \ 48 uint8_t ifa_family; variable 62 .ifa_family = ifa_family, in init_ifaddrmsg()
|
/external/webrtc/rtc_base/ |
D | ifaddrs_android.cc | 74 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/ |
D | network_interfaces_getifaddrs_android.cc | 84 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()
|
D | address_tracker_linux_test_util.cc | 79 msg.ifa_family = family; in MakeAddrMessageWithCacheInfo()
|
D | network_interfaces_linux.cc | 155 if (it.second.ifa_family == AF_INET6) { in GetNetworkListImpl()
|
/external/iproute2/ip/ |
D | ipaddress.c | 1414 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/ |
D | getifaddrs.c | 168 …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()
|
D | netlink.h | 64 uint8_t ifa_family; member
|
/external/openscreen/platform/impl/ |
D | network_interface_linux.cc | 273 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/ |
D | color.c | 125 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/ |
D | ip.c | 1021 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/ |
D | color.h | 18 enum color_attr ifa_family_color(__u8 ifa_family);
|
/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/ |
D | netlink.cc | 220 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()
|
D | rtnetlink_message_test.cc | 150 EXPECT_EQ(interface_address_header.ifa_family, parsed_header->ifa_family); in TEST()
|
D | netlink_test.cc | 191 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/ |
D | if_addr.h | 9 __u8 ifa_family; member
|
/external/libnl/include/linux-private/linux/ |
D | if_addr.h | 9 __u8 ifa_family; member
|
/external/kernel-headers/original/uapi/linux/ |
D | if_addr.h | 9 __u8 ifa_family; member
|
/external/dnsmasq/src/ |
D | netlink.c | 177 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/ |
D | grabmyaddr.c | 174 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/ |
D | tst_net_iface_prefix.c | 64 msg.addrmsg.ifa_family = family; in read_iface_prefix()
|