flow: Factor out flag parsing and formatting routines.
authorJesse Gross <jesse@nicira.com>
Sun, 12 Jul 2015 03:48:29 +0000 (20:48 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 16 Jul 2015 03:24:04 +0000 (20:24 -0700)
commit8e4c1621e939cd29df79b526920e5c243a48bdaa
tree5aa1b4ed59018da58f89dcc8f85fb584bac5209c
parentcadf7ec937db1e743571cba8773d3724064c9500
flow: Factor out flag parsing and formatting routines.

There are several implementations of functions that parse/format
flags and their binary representation. This factors them out into
common routines. In addition to reducing code, it also makes things
more consistent across different parts of OVS.

Signed-off-by: Jesse Gross <jesse@nicira.com>
lib/flow.c
lib/flow.h
lib/match.c
lib/meta-flow.c
lib/odp-util.c
tests/odp.at
tests/ofproto-dpif.at
tests/ovs-ofctl.at
tests/tunnel.at