Searched refs:br_dev (Results 1 – 7 of 7) sorted by relevance
/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 31 const struct net_device *br_dev; in nft_meta_bridge_get_eval() local 35 br_dev = nft_meta_get_bridge(in); in nft_meta_bridge_get_eval() 38 br_dev = nft_meta_get_bridge(out); in nft_meta_bridge_get_eval() 43 br_dev = nft_meta_get_bridge(in); in nft_meta_bridge_get_eval() 44 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval() 54 br_dev = nft_meta_get_bridge(in); in nft_meta_bridge_get_eval() 55 if (!br_dev || !br_vlan_enabled(br_dev)) in nft_meta_bridge_get_eval() 58 br_vlan_get_proto(br_dev, &p_proto); in nft_meta_bridge_get_eval() 66 strncpy((char *)dest, br_dev ? br_dev->name : "", IFNAMSIZ); in nft_meta_bridge_get_eval()
|
/net/bridge/ |
D | br_switchdev.c | 314 br_switchdev_fdb_replay(const struct net_device *br_dev, const void *ctx, in br_switchdev_fdb_replay() argument 325 if (!netif_is_bridge_master(br_dev)) in br_switchdev_fdb_replay() 328 br = netdev_priv(br_dev); in br_switchdev_fdb_replay() 348 static int br_switchdev_vlan_attr_replay(struct net_device *br_dev, in br_switchdev_vlan_attr_replay() argument 355 .dev = br_dev, in br_switchdev_vlan_attr_replay() 360 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_attr_replay() 367 attr.orig_dev = br_dev; in br_switchdev_vlan_attr_replay() 446 static int br_switchdev_vlan_replay(struct net_device *br_dev, in br_switchdev_vlan_replay() argument 451 struct net_bridge *br = netdev_priv(br_dev); in br_switchdev_vlan_replay() 461 if (!netif_is_bridge_master(br_dev)) in br_switchdev_vlan_replay() [all …]
|
D | br_stp.c | 648 clock_t br_get_ageing_time(const struct net_device *br_dev) in br_get_ageing_time() argument 652 if (!netif_is_bridge_master(br_dev)) in br_get_ageing_time() 655 br = netdev_priv(br_dev); in br_get_ageing_time()
|
D | br_fdb.c | 245 struct net_device *br_fdb_find_port(const struct net_device *br_dev, in br_fdb_find_port() argument 255 if (!netif_is_bridge_master(br_dev)) in br_fdb_find_port() 258 br = netdev_priv(br_dev); in br_fdb_find_port()
|
D | br_device.c | 307 static void br_poll_controller(struct net_device *br_dev) in br_poll_controller() argument
|
/net/dsa/ |
D | tag_dsa.c | 133 struct net_device *br_dev; in dsa_xmit_ll() local 156 br_dev = dsa_port_bridge_dev_get(dp); in dsa_xmit_ll() 165 (!br_dev || br_vlan_enabled(br_dev))) { in dsa_xmit_ll() 184 vid = br_dev ? MV88E6XXX_VID_BRIDGED : MV88E6XXX_VID_STANDALONE; in dsa_xmit_ll()
|
/net/core/ |
D | rtnetlink.c | 4275 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_add() local 4276 const struct net_device_ops *ops = br_dev->netdev_ops; in rtnl_fdb_add() 4401 struct net_device *br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_del() local 4403 ops = br_dev->netdev_ops; in rtnl_fdb_del() 4600 struct net_device *br_dev = NULL; in rtnl_fdb_dump() local 4622 br_dev = __dev_get_by_index(net, br_idx); in rtnl_fdb_dump() 4623 if (!br_dev) in rtnl_fdb_dump() 4626 ops = br_dev->netdev_ops; in rtnl_fdb_dump() 4642 br_dev = netdev_master_upper_dev_get(dev); in rtnl_fdb_dump() 4643 cops = br_dev->netdev_ops; in rtnl_fdb_dump() [all …]
|