[ovs-git] Open vSwitch: TCP flags matching support. (master)
dev at openvswitch.org
dev at openvswitch.org
Tue Oct 29 16:48:52 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, master has been updated
via dc235f7fbcff39b318b715f9d3d01f97b2634357 (commit)
via a66733a8bc1c42d92f498108d7e27987989dc206 (commit)
from 1591fe8ee5b0ac14b1223c35af95c4e6efa269be (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dc235f7fbcff39b318b715f9d3d01f97b2634357
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dc235f7fbcff39b318b715f9d3d01f97b2634357
Author: Jarno Rajahalme <jrajahalme at nicira.com>
TCP flags matching support.
tcp_flags=flags/mask
Bitwise match on TCP flags. The flags and mask are 16-bit numâ
bers written in decimal or in hexadecimal prefixed by 0x. Each
1-bit in mask requires that the corresponding bit in port must
match. Each 0-bit in mask causes the corresponding bit to be
ignored.
TCP protocol currently defines 9 flag bits, and additional 3
bits are reserved (must be transmitted as zero), see RFCs 793,
3168, and 3540. The flag bits are, numbering from the least
significant bit:
0: FIN No more data from sender.
1: SYN Synchronize sequence numbers.
2: RST Reset the connection.
3: PSH Push function.
4: ACK Acknowledgement field significant.
5: URG Urgent pointer field significant.
6: ECE ECN Echo.
7: CWR Congestion Windows Reduced.
8: NS Nonce Sum.
9-11: Reserved.
12-15: Not matchable, must be zero.
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
commit a66733a8bc1c42d92f498108d7e27987989dc206
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a66733a8bc1c42d92f498108d7e27987989dc206
Author: Jarno Rajahalme <jrajahalme at nicira.com>
Widen TCP flags handling.
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 currently of interest
to the userspace.
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
datapath/datapath.c | 5 +--
datapath/flow.c | 10 +++---
datapath/flow.h | 4 ++-
datapath/flow_netlink.c | 31 +++++++++++++++--
include/linux/openvswitch.h | 1 +
include/openflow/nicira-ext.h | 12 +++++++
lib/dpif-netdev.c | 2 +-
lib/dpif.h | 2 +-
lib/flow.c | 5 +--
lib/flow.h | 7 ++--
lib/match.c | 26 ++++++++++++++-
lib/match.h | 2 ++
lib/meta-flow.c | 40 ++++++++++++++++++++++
lib/meta-flow.h | 2 ++
lib/nx-match.c | 4 ++-
lib/odp-execute.c | 1 +
lib/odp-util.c | 36 ++++++++++++++++++++
lib/ofp-util.c | 2 +-
lib/packets.c | 24 ++++++++++----
lib/packets.h | 21 +++++++-----
ofproto/netflow.c | 4 +--
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 | 26 +++++++--------
tests/ofproto-dpif.at | 62 +++++++++++++++++-----------------
tests/ovs-ofctl.at | 73 +++++++++++++++++++++++++++++++++++++++++
utilities/ovs-ofctl.8.in | 34 +++++++++++++++++++
29 files changed, 363 insertions(+), 89 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list