TCP flags are currently tracked, but not matched against.  The first
patch extends the range of TCP flags tracked to cover all currently
defined flags, and the reserved bits, that could in the future be
defined as new TCP flags.  Note that for current use this is not
necessary, and could be left as is.

The second patch adds matching support for the TCP flags and the
reserved bits adjacent to the currently defined TCP flags.

The test added to the end of ovs/ofctl.at should probably go
somewhere else.

Jarno Rajahalme (2):
  Widen TCP flags handling from 7 bits (uint8_t) to 12 bits (uint16_t).
        The kernel interface remains at 8 bits, which makes no
    functional     difference now, as none of the higher bits is
    currenlty of interest     to the userspace.
  TCP flags matching support.

 datapath/datapath.c           |    2 +-
 datapath/flow.c               |   45 +++++++++++++++++++++----
 datapath/flow.h               |    4 ++-
 include/linux/openvswitch.h   |    2 ++
 include/openflow/nicira-ext.h |   12 +++++++
 lib/dpif-netdev.c             |    2 +-
 lib/dpif.h                    |    2 +-
 lib/flow.c                    |    3 +-
 lib/flow.h                    |    7 ++--
 lib/match.c                   |   34 ++++++++++++++++++-
 lib/match.h                   |    2 ++
 lib/meta-flow.c               |   40 ++++++++++++++++++++++
 lib/meta-flow.h               |    2 ++
 lib/netflow.h                 |    3 +-
 lib/nx-match.c                |    4 ++-
 lib/odp-execute.c             |    1 +
 lib/odp-util.c                |   38 +++++++++++++++++++++
 lib/ofp-util.c                |    2 +-
 lib/packets.c                 |   24 +++++++++----
 lib/packets.h                 |   21 +++++++-----
 ofproto/netflow.c             |    2 +-
 ofproto/netflow.h             |    4 +--
 ofproto/ofproto-dpif-xlate.c  |    4 +--
 ofproto/ofproto-dpif-xlate.h  |    4 +--
 ofproto/ofproto-dpif.c        |    4 +--
 tests/ofp-print.at            |    6 ++--
 tests/ovs-ofctl.at            |   74 +++++++++++++++++++++++++++++++++++++++++
 tests/test-netflow.c          |    5 +--
 utilities/ovs-ofctl.8.in      |   30 +++++++++++++++++
 29 files changed, 332 insertions(+), 51 deletions(-)

-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to