File tree Expand file tree Collapse file tree
src/openflow/openflow/protocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #ifndef __OPENFLOW_OPENFLOW_H
2+ #define __OPENFLOW_OPENFLOW_H
3+
14
25#include <inet/common/INETDefs.h>
36
69#define OFP_141 0x05 //currently not supported.
710#define OFP_151 0x06 //currently not supported.
811
9- #if INET_VERSION < 0x0403 || INET_VERSION == 0x0403 && INET_PATCH_LEVEL < 0x02
10- #error OpenFlow: Incompatible INET version. At least INET version v4.3.2 required.
11- #endif
12-
13- #if INET_VERSION < 0x0404
14- constexpr int ETHERTYPE_LLDP = 0x88CC ;
12+ #if INET_VERSION < 0x0404 || INET_VERSION == 0x0404 && INET_PATCH_LEVEL < 0x02
13+ #error OpenFlow: Incompatible INET version. At least INET version v4.4.2 required.
1514#endif
1615
1716#ifndef OFP_VERSION_IN_USE
@@ -35,3 +34,4 @@ constexpr int ETHERTYPE_LLDP = 0x88CC;
3534//#endif
3635//
3736
37+ #endif // __OPENFLOW_OPENFLOW_H
You can’t perform that action at this time.
0 commit comments