vlan: Add GVRP support
authorPatrick McHardy <kaber@trash.net>
Sun, 6 Jul 2008 04:26:57 +0000 (21:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 04:26:57 +0000 (21:26 -0700)
commit70c03b49b80ba3634958acc31853771019c0ebd3
tree097861a5da46fc10696c97f21720c1e5053b322f
parentce305002e1c9b90c2c151ce18bab0b895dd55ae6
vlan: Add GVRP support

Add GVRP support for dynamically registering VLANs with switches.

By default GVRP is disabled because we only support the applicant-only
participant model, which means it should not be enabled on vlans that
are members of a bridge. Since there is currently no way to cleanly
determine that, the user is responsible for enabling it.

The code is pretty small and low impact, its wrapped in a config
option though because it depends on the GARP implementation and
the STP core.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
include/net/garp.h
net/8021q/Kconfig
net/8021q/Makefile
net/8021q/vlan.c
net/8021q/vlan.h
net/8021q/vlan_dev.c
net/8021q/vlan_gvrp.c [new file with mode: 0644]
net/8021q/vlan_netlink.c