datapath: Add SCTP support
authorJoe Stringer <joe@wand.net.nz>
Thu, 22 Aug 2013 08:24:43 +0000 (20:24 +1200)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Aug 2013 16:29:39 +0000 (09:29 -0700)
commit10f72e3da94f99cf71ebe49cc03ef49d88a55656
tree0d05ef058240c0aafa97de149e7d33680e799c20
parent97025b23a71ace7c1e640e37891e7d11a87e83fa
datapath: Add SCTP support

This patch adds support for rewriting SCTP src,dst ports similar to the
functionality already available for TCP/UDP.

Rewriting SCTP ports is expensive due to double-recalculation of the
SCTP checksums; this is performed to ensure that packets traversing OVS
with invalid checksums will continue to the destination with any
checksum corruption intact.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Ben Pfaff <blp@nicira.com>
datapath/actions.c
datapath/datapath.c
datapath/flow.c
datapath/flow.h
datapath/linux/Modules.mk
datapath/linux/compat/include/linux/sctp.h [new file with mode: 0644]
datapath/linux/compat/include/net/ipv6.h
datapath/linux/compat/include/net/sctp/checksum.h [new file with mode: 0644]
include/linux/openvswitch.h