lib: More intuitive syntax for TCP flags matching.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 2 Dec 2013 23:14:09 +0000 (15:14 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 2 Dec 2013 23:14:09 +0000 (15:14 -0800)
commit61bf6666bec930dbfbf26c832199af93d0c5d6d1
treeb1adb311620adaf381f30c3890b4e6143c5d9918
parent4cf5406ba2e8bb8271940b2f54967c9fd1270212
lib: More intuitive syntax for TCP flags matching.

Allow TCP flags match specification with symbolic flag names.  TCP
flags are optionally specified as a string of flag names, each
preceded by '+' when the flag must be one, or '-' when the flag must
be zero.  Any flags not explicitly included are wildcarded.  The
existing hex syntax is still allowed, and is used in flow dumps when
all the flags are matched.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/flow.c
lib/flow.h
lib/match.c
lib/meta-flow.c
lib/meta-flow.h
lib/packets.c
lib/packets.h
tests/ovs-ofctl.at
utilities/ovs-ofctl.8.in