aboutsummaryrefslogtreecommitdiff
path: root/lib/meta-flow.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-22 23:36:41 -0700
committerBen Pfaff <blp@nicira.com>2012-07-23 09:21:24 -0700
commit441c57a919fbd9d4961be767a796c836ce45bced (patch)
treef84c682322c9a5e8ade5e05311db5d51d2f95b89 /lib/meta-flow.h
parent44d3732d5e172a8528ae2f36c232dfa5a1c18b74 (diff)
meta-flow: Rename MFF_VLAN_VID->MFF_DL_VLAN, MFF_VLAN_PCP->MFF_DL_VLAN_PCP.
Giving these fields names that are the same as the OpenFlow 1.0 struct member names should help make it clear what they are for. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'lib/meta-flow.h')
-rw-r--r--lib/meta-flow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/meta-flow.h b/lib/meta-flow.h
index 1fecc15c..e4237d1c 100644
--- a/lib/meta-flow.h
+++ b/lib/meta-flow.h
@@ -66,8 +66,8 @@ enum mf_field_id {
MFF_ETH_TYPE, /* be16 */
MFF_VLAN_TCI, /* be16 */
- MFF_VLAN_VID, /* be16 */
- MFF_VLAN_PCP, /* u8 */
+ MFF_DL_VLAN, /* be16 (OpenFlow 1.0 compatibility) */
+ MFF_DL_VLAN_PCP, /* u8 (OpenFlow 1.0 compatibility) */
/* L3. */
MFF_IPV4_SRC, /* be32 */