Lines Matching refs:br_dev
4040 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_add() local
4041 const struct net_device_ops *ops = br_dev->netdev_ops; in rtnl_fdb_add()
4151 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_del() local
4152 const struct net_device_ops *ops = br_dev->netdev_ops; in rtnl_fdb_del()
4335 struct net_device *br_dev = NULL; in rtnl_fdb_dump() local
4357 br_dev = __dev_get_by_index(net, br_idx); in rtnl_fdb_dump()
4358 if (!br_dev) in rtnl_fdb_dump()
4361 ops = br_dev->netdev_ops; in rtnl_fdb_dump()
4377 br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_dump()
4378 cops = br_dev->netdev_ops; in rtnl_fdb_dump()
4381 if (dev != br_dev && in rtnl_fdb_dump()
4385 if (br_dev != netdev_master_upper_dev_get(dev) && in rtnl_fdb_dump()
4397 br_dev, dev, in rtnl_fdb_dump()
4498 struct net_device *dev = NULL, *br_dev = NULL; in rtnl_fdb_get() local
4534 br_dev = __dev_get_by_index(net, br_idx); in rtnl_fdb_get()
4535 if (!br_dev) { in rtnl_fdb_get()
4539 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4548 br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_get()
4549 if (!br_dev) { in rtnl_fdb_get()
4553 ops = br_dev->netdev_ops; in rtnl_fdb_get()
4563 if (!br_dev && !dev) { in rtnl_fdb_get()
4577 if (br_dev) in rtnl_fdb_get()
4578 dev = br_dev; in rtnl_fdb_get()
4612 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in ndo_dflt_bridge_getlink() local
4631 (br_dev && in ndo_dflt_bridge_getlink()
4632 nla_put_u32(skb, IFLA_MASTER, br_dev->ifindex)) || in ndo_dflt_bridge_getlink()
4775 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_bridge_getlink() local
4777 if (br_dev && br_dev->netdev_ops->ndo_bridge_getlink) { in rtnl_bridge_getlink()
4779 err = br_dev->netdev_ops->ndo_bridge_getlink( in rtnl_bridge_getlink()
4906 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_bridge_setlink() local
4908 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_setlink) { in rtnl_bridge_setlink()
4913 err = br_dev->netdev_ops->ndo_bridge_setlink(dev, nlh, flags, in rtnl_bridge_setlink()
4983 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_bridge_dellink() local
4985 if (!br_dev || !br_dev->netdev_ops->ndo_bridge_dellink) { in rtnl_bridge_dellink()
4990 err = br_dev->netdev_ops->ndo_bridge_dellink(dev, nlh, flags); in rtnl_bridge_dellink()