diff options
author | Ben Pfaff <blp@nicira.com> | 2013-06-24 13:49:40 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-06-25 10:52:20 -0700 |
commit | 514887ee4666894c4d0b93960ce3d33515611fa9 (patch) | |
tree | 868bf3d824af6a6eaf7415b15512e42ac480aede /include/openflow/openflow-1.2.h | |
parent | 638a19b04578669b5d43cb4d91391a9e1da93dc7 (diff) | |
download | openvswitch-514887ee4666894c4d0b93960ce3d33515611fa9.tar.gz |
ofp-errors: Implement OpenFlow 1.2+ experimenter error codes.
OpenFlow 1.2 standardized experimenter error codes in a way different from
the Nicira extension. This commit implements the OpenFlow 1.2+ version.
This commit also makes it easy to add error codes for new experimenter IDs
by adding new *_VENDOR_ID definitions to openflow-common.h.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-1.2.h')
-rw-r--r-- | include/openflow/openflow-1.2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/openflow/openflow-1.2.h b/include/openflow/openflow-1.2.h index 554631340..29770472e 100644 --- a/include/openflow/openflow-1.2.h +++ b/include/openflow/openflow-1.2.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2011, 2012 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2011, 2012, 2013 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -55,6 +55,9 @@ #include "openflow/openflow-1.1.h" +/* Error type for experimenter error messages. */ +#define OFPET12_EXPERIMENTER 0xffff + /* * OXM Class IDs. * The high order bit differentiate reserved classes from member classes. |