Home
last modified time | relevance | path

Searched refs:ifi_index (Results 1 – 25 of 55) sorted by relevance

123

/external/iproute2/bridge/
Dvlan.c88 req.ifm.ifi_index = ll_name_to_index(d); in vlan_modify()
89 if (req.ifm.ifi_index == 0) { in vlan_modify()
162 static void print_vlan_port(FILE *fp, int ifi_index) in print_vlan_port() argument
167 ll_index_to_name(ifi_index)); in print_vlan_port()
171 ll_index_to_name(ifi_index)); in print_vlan_port()
208 if (filter_index && filter_index != ifm->ifi_index) in print_vlan()
217 ll_index_to_name(ifm->ifi_index)); in print_vlan()
221 print_vlan_info(fp, tb[IFLA_AF_SPEC], ifm->ifi_index); in print_vlan()
Dlink.c117 if (filter_index && filter_index != ifi->ifi_index) in print_linkinfo()
130 fprintf(fp, "%d: %s ", ifi->ifi_index, in print_linkinfo()
220 ifi->ifi_index); in print_linkinfo()
376 req.ifm.ifi_index = ll_name_to_index(d); in brlink_modify()
377 if (req.ifm.ifi_index == 0) { in brlink_modify()
/external/iproute2/ip/
Diptoken.c64 if (ifi->ifi_index == 0) in print_token()
66 if (ifindex > 0 && ifi->ifi_index != ifindex) in print_token()
83 ll_index_to_name(ifi->ifi_index)); in print_token()
137 if ((req.ifi.ifi_index = in iptoken_set()
Dlink_vti.c62 .i.ifi_index = ifi->ifi_index, in vti_parse_opt()
Dlink_vti6.c57 .i.ifi_index = ifi->ifi_index, in vti6_parse_opt()
Dlink_veth.c74 peer_ifm->ifi_index = index; in veth_parse_opt()
Diplink_vxcan.c76 peer_ifm->ifi_index = index; in vxcan_parse_opt()
Diplink.c249 .ifi_index = dev_index, in nl_get_ll_addr_len()
917 req.i.ifi_index = 0; in iplink_modify()
937 req.i.ifi_index = ll_name_to_index(dev); in iplink_modify()
938 if (req.i.ifi_index == 0) { in iplink_modify()
960 req.i.ifi_index = 0; in iplink_modify()
962 req.i.ifi_index = index; in iplink_modify()
Dipvrf.c520 if (vrf_filter.ifindex && vrf_filter.ifindex != ifi->ifi_index) in ipvrf_print()
536 ifi->ifi_index); in ipvrf_print()
/external/libnfnetlink/src/
Diftable.c71 hash = ifi_msg->ifi_index & 0xF; in iftable_add()
73 if (this->index == ifi_msg->ifi_index) { in iftable_add()
84 this->index = ifi_msg->ifi_index; in iftable_add()
130 hash = ifi_msg->ifi_index & 0xF; in iftable_del()
132 if (this->index == ifi_msg->ifi_index) { in iftable_del()
/external/iproute2/lib/
Dll_map.c96 im = ll_get_by_index(ifi->ifi_index); in ll_remember_index()
126 im->index = ifi->ifi_index; in ll_remember_index()
131 h = ifi->ifi_index & (IDXMAP_SIZE - 1); in ll_remember_index()
/external/libnl/lib/route/link/
Dveth.c62 peer->l_index = ifi->ifi_index; in veth_parse()
126 ifi.ifi_index = peer->l_index; in veth_put_attrs()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c170 ifi->ifi_index = index; in get_ifi_info_linuxv6()
324 ifi->ifi_index = if_nametoindex(ifr->ifr_name); in get_ifi_info()
329 ifi->ifi_index = ifrcopy.ifr_index; in get_ifi_info()
332 ifi->ifi_index = index++; /* SIOCGIFINDEX is broken on Solaris 2.5ish, so fake it */ in get_ifi_info()
DmDNSUNP.h91 int ifi_index; /* interface index */ member
/external/strace/tests-m32/
Dnlattr_ifla_xdp.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_port.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_brport.c59 .ifi_index = ifindex_lo(), in init_ifinfomsg()
/external/strace/tests-mx32/
Dnlattr_ifla_xdp.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_port.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_brport.c59 .ifi_index = ifindex_lo(), in init_ifinfomsg()
/external/strace/tests/
Dnlattr_ifla_xdp.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_port.c62 .ifi_index = ifindex_lo(), in init_ifinfomsg()
Dnlattr_ifla_brport.c59 .ifi_index = ifindex_lo(), in init_ifinfomsg()
/external/ltp/testcases/kernel/containers/share/
Dns_ifmove.c108 req.ifi.ifi_index = intf_index; in main()
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h98 int ifi_index; member

123