Home
last modified time | relevance | path

Searched refs:iflink (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/batman-adv/ !
Dhard-interface.c154 int iflink; in batadv_is_on_batman_iface() local
161 iflink = dev_get_iflink(net_dev); in batadv_is_on_batman_iface()
162 if (iflink == 0) in batadv_is_on_batman_iface()
168 if (net == parent_net && iflink == net_dev->ifindex) in batadv_is_on_batman_iface()
172 parent_dev = __dev_get_by_index((struct net *)parent_net, iflink); in batadv_is_on_batman_iface()
222 int iflink; in batadv_get_real_netdevice() local
229 iflink = dev_get_iflink(netdev); in batadv_get_real_netdevice()
230 if (iflink == 0) { in batadv_get_real_netdevice()
243 if (net == real_net && netdev->ifindex == iflink) { in batadv_get_real_netdevice()
249 real_netdev = dev_get_by_index(real_net, iflink); in batadv_get_real_netdevice()
/linux-6.6.21/net/core/ !
Dlink_watch.c45 int iflink = dev_get_iflink(dev); in default_operstate() local
48 if (iflink == dev->ifindex) in default_operstate()
51 peer = __dev_get_by_index(dev_net(dev), iflink); in default_operstate()
Dnet-sysfs.c124 static DEVICE_ATTR_RO(iflink);
/linux-6.6.21/drivers/net/can/ !
Dvxcan.c118 int iflink; in vxcan_get_iflink() local
122 iflink = peer ? peer->ifindex : 0; in vxcan_get_iflink()
125 return iflink; in vxcan_get_iflink()
/linux-6.6.21/Documentation/ABI/testing/ !
Dsysfs-class-net199 What: /sys/class/net/<iface>/iflink
207 Physical interfaces have the same 'ifindex' and 'iflink' values.
/linux-6.6.21/Documentation/networking/ !
Doperstates.rst139 ifindex != iflink.
/linux-6.6.21/drivers/net/ !
Dveth.c1505 int iflink; in veth_get_iflink() local
1509 iflink = peer ? peer->ifindex : 0; in veth_get_iflink()
1512 return iflink; in veth_get_iflink()