Home
last modified time | relevance | path

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

12

/external/dnsmasq/src/
Dnetlink.c202 if (rta->rta_type == IFA_LOCAL) in iface_enumerate()
204 else if (rta->rta_type == IFA_BROADCAST) in iface_enumerate()
220 if (rta->rta_type == IFA_ADDRESS) in iface_enumerate()
/external/iproute2/lib/
Dlibnetlink.c125 req.ext_req.rta_type = IFLA_EXT_MASK; in rtnl_wilddump_req_filter()
661 rta->rta_type = type; in addattr_l()
724 subrta->rta_type = type; in rta_addattr32()
742 subrta->rta_type = type; in rta_addattr_l()
792 type = rta->rta_type & ~flags; in parse_rtattr_flags()
808 if (rta->rta_type <= max && i < max) in parse_rtattr_byindex()
820 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.c601 if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_own_ifname()
700 if (attr->rta_type == IFLA_WIRELESS) { in wpa_driver_wext_event_rtm_newlink()
704 } else if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_event_rtm_newlink()
726 if (attr->rta_type == IFLA_IFNAME) { in wpa_driver_wext_event_rtm_dellink()
Ddriver_hostap.c883 if (attr->rta_type == IFLA_WIRELESS) { in hostapd_wireless_event_rtm_newlink()
/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/dhcpcd-6.8.2/
Dif-linux.c421 switch (rta->rta_type) { in if_copyrt()
486 switch (rta->rta_type) { in if_copyrt6()
614 switch (rta->rta_type) { in link_addr()
636 switch (rta->rta_type) { in link_addr()
718 switch (rta->rta_type) { in link_neigh()
771 switch (rta->rta_type) { in link_netlink()
888 rta->rta_type = type; in add_attr_l()
910 rta->rta_type = type; in add_attr_32()
1512 subrta->rta_type = type; in rta_add_attr_32()
1579 metrics->rta_type = RTA_METRICS; in if_route6()
/external/avahi/avahi-core/
Diface-linux.c116 switch(a->rta_type) { in netlink_callback()
205 switch(a->rta_type) { in netlink_callback()
/external/android-clat/
Dgetaddr.c61 switch(rta_p->rta_type) { in getaddr_cb()
/external/iproute2/ip/
Diproute.c792 rta->rta_type = RTA_MULTIPATH; in parse_nexthops()
852 mxrta->rta_type = RTA_METRICS; in iproute_modify()
1129 rta->rta_type = RTA_ENCAP; in iproute_modify()
1719 tb[RTA_PREFSRC]->rta_type = RTA_SRC; in iproute_get()
1726 tb[RTA_OIF]->rta_type = 0; in iproute_get()
1728 tb[RTA_GATEWAY]->rta_type = 0; in iproute_get()
1730 tb[RTA_VIA]->rta_type = 0; in iproute_get()
1732 tb[RTA_IIF]->rta_type = 0; in iproute_get()
Dipaddress.c322 if (vfinfo->rta_type != IFLA_VF_INFO) { in print_vfinfo()
323 fprintf(stderr, "BUG: rta type is %d\n", vfinfo->rta_type); in print_vfinfo()
339 if (tmp->rta_type != IFLA_VF_SPOOFCHK) in print_vfinfo()
351 if (tmp->rta_type != IFLA_VF_LINK_STATE) in print_vfinfo()
438 if (vfstats->rta_type != IFLA_VF_STATS) { in print_vf_stats64()
439 fprintf(stderr, "BUG: rta type is %d\n", vfstats->rta_type); in print_vf_stats64()
Dipntable.c89 parms_rta->rta_type = NDTA_PARMS; in ipntable_modify()
/external/webrtc/webrtc/base/
Difaddrs-android.cc177 if (rta->rta_type == IFA_ADDRESS) { in getifaddrs()
/external/iproute2/bridge/
Dvlan.c181 if (i->rta_type != IFLA_BRIDGE_VLAN_INFO) in print_vlan()
Dlink.c157 if (tb[IFLA_PROTINFO]->rta_type & NLA_F_NESTED) { in print_linkinfo()
/external/strace/
Dsocketutils.c256 switch (attr->rta_type) { in unix_parse_response()
/external/avahi/avahi-autoipd/
Diface-linux.c148 switch(a->rta_type) { in process_nlmsg()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c236 if (rta->rta_type == IFA_LOCAL) in find_interface()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c116 if (rta->rta_type <= max) in parse_rtattr()
117 tb[rta->rta_type] = rta; in parse_rtattr()
/external/libnl/include/linux/
Drtnetlink.h127 unsigned short rta_type; member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h158 unsigned short rta_type; member
/external/iproute2/include/linux/
Drtnetlink.h158 unsigned short rta_type; member
/external/iputils/ninfod/
Dni_ifaddrs.c444 switch (rta->rta_type) { in ni_ifaddrs()
/external/wpa_supplicant_8/src/ap/
Dvlan_full.c610 if (attr->rta_type == IFLA_IFNAME) { in vlan_read_ifnames()

12