/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/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/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
|
D | driver_wext.c | 590 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/ |
D | udpgso.c | 403 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/ |
D | ip.c | 435 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/ |
D | rtnl.c | 99 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/ |
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/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()
|
D | link.c | 158 if (tb[IFLA_PROTINFO]->rta_type & NLA_F_NESTED) { in print_linkinfo()
|
/external/ltp/testcases/lib/ |
D | tst_net_iface_prefix.c | 93 if (retrta->rta_type == IFA_ADDRESS) { in read_iface_prefix()
|
/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/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 50 switch (rta->rta_type) { in validate_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/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 177 if (rta->rta_type == IFA_ADDRESS) { in getifaddrs()
|
/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/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 139 unsigned short rta_type; member
|
/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/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 176 unsigned short rta_type; member
|