Home
last modified time | relevance | path

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

12

/external/iproute2/bridge/
Dvlan.c86 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()
Dlink.c117 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()
Dfdb.c219 req.ifm.ifi_index = filter_index; in fdb_show()
/external/iproute2/ip/
Diptoken.c65 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()
Dlink_vti6.c68 req.i.ifi_index = ifi->ifi_index; in vti6_parse_opt()
Dlink_vti.c72 req.i.ifi_index = ifi->ifi_index; in vti_parse_opt()
Dlink_veth.c74 peer_ifm->ifi_index = index; in veth_parse_opt()
Dlink_ip6tnl.c90 req.i.ifi_index = ifi->ifi_index; in ip6tunnel_parse_opt()
Diplink.c714 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()
Dlink_gre6.c92 req.i.ifi_index = ifi->ifi_index; in gre_parse_opt()
Dipaddress.c630 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()
Dlink_iptnl.c92 req.i.ifi_index = ifi->ifi_index; in iptunnel_parse_opt()
Dlink_gre.c86 req.i.ifi_index = ifi->ifi_index; in gre_parse_opt()
/external/iproute2/lib/
Dll_map.c96 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/
Diface-linux.c93 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/
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
DmDNSPosix.c975 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/
Dpriv_netlink.h98 int ifi_index; member
Dnetlink.c191 req.ifinfo.ifi_index = ifindex; in netlink_send_oper_ifla()
/external/android-clat/
Dsetif.c107 if (!(ifi.ifi_index = if_nametoindex(ifname))) { in if_up()
/external/avahi/avahi-autoipd/
Diface-linux.c111 if (ifi->ifi_family != AF_UNSPEC || (int) ifi->ifi_index != ifindex) in process_nlmsg()
/external/libnl/include/linux/
Drtnetlink.h422 int ifi_index; /* Link index */ member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h478 int ifi_index; /* Link index */ member
/external/iproute2/include/linux/
Drtnetlink.h480 int ifi_index; /* Link index */ member

12