/external/iproute2/ip/ |
iptoken.c | 65 if (ifi->ifi_index == 0) 67 if (ifindex > 0 && ifi->ifi_index != ifindex) 87 fprintf(fp, "dev %s ", ll_index_to_name(ifi->ifi_index)); 148 if ((req.ifi.ifi_index =
|
link_veth.c | 74 peer_ifm->ifi_index = index;
|
link_vti.c | 72 req.i.ifi_index = ifi->ifi_index;
|
link_vti6.c | 68 req.i.ifi_index = ifi->ifi_index;
|
link_ip6tnl.c | 90 req.i.ifi_index = ifi->ifi_index;
|
link_gre.c | 86 req.i.ifi_index = ifi->ifi_index;
|
link_gre6.c | 92 req.i.ifi_index = ifi->ifi_index;
|
link_iptnl.c | 92 req.i.ifi_index = ifi->ifi_index;
|
iplink.c | 714 req.i.ifi_index = 0; 734 req.i.ifi_index = ll_name_to_index(dev); 735 if (req.i.ifi_index == 0) { 757 req.i.ifi_index = 0; 759 req.i.ifi_index = index;
|
ipaddress.c | 630 if (filter.ifindex && ifi->ifi_index != filter.ifindex) 637 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); 729 if (filter.ifindex && ifi->ifi_index != filter.ifindex) 736 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); 771 fprintf(fp, "%d: ", ifi->ifi_index); 1186 if (ifa->ifa_index != ifi->ifi_index || [all...] |
/external/iproute2/bridge/ |
vlan.c | 86 req.ifm.ifi_index = ll_name_to_index(d); 87 if (req.ifm.ifi_index == 0) { 164 if (filter_index && filter_index != ifm->ifi_index) 171 fprintf(fp, "%s\tNone\n", ll_index_to_name(ifm->ifi_index)); 177 fprintf(fp, "%s", ll_index_to_name(ifm->ifi_index));
|
link.c | 117 if (filter_index && filter_index != ifi->ifi_index) 130 fprintf(fp, "%d: %s ", ifi->ifi_index, 361 req.ifm.ifi_index = ll_name_to_index(d); 362 if (req.ifm.ifi_index == 0) {
|
/external/libnfnetlink/src/ |
iftable.c | 71 hash = ifi_msg->ifi_index & 0xF; 73 if (this->index == ifi_msg->ifi_index) { 84 this->index = ifi_msg->ifi_index; 130 hash = ifi_msg->ifi_index & 0xF; 132 if (this->index == ifi_msg->ifi_index) {
|
/external/iproute2/lib/ |
ll_map.c | 96 im = ll_get_by_index(ifi->ifi_index); 127 im->index = ifi->ifi_index; 132 h = ifi->ifi_index & (IDXMAP_SIZE - 1);
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.h | 91 int ifi_index; /* interface index */ member in struct:ifi_info
|
mDNSUNP.c | 170 ifi->ifi_index = index; 324 ifi->ifi_index = if_nametoindex(ifr->ifr_name); 329 ifi->ifi_index = ifrcopy.ifr_index; 332 ifi->ifi_index = index++; /* SIOCGIFINDEX is broken on Solaris 2.5ish, so fake it */
|
/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 98 int ifi_index; member in struct:ifinfomsg
|
netlink.c | 191 req.ifinfo.ifi_index = ifindex;
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 168 new_addr->interface_index = ifi->ifi_index; 178 new_addr->SetPacketAttributes(ifi->ifi_index, ifi->ifi_type, RTA_PAYLOAD(rta)); 183 new_addr->SetPacketAttributes(ifi->ifi_index, ifi->ifi_type, RTA_PAYLOAD(rta));
|
net_if.cpp | 103 new_link->data.if_index = ifi->ifi_index;
|
/external/android-clat/ |
setif.c | 107 if (!(ifi.ifi_index = if_nametoindex(ifname))) {
|
/external/ltp/testcases/kernel/containers/share/ |
ns_ifmove.c | 108 req.ifi.ifi_index = intf_index;
|
/external/libnl/lib/route/link/ |
veth.c | 62 peer->l_index = ifi->ifi_index; 126 ifi.ifi_index = peer->l_index;
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Netlink.cpp | 640 IPACMDBG("RTM_NEWLINK, ifi_index:%d\n", msg_ptr->nl_link_info.metainfo.ifi_index); 655 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); 668 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; 676 msg_ptr->nl_link_info.metainfo.ifi_index); 705 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; 707 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); 713 IPACMDBG("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); 732 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; 734 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); [all...] |
/external/libnl/include/linux-private/linux/ |
rtnetlink.h | 427 int ifi_index; /* Link index */ member in struct:ifinfomsg
|