Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
openflow.h
1 /*
2  * openflow.h
3  *
4  * Created on: 02.03.2013
5  * Author: andi
6  */
7 
8 #ifndef OPENFLOW_H__
9 #define OPENFLOW_H__ 1
10 
11 #include <inttypes.h>
12 
13 #include "rofl/common/croflexception.h"
14 
15 #include "rofl/common/openflow/openflow10.h"
16 #include "rofl/common/openflow/openflow12.h"
17 #include "rofl/common/openflow/openflow13.h"
18 #include "rofl/common/openflow/openflow_experimental.h"
19 
20 namespace rofl {
21 namespace openflow {
22 
23 class base {
24 public:
25  static uint32_t
26  get_ofp_no_buffer(uint8_t ofp_version);
27 
28  static uint32_t
29  get_ofpp_flood_port(uint8_t ofp_version);
30 
31  static uint32_t
32  get_ofpp_controller_port(uint8_t ofp_version);
33 
34  static uint8_t
35  get_ofptt_all(uint8_t ofp_version);
36 };
37 
38 };
39 };
40 
41 #endif /* OPENFLOW_H_ */
Definition: openflow.h:23