diff options
author | Patrick McHardy <kaber@trash.net> | 2008-07-06 06:26:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 06:26:57 +0200 |
commit | 70c03b49b80ba3634958acc31853771019c0ebd3 (patch) | |
tree | 097861a5da46fc10696c97f21720c1e5053b322f /include/net | |
parent | vlan: Move device unregistration before lower dev cleanup (diff) | |
download | linux-70c03b49b80ba3634958acc31853771019c0ebd3.tar.xz linux-70c03b49b80ba3634958acc31853771019c0ebd3.zip |
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/garp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/garp.h b/include/net/garp.h index 73c772395f5b..825f172caba9 100644 --- a/include/net/garp.h +++ b/include/net/garp.h @@ -84,6 +84,7 @@ struct garp_attr { }; enum garp_applications { + GARP_APPLICATION_GVRP, __GARP_APPLICATION_MAX }; #define GARP_APPLICATION_MAX (__GARP_APPLICATION_MAX - 1) |