5 #ifndef __OF_SWITCH_PP_H__
6 #define __OF_SWITCH_PP_H__
10 #include "../util/pp_guard.h"
14 #include "../util/logging.h"
51 if(unlikely(tid >= ROFL_PIPELINE_MAX_TIDS)){
52 ROFL_PIPELINE_ERR(
"Invalid tid: %ui. ROFL_PIPELINE_MAX_TIDS is %u\n", tid, ROFL_PIPELINE_MAX_TIDS);
57 __of1x_process_packet_pipeline(tid, sw, pkt);
OpenFlow-enabled switch abstraction (version-indepedent part).
OpenFlow logical switch meta-abstraction.
OpenFlow v1.0, 1.2 and 1.3.2 pipeline packet processing routines.
static ROFL_BEGIN_DECLS rofl_result_t of_process_packet_pipeline(const unsigned int tid, const of_switch_t *sw, struct datapacket *const pkt)
Processes a packet through the OpenFlow pipeline.