ROFL-pipeline  v0.6.0dev
Data Structures | Macros | Typedefs | Enumerations | Functions
of1x_pipeline.h File Reference

OpenFlow v1.0, 1.2 and 1.3.2 pipeline abstraction. More...

#include <stdlib.h>
#include "rofl.h"
#include "of1x_flow_table.h"
#include "of1x_group_table.h"
#include "../../../common/bitmap.h"
#include "../../../common/datapacket.h"
#include "../../of_switch.h"

Go to the source code of this file.

Data Structures

struct  of1x_pipeline
 OpenFlow v1.0, 1.2 and 1.3.2 pipeline abstraction data structure. More...
 

Macros

#define OF1X_MAX_FLOWTABLES   255
 
#define OF1X_FLOW_TABLE_ALL   0xFF
 
#define OF1X_DEFAULT_MISS_SEND_LEN   128
 

Typedefs

typedef struct of1x_pipeline of1x_pipeline_t
 OpenFlow v1.0, 1.2 and 1.3.2 pipeline abstraction data structure. More...
 
typedef of1x_pipeline_t of1x_pipeline_snapshot_t
 

Enumerations

enum  of1x_capabilities {
  OF1X_CAP_FLOW_STATS = 1 << 0, OF1X_CAP_TABLE_STATS = 1 << 1, OF1X_CAP_PORT_STATS = 1 << 2, OF1X_CAP_GROUP_STATS = 1 << 3,
  OF1X_CAP_IP_REASM = 1 << 5, OF1X_CAP_QUEUE_STATS = 1 << 6, OF1X_CAP_ARP_MATCH_IP = 1 << 7, OF1X_CAP_PORT_BLOCKED = 1 << 8,
  OF1X_CAP_STP = 1 << 31
}
 Capabilities supported by the datapath pipeline. More...
 

Functions

ROFL_BEGIN_DECLS rofl_result_t __of1x_init_pipeline (struct of1x_switch *sw, const unsigned int num_of_tables, enum of1x_matching_algorithm_available *list)
 
rofl_result_t __of1x_destroy_pipeline (of1x_pipeline_t *pipeline)
 
rofl_result_t __of1x_purge_pipeline_entries (of1x_pipeline_t *pipeline)
 
rofl_result_t __of1x_set_pipeline_tables_defaults (of1x_pipeline_t *pipeline, of_version_t version)
 
rofl_result_t __of1x_pipeline_get_snapshot (of1x_pipeline_t *pipeline, of1x_pipeline_snapshot_t *snapshot)
 
void __of1x_pipeline_destroy_snapshot (of1x_pipeline_snapshot_t *snapshot)
 

Detailed Description

OpenFlow v1.0, 1.2 and 1.3.2 pipeline abstraction.

Author
Marc Sune<marc.sune (at) bisdn.de>

Definition in file of1x_pipeline.h.

Typedef Documentation

OpenFlow v1.0, 1.2 and 1.3.2 pipeline abstraction data structure.

Enumeration Type Documentation

Capabilities supported by the datapath pipeline.

WARNING: This is not a direct mapping of OFPC_XXX.

Definition at line 30 of file of1x_pipeline.h.