Home
last modified time | relevance | path

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

12

/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/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/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
Ddriver_wext.c590 if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_own_ifname()
689 if (attr->rta_type == IFLA_WIRELESS) { in wpa_driver_wext_event_rtm_newlink()
693 } else if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_event_rtm_newlink()
715 if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_event_rtm_dellink()
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso.c403 rta->rta_type = RTA_DST; in set_route_mtu()
412 rta->rta_type = RTA_OIF; in set_route_mtu()
419 rta->rta_type = RTA_METRICS; in set_route_mtu()
425 rta->rta_type = RTAX_MTU; in set_route_mtu()
/external/toybox/toys/pending/
Dip.c435 rta->rta_type = type; in add_string_to_rtattr()
843 switch(attr->rta_type) { in get_link_info()
963 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta; in print_addrinfo()
1366 if (rta->rta_type <= IFA_MAX) rta_tb[rta->rta_type] = rta; in ipaddr_print()
1504 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info()
1604 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info()
1738 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in route_get()
1741 attr[RTA_PREFSRC]->rta_type = RTA_SRC; in route_get()
1745 if (!odev && attr[RTA_OIF]) attr[RTA_OIF]->rta_type = 0; in route_get()
1746 if (attr[RTA_GATEWAY]) attr[RTA_GATEWAY]->rta_type = 0; in route_get()
[all …]
/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/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/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()
Dlink.c158 if (tb[IFLA_PROTINFO]->rta_type & NLA_F_NESTED) { in print_linkinfo()
/external/ltp/testcases/lib/
Dtst_net_iface_prefix.c93 if (retrta->rta_type == IFA_ADDRESS) { in read_iface_prefix()
/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/ltp/testcases/kernel/crypto/
Dcrypto_user01.c50 switch (rta->rta_type) { in validate_attr()
/external/strace/
Dsocketutils.c308 switch (attr->rta_type) { in unix_parse_response()
649 switch (attr->rta_type) { in genl_parse_families_response()
/external/webrtc/webrtc/base/
Difaddrs-android.cc177 if (rta->rta_type == IFA_ADDRESS) { in getifaddrs()
/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/libnl/include/linux-private/linux/
Drtnetlink.h139 unsigned short rta_type; member
/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/kernel-headers/original/uapi/linux/
Drtnetlink.h176 unsigned short rta_type; member

12