diff options
author | Patrick McHardy <kaber@trash.net> | 2008-07-06 00:26:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 00:26:57 -0400 |
commit | 70c03b49b80ba3634958acc31853771019c0ebd3 (patch) | |
tree | 097861a5da46fc10696c97f21720c1e5053b322f /include/net/garp.h | |
parent | ce305002e1c9b90c2c151ce18bab0b895dd55ae6 (diff) |
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/garp.h')
-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 { | |||
84 | }; | 84 | }; |
85 | 85 | ||
86 | enum garp_applications { | 86 | enum garp_applications { |
87 | GARP_APPLICATION_GVRP, | ||
87 | __GARP_APPLICATION_MAX | 88 | __GARP_APPLICATION_MAX |
88 | }; | 89 | }; |
89 | #define GARP_APPLICATION_MAX (__GARP_APPLICATION_MAX - 1) | 90 | #define GARP_APPLICATION_MAX (__GARP_APPLICATION_MAX - 1) |