#
# 802.1d Ethernet Bridging
#

config BRIDGE
	tristate "802.1d Ethernet Bridging"
	select LLC
	select STP
	---help---
	  If you say Y here, then your Linux box will be able to act as an
	  Ethernet bridge, which means that the different Ethernet segments it
	  is connected to will appear as one Ethernet to the participants.
	  Several such bridges can work together to create even larger
	  networks of Ethernets using the IEEE 802.1 spanning tree algorithm.
	  As this is a standard, Linux bridges will cooperate properly with
	  other third party bridge products.

	  In order to use the Ethernet bridge, you'll need the bridge
	  configuration tools; see <file:Documentation/networking/bridge.txt>
	  for location. Please read the Bridge mini-HOWTO for more
	  information.

	  If you enable iptables support along with the bridge support then you
	  turn your bridge into a bridging IP firewall.
	  iptables will then see the IP packets being bridged, so you need to
	  take this into account when setting up your firewall rules.
	  Enabling arptables support when bridging will let arptables see
	  bridged ARP traffic in the arptables FORWARD chain.

	  To compile this code as a module, choose M here: the module
	  will be called bridge.

	  If unsure, say N.

config BRIDGE_MULTICAST_BWCTRL
	bool "Multicast packet bandwidth control"
	depends on BRIDGE
	---help---

config BRIDGE_E_PARTITION_BWCTRL
	bool "Ethernet to Wlan Access control"
	depends on BRIDGE
	---help---

config VIRTUAL_NETDEV_TC
	bool "Virtual ethernet Device for Traffic Control"
		---help---
	Support Virtual ethernet device for traffic control.
config BRIDGE_IGMPP_PROCFS
	bool "Bridge with IGMPProxy procfs support"
	depends on BRIDGE
	---help---
	  The original kernel bridge module will flooding multicast packet to each
	  interface (port list), this kind of phenomenon will cause bandwidth of wireless
	  interface(port) has to be fouled at basic rate and make other protocols/applications
	  that use basic rate can't work fine.

	  If you say Y here,the bridge will transform multicast packet into unicast packet by
	  replace multicast MAC address with each member's MAC address.

config BRIDGE_IGMPP_PROCFS_DEBUG
	bool "Bridge with IGMPProxy procfs debugging"
	depends on BRIDGE_IGMPP_PROCFS
	---help---

config BRIDGE_PORT_GROUP
	bool "Bridge interfaces to be groups"
	depends on BRIDGE
	---help---
	  you can brideg interfaces to be groups, all eight group you can use.
	  ex. interfaces: eth0 eth1 eth2, groups[0-8]
	  	  1.bridge interfaces to be group:
		  		group0: echo "addgroup eth0 eth1" > /proc/net/bridge_group_br0 
		  		group1: echo "addgroup eth1 eth2" > /proc/net/bridge_group_br0 
		  
		  2.deny all bridge groups:
		  		echo "reset deny" > /proc/net/bridge_group_br0
		  
		  3.allow all bridge groups:
		  		echo "reset allow" > /proc/net/bridge_group_br0
				
		  4.show groups info:
		  		cat /proc/net/bridge_group_br0


		  
		  
