diff options
| author | Jesse Gross <jesse@nicira.com> | 2010-08-11 20:55:58 -0400 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2010-08-24 16:58:00 -0400 |
| commit | e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32 (patch) | |
| tree | 32398278541363d4fe10c556aa19f3c8cab89ded /datapath/vport.c | |
| parent | 5214f5c4e95b843b47b047139764d6f4af524785 (diff) | |
| download | openvswitch-e90b1cf9ce7f7078a17fa5e0c32fa31f00b68d32.tar.gz | |
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>
Diffstat (limited to 'datapath/vport.c')
| -rw-r--r-- | datapath/vport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/datapath/vport.c b/datapath/vport.c index cdf615a47..4dd6cfe9e 100644 --- a/datapath/vport.c +++ b/datapath/vport.c @@ -16,6 +16,7 @@ #include <linux/percpu.h> #include <linux/rtnetlink.h> #include <linux/compat.h> +#include <linux/version.h> #include "vport.h" #include "vport-internal_dev.h" @@ -27,6 +28,9 @@ static struct vport_ops *base_vport_ops_list[] = { &internal_vport_ops, &patch_vport_ops, &gre_vport_ops, +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) + &capwap_vport_ops, +#endif }; static const struct vport_ops **vport_ops_list; |
