summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-1.2.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-09-16 22:13:44 -0700
committerBen Pfaff <blp@nicira.com>2014-10-07 15:34:38 -0700
commit178742f941354475c3f242c676b3e772ad5d7d9e (patch)
tree8d8b863577293c6e45ce13b9880129268bc99376 /include/openflow/openflow-1.2.h
parentba5cc068c8e295453e8ccb9cf223045d5a9e0976 (diff)
downloadopenvswitch-178742f941354475c3f242c676b3e772ad5d7d9e.tar.gz
nx-match: Move all knowledge of OXM/NXM here.
This improves the general abstraction of OXM/NXM by eliminating direct knowledge of it from the meta-flow code and other places. Some function renaming might be called for; for example, mf_oxm_header() may not be the best name now that the function is implemented within nx-match. However, these renamings would make this commit larger and harder to review, so I'm postponing them. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Diffstat (limited to 'include/openflow/openflow-1.2.h')
-rw-r--r--include/openflow/openflow-1.2.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/openflow/openflow-1.2.h b/include/openflow/openflow-1.2.h
index ef1d340ec..f4c97a1e5 100644
--- a/include/openflow/openflow-1.2.h
+++ b/include/openflow/openflow-1.2.h
@@ -58,22 +58,6 @@
/* Error type for experimenter error messages. */
#define OFPET12_EXPERIMENTER 0xffff
-/*
- * OXM Class IDs.
- * The high order bit differentiate reserved classes from member classes.
- * Classes 0x0000 to 0x7FFF are member classes, allocated by ONF.
- * Classes 0x8000 to 0xFFFE are reserved classes, reserved for standardisation.
- */
-enum ofp12_oxm_class {
- OFPXMC12_NXM_0 = 0x0000, /* Backward compatibility with NXM */
- OFPXMC12_NXM_1 = 0x0001, /* Backward compatibility with NXM */
- OFPXMC12_OPENFLOW_BASIC = 0x8000, /* Basic class for OpenFlow */
- OFPXMC15_PACKET_REGS = 0x8001, /* Packet registers (pipeline fields). */
- OFPXMC12_EXPERIMENTER = 0xffff, /* Experimenter class */
-};
-
-#define IS_OXM_HEADER(header) (NXM_VENDOR(header) == OFPXMC12_OPENFLOW_BASIC)
-
/* The VLAN id is 12-bits, so we can use the entire 16 bits to indicate
* special conditions.
*/