/external/iproute2/bridge/ |
D | vlan.c | 88 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()
|
D | link.c | 117 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/ |
D | iptoken.c | 64 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()
|
D | link_vti.c | 62 .i.ifi_index = ifi->ifi_index, in vti_parse_opt()
|
D | link_vti6.c | 57 .i.ifi_index = ifi->ifi_index, in vti6_parse_opt()
|
D | link_veth.c | 74 peer_ifm->ifi_index = index; in veth_parse_opt()
|
D | iplink_vxcan.c | 76 peer_ifm->ifi_index = index; in vxcan_parse_opt()
|
D | iplink.c | 249 .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()
|
D | ipvrf.c | 520 if (vrf_filter.ifindex && vrf_filter.ifindex != ifi->ifi_index) in ipvrf_print() 536 ifi->ifi_index); in ipvrf_print()
|
D | link_ip6tnl.c | 84 .i.ifi_index = ifi->ifi_index, in ip6tunnel_parse_opt()
|
D | ipaddress.c | 943 if (pfilter->ifindex && ifi->ifi_index != pfilter->ifindex) in print_linkinfo_brief() 950 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); in print_linkinfo_brief() 1069 if (filter.ifindex && ifi->ifi_index != filter.ifindex) in print_linkinfo() 1076 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); in print_linkinfo() 1107 print_int(PRINT_ANY, "ifindex", "%d: ", ifi->ifi_index); in print_linkinfo() 1701 if (ifa->ifa_index != ifi->ifi_index || in print_selected_addrinfo() 1883 if (ifa->ifa_index != ifi->ifi_index) in ipaddr_filter() 2287 if (len < 0 || (idx && idx != ifi->ifi_index)) in ipaddr_get_vf_rate()
|
D | iplink_vrf.c | 227 return ifi->ifi_index; in name_is_vrf()
|
/external/libnfnetlink/src/ |
D | iftable.c | 71 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/ |
D | ll_map.c | 96 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/ |
D | veth.c | 62 peer->l_index = ifi->ifi_index; in veth_parse() 126 ifi.ifi_index = peer->l_index; in veth_put_attrs()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 170 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()
|
D | mDNSUNP.h | 91 int ifi_index; /* interface index */ member
|
/external/strace/tests-m32/ |
D | nlattr_ifla.h | 55 .ifi_index = ifindex_lo(), in init_ifinfomsg()
|
/external/strace/tests/ |
D | nlattr_ifla.h | 55 .ifi_index = ifindex_lo(), in init_ifinfomsg()
|
/external/strace/tests-mx32/ |
D | nlattr_ifla.h | 55 .ifi_index = ifindex_lo(), in init_ifinfomsg()
|
/external/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 108 req.ifi.ifi_index = intf_index; in main()
|
/external/wpa_supplicant_8/src/drivers/ |
D | priv_netlink.h | 98 int ifi_index; member
|
D | netlink.c | 191 req.ifinfo.ifi_index = ifindex; in netlink_send_oper_ifla()
|
/external/android-clat/ |
D | setif.c | 112 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
|
/external/iproute2/testsuite/tools/ |
D | generate_nlmsg.c | 40 ifi->ifi_index = 1; in fill_vf_rate_test()
|