Home
last modified time | relevance | path

Searched refs:rta_type (Results 1 – 25 of 37) sorted by relevance

12

/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc93 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/
Droute.c87 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()
Dip.c461 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/
Dnetlink.c185 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/
Dnetlink.c199 rta->rta_type = IFLA_LINKMODE; in netlink_send_oper_ifla()
208 rta->rta_type = IFLA_OPERSTATE; in netlink_send_oper_ifla()
Dpriv_netlink.h106 unsigned short rta_type; member
/external/ltp/testcases/kernel/crypto/
Daf_alg06.c31 .attr.rta_type = 1 /* CRYPTO_AUTHENC_KEYA_PARAM */, in run()
Dcrypto_user01.c50 switch (rta->rta_type) { in validate_attr()
/external/iproute2/lib/
Dlibnetlink.c222 .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/
Difaddrs_android.cc183 rta->rta_type == IFA_LOCAL) || in getifaddrs()
185 rta->rta_type == IFA_ADDRESS)) { in getifaddrs()
/external/libnfnetlink/src/
Drtnl.c99 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/
Dudpgso.c394 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/
Dns_ifmove.c112 rta->rta_type = IFLA_NET_NS_PID; in main()
/external/android-clat/
Dgetaddr.c60 switch (rta_p->rta_type) { in getaddr_cb()
/external/ltp/testcases/lib/
Dtst_net_iface_prefix.c81 if (retrta->rta_type == IFA_ADDRESS) { in read_iface_prefix()
/external/iproute2/bridge/
Dvlan.c276 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/
Diproute.c821 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()
Diplink_macvlan.c235 if (rta->rta_type != IFLA_MACVLAN_MACADDR || in macvlan_print_opt()
Diplink_bridge.c689 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()
Diplink.c1449 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/
Dsocketutils.c308 switch (attr->rta_type) { in unix_parse_response()
649 switch (attr->rta_type) { in genl_parse_families_response()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c120 if (rta->rta_type <= max) in parse_rtattr()
121 tb[rta->rta_type] = rta; in parse_rtattr()
/external/iproute2/include/uapi/linux/
Drtnetlink.h169 unsigned short rta_type; member
/external/iputils/ninfod/
Dni_ifaddrs.c444 switch (rta->rta_type) { in ni_ifaddrs()
/external/libnl/include/linux-private/linux/
Drtnetlink.h176 unsigned short rta_type; member

12