/external/openscreen/platform/impl/ |
D | network_interface_linux.cc | 93 if (rta->rta_type == IFLA_IFNAME) { in GetInterfaceAttributes() 96 } else if (rta->rta_type == IFLA_ADDRESS) { in GetInterfaceAttributes() 128 if (rta->rta_type == IFA_LABEL) { in GetIPAddressOrNull() 135 } else if (rta->rta_type == IFA_ADDRESS) { in GetIPAddressOrNull() 138 } else if (rta->rta_type == IFA_LOCAL) { in GetIPAddressOrNull()
|
/external/toybox/toys/pending/ |
D | route.c | 87 rt->rta_type = type; in addAttr() 170 switch (rteattr->rta_type) { in display_routes() 194 if (metric->rta_type == RTAX_ADVMSS) in display_routes() 196 else if (metric->rta_type == RTAX_WINDOW) in display_routes() 198 else if (metric->rta_type == RTAX_RTT) in display_routes()
|
D | ip.c | 461 subrta->rta_type = type; in add_varlen_rtattr_to_buffer() 485 rta->rta_type = type; in add_string_to_rtattr() 893 switch(attr->rta_type) { in get_link_info() 1013 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta; in print_addrinfo() 1416 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta; in ipaddr_print() 1519 if (rta->rta_type <= RTA_MAX) mxrta[rta->rta_type] = rta; in print_rta_metrics() 1611 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info() 1715 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info() 1849 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in route_get() 1852 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get() [all …]
|
/external/dnsmasq/src/ |
D | netlink.c | 185 if (rta->rta_type == IFA_LOCAL) in iface_enumerate() 187 else if (rta->rta_type == IFA_BROADCAST) in iface_enumerate() 201 if (rta->rta_type == IFA_ADDRESS) addrp = ((struct in6_addr*) (rta + 1)); in iface_enumerate()
|
/external/wpa_supplicant_8/src/drivers/ |
D | netlink.c | 199 rta->rta_type = IFLA_LINKMODE; in netlink_send_oper_ifla() 208 rta->rta_type = IFLA_OPERSTATE; in netlink_send_oper_ifla()
|
D | priv_netlink.h | 106 unsigned short rta_type; member
|
/external/ltp/testcases/kernel/crypto/ |
D | af_alg06.c | 31 .attr.rta_type = 1 /* CRYPTO_AUTHENC_KEYA_PARAM */, in run()
|
D | crypto_user01.c | 50 switch (rta->rta_type) { in validate_attr()
|
/external/iproute2/lib/ |
D | libnetlink.c | 222 .ext_req.rta_type = IFLA_EXT_MASK, in rtnl_wilddump_req_filter() 873 rta->rta_type = type; in addattr_l() 941 subrta->rta_type = type; in rta_addattr32() 961 subrta->rta_type = type; in rta_addattr_l() 1012 type = rta->rta_type & ~flags; in parse_rtattr_flags() 1030 if (rta->rta_type <= max && i < max) in parse_rtattr_byindex() 1043 if (rta->rta_type == type) in parse_rtattr_one()
|
/external/webrtc/rtc_base/ |
D | ifaddrs_android.cc | 183 rta->rta_type == IFA_LOCAL) || in getifaddrs() 185 rta->rta_type == IFA_ADDRESS)) { in getifaddrs()
|
/external/libnfnetlink/src/ |
D | rtnl.c | 99 if (rta->rta_type <= max) in rtnl_parse_rtattr() 100 tb[rta->rta_type] = rta; in rtnl_parse_rtattr()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso.c | 394 rta->rta_type = RTA_DST; in set_route_mtu() 403 rta->rta_type = RTA_OIF; in set_route_mtu() 410 rta->rta_type = RTA_METRICS; in set_route_mtu() 416 rta->rta_type = RTAX_MTU; in set_route_mtu()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 112 rta->rta_type = IFLA_NET_NS_PID; in main()
|
/external/android-clat/ |
D | getaddr.c | 60 switch (rta_p->rta_type) { in getaddr_cb()
|
/external/ltp/testcases/lib/ |
D | tst_net_iface_prefix.c | 81 if (retrta->rta_type == IFA_ADDRESS) { in read_iface_prefix()
|
/external/iproute2/bridge/ |
D | vlan.c | 276 if (i->rta_type != BRIDGE_XSTATS_VLAN) in print_vlan_stats_attr() 419 if (i->rta_type != IFLA_BRIDGE_VLAN_INFO) in print_vlan_info()
|
/external/iproute2/ip/ |
D | iproute.c | 821 rta->rta_type = RTA_MULTIPATH; in parse_nexthops() 878 mxrta->rta_type = RTA_METRICS; in iproute_modify() 1198 rta->rta_type = RTA_ENCAP; in iproute_modify() 1829 tb[RTA_PREFSRC]->rta_type = RTA_SRC; in iproute_get() 1836 tb[RTA_OIF]->rta_type = 0; in iproute_get() 1838 tb[RTA_GATEWAY]->rta_type = 0; in iproute_get() 1840 tb[RTA_VIA]->rta_type = 0; in iproute_get() 1842 tb[RTA_IIF]->rta_type = 0; in iproute_get()
|
D | iplink_macvlan.c | 235 if (rta->rta_type != IFLA_MACVLAN_MACADDR || in macvlan_print_opt()
|
D | iplink_bridge.c | 689 if (xstats_print_attr && i->rta_type != xstats_print_attr) in bridge_print_stats_attr() 691 switch (i->rta_type) { in bridge_print_stats_attr()
|
D | iplink.c | 1449 i->rta_type != preferred_family) in print_af_stats_attr() 1458 switch (i->rta_type) { in print_af_stats_attr() 1463 fprintf(fp, " unknown af(%d)\n", i->rta_type); in print_af_stats_attr()
|
/external/strace/ |
D | socketutils.c | 308 switch (attr->rta_type) { in unix_parse_response() 649 switch (attr->rta_type) { in genl_parse_families_response()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 120 if (rta->rta_type <= max) in parse_rtattr() 121 tb[rta->rta_type] = rta; in parse_rtattr()
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 169 unsigned short rta_type; member
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 444 switch (rta->rta_type) { in ni_ifaddrs()
|
/external/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 176 unsigned short rta_type; member
|