/external/iproute2/bridge/ |
D | vlan.c | 86 req.ifm.ifi_index = ll_name_to_index(d); in vlan_modify() 87 if (req.ifm.ifi_index == 0) { in vlan_modify() 164 if (filter_index && filter_index != ifm->ifi_index) in print_vlan() 171 fprintf(fp, "%s\tNone\n", ll_index_to_name(ifm->ifi_index)); in print_vlan() 177 fprintf(fp, "%s", ll_index_to_name(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() 361 req.ifm.ifi_index = ll_name_to_index(d); in brlink_modify() 362 if (req.ifm.ifi_index == 0) { in brlink_modify()
|
D | fdb.c | 219 req.ifm.ifi_index = filter_index; in fdb_show()
|
/external/iproute2/ip/ |
D | iptoken.c | 65 if (ifi->ifi_index == 0) in print_token() 67 if (ifindex > 0 && ifi->ifi_index != ifindex) in print_token() 87 fprintf(fp, "dev %s ", ll_index_to_name(ifi->ifi_index)); in print_token() 148 if ((req.ifi.ifi_index = in iptoken_set()
|
D | link_vti6.c | 68 req.i.ifi_index = ifi->ifi_index; in vti6_parse_opt()
|
D | link_vti.c | 72 req.i.ifi_index = ifi->ifi_index; in vti_parse_opt()
|
D | link_veth.c | 74 peer_ifm->ifi_index = index; in veth_parse_opt()
|
D | link_ip6tnl.c | 90 req.i.ifi_index = ifi->ifi_index; in ip6tunnel_parse_opt()
|
D | iplink.c | 714 req.i.ifi_index = 0; in iplink_modify() 734 req.i.ifi_index = ll_name_to_index(dev); in iplink_modify() 735 if (req.i.ifi_index == 0) { in iplink_modify() 757 req.i.ifi_index = 0; in iplink_modify() 759 req.i.ifi_index = index; in iplink_modify()
|
D | link_gre6.c | 92 req.i.ifi_index = ifi->ifi_index; in gre_parse_opt()
|
D | ipaddress.c | 630 if (filter.ifindex && ifi->ifi_index != filter.ifindex) in print_linkinfo_brief() 637 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); in print_linkinfo_brief() 729 if (filter.ifindex && ifi->ifi_index != filter.ifindex) in print_linkinfo() 736 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); in print_linkinfo() 771 fprintf(fp, "%d: ", ifi->ifi_index); in print_linkinfo() 1186 if (ifa->ifa_index != ifi->ifi_index || in print_selected_addrinfo() 1350 if (ifa->ifa_index != ifi->ifi_index) in ipaddr_filter() 1714 if (len < 0 || (idx && idx != ifi->ifi_index)) in ipaddr_get_vf_rate()
|
D | link_iptnl.c | 92 req.i.ifi_index = ifi->ifi_index; in iptunnel_parse_opt()
|
D | link_gre.c | 86 req.i.ifi_index = ifi->ifi_index; in gre_parse_opt()
|
/external/iproute2/lib/ |
D | ll_map.c | 96 im = ll_get_by_index(ifi->ifi_index); in ll_remember_index() 127 im->index = ifi->ifi_index; in ll_remember_index() 132 h = ifi->ifi_index & (IDXMAP_SIZE - 1); in ll_remember_index()
|
/external/avahi/avahi-core/ |
D | iface-linux.c | 93 if (!(hw = avahi_interface_monitor_get_hw_interface(m, ifinfomsg->ifi_index))) in netlink_callback() 100 if (!(hw = avahi_hw_interface_new(m, (AvahiIfIndex) ifinfomsg->ifi_index))) in netlink_callback() 170 … if (!(hw = avahi_interface_monitor_get_hw_interface(m, (AvahiIfIndex) ifinfomsg->ifi_index))) in netlink_callback()
|
/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
|
D | mDNSPosix.c | 975 if (SetupOneInterface(m, i->ifi_addr, i->ifi_netmask, i->ifi_name, i->ifi_index) == 0) in SetupInterfaceList() 989 …Loopback->ifi_addr, firstLoopback->ifi_netmask, firstLoopback->ifi_name, firstLoopback->ifi_index); in SetupInterfaceList() 1043 pIfInfo->ifi_type, pIfInfo->ifi_index, pIfInfo->ifi_flags, pIfInfo->ifi_change); in PrintNetLinkMsg() 1099 result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index; in ProcessRoutingNotification()
|
/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 | 107 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
|
/external/avahi/avahi-autoipd/ |
D | iface-linux.c | 111 if (ifi->ifi_family != AF_UNSPEC || (int) ifi->ifi_index != ifindex) in process_nlmsg()
|
/external/libnl/include/linux/ |
D | rtnetlink.h | 422 int ifi_index; /* Link index */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 478 int ifi_index; /* Link index */ member
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 480 int ifi_index; /* Link index */ member
|