Support matching and modifying IP TTL.
authorJustin Pettit <jpettit@nicira.com>
Sat, 5 Nov 2011 22:48:12 +0000 (15:48 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 9 Nov 2011 21:24:52 +0000 (13:24 -0800)
commita61680c6d15fa1f1ae3072a83c0e3d7ed08f6048
tree49c8cdf78a7cd9da50fd27f2dd304335215a5f68
parent530180fd5a99e2c55107831f99fee84d6780f38c
Support matching and modifying IP TTL.

Add support matching the IPv4 TTL and IPv6 hop limit fields.  This
commit also adds support for modifying the IPv4 TTL.  Modifying the IPv6
hop limit isn't currently supported, since we don't support modifying
IPv6 headers.

We will likely want to change the user-space interface, since basic
matching and setting the TTL are not generally useful.  We will probably
want the ability to match on extraordinary events (such as TTL of 0 or 1)
and a decrement action.

Feature #8024

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
26 files changed:
NEWS
datapath/actions.c
datapath/flow.c
datapath/flow.h
include/linux/openvswitch.h
include/openflow/nicira-ext.h
lib/classifier.c
lib/classifier.h
lib/dpif-netdev.c
lib/flow.c
lib/flow.h
lib/meta-flow.c
lib/meta-flow.h
lib/nx-match.c
lib/nx-match.def
lib/nx-match.h
lib/odp-util.c
lib/odp-util.h
lib/ofp-parse.c
lib/ofp-util.c
ofproto/ofproto-dpif.c
tests/odp.at
tests/ofp-print.at
tests/ofproto-dpif.at
tests/ovs-ofctl.at
utilities/ovs-ofctl.8.in