Searched refs:iflink (Results 1 – 7 of 7) sorted by relevance
154 int iflink; in batadv_is_on_batman_iface() local161 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() local229 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()
45 int iflink = dev_get_iflink(dev); in default_operstate() local48 if (iflink == dev->ifindex) in default_operstate()51 peer = __dev_get_by_index(dev_net(dev), iflink); in default_operstate()
124 static DEVICE_ATTR_RO(iflink);
118 int iflink; in vxcan_get_iflink() local122 iflink = peer ? peer->ifindex : 0; in vxcan_get_iflink()125 return iflink; in vxcan_get_iflink()
199 What: /sys/class/net/<iface>/iflink207 Physical interfaces have the same 'ifindex' and 'iflink' values.
139 ifindex != iflink.
1505 int iflink; in veth_get_iflink() local1509 iflink = peer ? peer->ifindex : 0; in veth_get_iflink()1512 return iflink; in veth_get_iflink()