Permalink
Browse files

datapath: Add support for CAPWAP UDP transport.

Add support for the transport portion of the CAPWAP protocol as
an alternative to GRE for L2 over L3 tunneling.  This is not
full support for the CAPWAP protocol.  CAPWAP covers management
of wireless access points and describes a control protocol for
setting those devices up.  It also describes a data plane protocol
that allows packets to be tunneled to a controller for inspection.
This data plane protocol is the only component covered by this
commit.

Signed-off-by: Jesse Gross <jesse@nicira.com>
  • Loading branch information...
1 parent 5214f5c commit e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32 @jessegross jessegross committed Aug 12, 2010
Showing with 663 additions and 0 deletions.
  1. +1 −0 datapath/Modules.mk
  2. +1 −0 datapath/linux-2.6/.gitignore
  3. +1 −0 datapath/tunnel.h
  4. +655 −0 datapath/vport-capwap.c
  5. +4 −0 datapath/vport.c
  6. +1 −0 datapath/vport.h
View
@@ -19,6 +19,7 @@ openvswitch_sources = \
table.c \
tunnel.c \
vport.c \
+ vport-capwap.c \
vport-generic.c \
vport-gre.c \
vport-internal_dev.c \
@@ -28,6 +28,7 @@
/time.c
/tmp
/tunnel.c
+/vport-capwap.c
/vport-generic.c
/vport-gre.c
/vport-internal_dev.c
View
@@ -25,6 +25,7 @@
* you have only the first 10 bits to define protocol identifiers.
*/
#define TNL_T_PROTO_GRE 0
+#define TNL_T_PROTO_CAPWAP 1
/* You only need these flags when you are calling tnl_find_port(). */
#define TNL_T_KEY_EXACT (1 << 10)
Oops, something went wrong.

0 comments on commit e90b1cf

Please sign in to comment.