flow: Use FWW_ flags to wildcard IP DSCP and ECN.
authorJustin Pettit <jpettit@nicira.com>
Thu, 10 Nov 2011 07:39:16 +0000 (23:39 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 11 Nov 2011 02:03:05 +0000 (18:03 -0800)
commit2486e66ab570c261ba931c8333f1488f8eba5903
tree914c2301ce19ee9b825b12d4306161efa747db67
parentd78477ec40730e86c55ac87be185c999cc81c62c
flow: Use FWW_ flags to wildcard IP DSCP and ECN.

It's no longer necessary to maintain a "nw_tos_mask" wildcard member,
since we only care about completely wildcarding the DSCP and ECN
portions of the IP TOS field.  This commit makes that change.  It also
goes a bit further in internally using "tos" to refer to the entire TOS
field (ie, DSCP and ECN).  We must still refer to the DSCP portions as
"nw_tos" externally through OpenFlow 1.0, since that's the convention it
uses.
lib/classifier.c
lib/flow.c
lib/flow.h
lib/meta-flow.c
lib/nx-match.c
lib/ofp-util.c
tests/test-classifier.c