diff options
author | Justin Pettit <jpettit@nicira.com> | 2009-11-11 14:59:49 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2010-02-20 02:22:26 -0800 |
commit | 959a2ecdc8a5ffe53e74456ff6eb1ec25092db75 (patch) | |
tree | d7f7759d577a14c00c0e255e2403a4ecd1f4534d /lib/classifier.h | |
parent | 2f6d344525463ebe52f6bbd0e9a4cc22e33dacbe (diff) |
ofproto: Match VLAN PCP and rewrite ToS bits (OpenFlow 0.9)
Starting in OpenFlow 0.9, it is possible to match on the VLAN PCP
(priority) field and rewrite the IP ToS/DSCP bits. This check-in
provides that support and bumps the wire protocol number to 0x98.
NOTE: The wire changes come together over the set of OpenFlow 0.9 commits,
so OVS will not be OpenFlow-compatible with any official release between
this commit and the one that completes the set.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r-- | lib/classifier.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/classifier.h b/lib/classifier.h index 194b04e6..84a3461e 100644 --- a/lib/classifier.h +++ b/lib/classifier.h @@ -60,6 +60,7 @@ /* ----------------- ----------- -------- */ \ CLS_FIELD(OFPFW_IN_PORT, in_port, IN_PORT) \ CLS_FIELD(OFPFW_DL_VLAN, dl_vlan, DL_VLAN) \ + CLS_FIELD(OFPFW_DL_VLAN_PCP, dl_vlan_pcp, DL_VLAN_PCP) \ CLS_FIELD(OFPFW_DL_SRC, dl_src, DL_SRC) \ CLS_FIELD(OFPFW_DL_DST, dl_dst, DL_DST) \ CLS_FIELD(OFPFW_DL_TYPE, dl_type, DL_TYPE) \ |