Home
last modified time | relevance | path

Searched refs:upper_dev (Results 1 – 6 of 6) sorted by relevance

/net/8021q/
Dvlan_core.c89 struct net_device *upper_dev; in __vlan_find_dev_deep_rcu() local
91 upper_dev = netdev_master_upper_dev_get_rcu(dev); in __vlan_find_dev_deep_rcu()
92 if (upper_dev) in __vlan_find_dev_deep_rcu()
93 return __vlan_find_dev_deep_rcu(upper_dev, in __vlan_find_dev_deep_rcu()
/net/core/
Ddev.c5718 static int __netdev_has_upper_dev(struct net_device *upper_dev, void *data) in __netdev_has_upper_dev() argument
5722 return upper_dev == dev; in __netdev_has_upper_dev()
5735 struct net_device *upper_dev) in netdev_has_upper_dev() argument
5740 upper_dev); in netdev_has_upper_dev()
5755 struct net_device *upper_dev) in netdev_has_upper_dev_all_rcu() argument
5758 upper_dev); in netdev_has_upper_dev_all_rcu()
6235 struct net_device *upper_dev, in __netdev_adjacent_dev_link_lists() argument
6242 ret = __netdev_adjacent_dev_insert(dev, upper_dev, up_list, in __netdev_adjacent_dev_link_lists()
6247 ret = __netdev_adjacent_dev_insert(upper_dev, dev, down_list, in __netdev_adjacent_dev_link_lists()
6250 __netdev_adjacent_dev_remove(dev, upper_dev, 1, up_list); in __netdev_adjacent_dev_link_lists()
[all …]
Drtnetlink.c1319 struct net_device *upper_dev = netdev_master_upper_dev_get(dev); in rtnl_fill_ifinfo() local
1350 (upper_dev && in rtnl_fill_ifinfo()
1351 nla_put_u32(skb, IFLA_MASTER, upper_dev->ifindex)) || in rtnl_fill_ifinfo()
1938 struct net_device *upper_dev = netdev_master_upper_dev_get(dev); in do_set_master() local
1942 if (upper_dev) { in do_set_master()
1943 if (upper_dev->ifindex == ifindex) in do_set_master()
1945 ops = upper_dev->netdev_ops; in do_set_master()
1947 err = ops->ndo_del_slave(upper_dev, dev); in do_set_master()
1956 upper_dev = __dev_get_by_index(dev_net(dev), ifindex); in do_set_master()
1957 if (!upper_dev) in do_set_master()
[all …]
/net/dsa/
Dslave.c1374 if (netif_is_bridge_master(info->upper_dev)) { in dsa_slave_changeupper()
1376 err = dsa_port_bridge_join(dp, info->upper_dev); in dsa_slave_changeupper()
1379 dsa_port_bridge_leave(dp, info->upper_dev); in dsa_slave_changeupper()
/net/ipv4/
Dfib_frontend.c1239 if (upper_info->upper_dev && in fib_netdev_event()
1240 netif_is_l3_master(upper_info->upper_dev)) in fib_netdev_event()
/net/ipv6/
Daddrconf.c3560 if (info->upper_dev && netif_is_l3_master(info->upper_dev)) in addrconf_notify()