Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 20 of 20) sorted by relevance

/net/dsa/
A Dport.c430 dp->bridge = bridge; in dsa_port_bridge_create()
450 dp->bridge = bridge; in dsa_port_bridge_create()
985 .bridge = *dp->bridge, in dsa_port_fdb_add()
1008 .bridge = *dp->bridge, in dsa_port_fdb_del()
1049 .bridge = *dp->bridge, in dsa_port_bridge_host_fdb_add()
1100 .bridge = *dp->bridge, in dsa_port_bridge_host_fdb_del()
1125 .bridge = *dp->bridge, in dsa_port_lag_fdb_add()
1144 .bridge = *dp->bridge, in dsa_port_lag_fdb_del()
1173 .bridge = *dp->bridge, in dsa_port_mdb_add()
1231 .bridge = *dp->bridge, in dsa_port_bridge_host_mdb_add()
[all …]
A Dtrace.c18 sprintf(buf, "bridge %s num %d", db->bridge.dev->name, in dsa_db_print()
19 db->bridge.num); in dsa_db_print()
A Dtag_8021q.c289 struct dsa_bridge bridge, bool *tx_fwd_offload, in dsa_tag_8021q_bridge_join() argument
300 bridge_vid = dsa_tag_8021q_bridge_vid(bridge.num); in dsa_tag_8021q_bridge_join()
315 struct dsa_bridge bridge) in dsa_tag_8021q_bridge_leave() argument
325 bridge_vid = dsa_tag_8021q_bridge_vid(bridge.num); in dsa_tag_8021q_bridge_leave()
485 if (!dp->bridge) in dsa_tag_8021q_find_port_by_vbid()
A Dtag.h204 if (!dp->bridge) in dsa_find_designated_bridge_port_by_vid()
241 skb->offload_fwd_mark = !!(dp->bridge); in dsa_default_offload_fwd_mark()
A Ddsa.c123 return dp->bridge; in dsa_tree_bridge_find()
133 struct dsa_bridge *bridge; in dsa_bridge_num_find() local
135 bridge = dsa_tree_bridge_find(dst, bridge_dev); in dsa_bridge_num_find()
136 if (bridge) in dsa_bridge_num_find()
137 return bridge->num; in dsa_bridge_num_find()
1720 return a->bridge.num == b->bridge.num; in dsa_db_equal()
A Dswitch.h48 struct dsa_bridge bridge; member
A Dswitch.c92 info->bridge, in dsa_switch_bridge_join()
104 info->bridge, in dsa_switch_bridge_join()
117 ds->ops->port_bridge_leave(ds, info->dp->index, info->bridge); in dsa_switch_bridge_leave()
123 info->bridge); in dsa_switch_bridge_leave()
A Duser.c719 if (!dp->bridge) in dsa_user_host_vlan_add()
808 if (!dp->bridge) in dsa_user_host_vlan_del()
2047 if (!dp->bridge) in dsa_bridge_mtu_normalization()
3709 if (!dp->bridge) in dsa_user_fdb_event()
/net/bridge/
A DMakefile6 obj-$(CONFIG_BRIDGE) += bridge.o
8 bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
13 bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
15 bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
21 bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o br_multicast_eht.o
23 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o br_vlan_options.o br_mst.o
25 bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
29 bridge-$(CONFIG_BRIDGE_MRP) += br_mrp_switchdev.o br_mrp.o br_mrp_netlink.o
31 bridge-$(CONFIG_BRIDGE_CFM) += br_cfm.o br_cfm_netlink.o
A DKconfig13 Ethernet bridge, which means that the different Ethernet segments it
18 other third party bridge products.
20 In order to use the Ethernet bridge, you'll need the bridge
21 configuration tools; see <file:Documentation/networking/bridge.rst>
25 If you enable iptables support along with the bridge support then you
26 turn your bridge into a bridging IP firewall.
33 will be called bridge.
43 If you say Y here, then the Ethernet bridge will be able selectively
59 any VLAN information configured on the bridge port or bridge device.
70 If you say Y here, then the Ethernet bridge will be able to run MRP
[all …]
A Dbr_device.c399 f = br_fdb_find_rcu(br, ctx->daddr, path->bridge.vlan_id); in br_fill_forward_path()
414 switch (path->bridge.vlan_mode) { in br_fill_forward_path()
418 ctx->vlan[ctx->num_vlans].id = path->bridge.vlan_id; in br_fill_forward_path()
419 ctx->vlan[ctx->num_vlans].proto = path->bridge.vlan_proto; in br_fill_forward_path()
A Dbr_vlan.c1453 path->bridge.vlan_mode = DEV_PATH_BR_VLAN_KEEP; in br_vlan_fill_forward_path_pvid()
1464 path->bridge.vlan_mode = DEV_PATH_BR_VLAN_TAG; in br_vlan_fill_forward_path_pvid()
1468 path->bridge.vlan_id = vid; in br_vlan_fill_forward_path_pvid()
1469 path->bridge.vlan_proto = br->vlan_proto; in br_vlan_fill_forward_path_pvid()
1483 v = br_vlan_find(vg, path->bridge.vlan_id); in br_vlan_fill_forward_path_mode()
1490 if (path->bridge.vlan_mode == DEV_PATH_BR_VLAN_TAG) in br_vlan_fill_forward_path_mode()
1491 path->bridge.vlan_mode = DEV_PATH_BR_VLAN_KEEP; in br_vlan_fill_forward_path_mode()
1493 path->bridge.vlan_mode = DEV_PATH_BR_VLAN_UNTAG_HW; in br_vlan_fill_forward_path_mode()
1495 path->bridge.vlan_mode = DEV_PATH_BR_VLAN_UNTAG; in br_vlan_fill_forward_path_mode()
/net/batman-adv/
A Dmulticast.c165 struct net_device *bridge) in batadv_mcast_mla_rtr_flags_meshif_get() argument
167 struct net_device *dev = bridge ? bridge : bat_priv->mesh_iface; in batadv_mcast_mla_rtr_flags_meshif_get()
195 struct net_device *bridge) in batadv_mcast_mla_rtr_flags_bridge_get() argument
200 if (!bridge) in batadv_mcast_mla_rtr_flags_bridge_get()
279 struct net_device *bridge; in batadv_mcast_mla_flags_get() local
286 bridge); in batadv_mcast_mla_flags_get()
289 if (!bridge) in batadv_mcast_mla_flags_get()
292 dev_put(bridge); in batadv_mcast_mla_flags_get()
526 if (bridge) in batadv_mcast_mla_meshif_get()
527 dev = bridge; in batadv_mcast_mla_meshif_get()
[all …]
/net/bridge/netfilter/
A DKconfig14 tristate "Netfilter nf_table bridge meta support"
16 Add support for bridge dedicated meta key.
19 tristate "Netfilter nf_tables bridge reject support"
29 tristate "IPv4/IPV6 bridge connection tracking support"
37 the bridge. This provides a replacement for the `br_netfilter'
60 filtering/NAT/brouting on the Ethernet bridge.
/net/netfilter/
A Dnft_flow_offload.c139 switch (path->bridge.vlan_mode) { in nft_dev_path_info()
144 info->encap[info->num_encaps].id = path->bridge.vlan_id; in nft_dev_path_info()
145 info->encap[info->num_encaps].proto = path->bridge.vlan_proto; in nft_dev_path_info()
A DKconfig1507 Physdev packet matching matches against the physical bridge ports
/net/
A DKconfig205 a bridge with Network packet filtering enabled makes iptables "see"
207 protocols over the bridge, use ebtables (under bridge netfilter
248 source "net/bridge/netfilter/Kconfig"
258 source "net/bridge/Kconfig"
A DMakefile24 obj-$(CONFIG_BRIDGE) += bridge/
/net/hsr/
A DKconfig21 in the ring acts like a bridge for HSR frames, but filters frames
/net/l2tp/
A DKconfig104 interface, or add the interface to a bridge.

Completed in 53 milliseconds