flow: Extend struct flow to contain tunnel outer header.
authorJesse Gross <jesse@nicira.com>
Fri, 14 Sep 2012 03:11:08 +0000 (20:11 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 3 Oct 2012 17:04:10 +0000 (10:04 -0700)
commit296e07ace0ff2d5819ce760d6018ba82d14aa2a8
treee5f8105b65c29bba8c70255c97c84c2a5c716261
parentf0b8759908a74f018f6bd75fdc1b7f1ff8776f5f
flow: Extend struct flow to contain tunnel outer header.

Soon the kernel will begin supplying the information about the outer
IP header for tunneled packets and userspace will need to be able to
track it as part of the flow.  For the time being this is only used
internally by OVS and not exposed outwards to OpenFlow.  As a result,
this threads the information throughout userspace but simply stores
the existing tun_id in it.

Signed-off-by: Jesse Gross <jesse@nicira.com>
21 files changed:
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/flow.c
lib/flow.h
lib/learning-switch.c
lib/match.c
lib/meta-flow.c
lib/nx-match.c
lib/odp-util.c
lib/ofp-print.c
lib/ofp-util.c
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/ofp-print.at
tests/ofproto-dpif.at
tests/ofproto.at
tests/test-classifier.c
tests/test-flows.c