ROFL-pipeline
v0.6.0dev
|
OpenFlow v1.0, 1.2 and 1.3.2 logical switch abstraction. More...
#include <stdlib.h>
#include <string.h>
#include "rofl.h"
#include "../of_switch.h"
#include "pipeline/of1x_pipeline.h"
Go to the source code of this file.
Data Structures | |
struct | of1x_switch |
OpenFlow-enabled v1.0, 1.2 and 1.3.2 switch abstraction. More... | |
Macros | |
#define | OF1XP_NO_BUFFER 0xffffffff |
Typedefs | |
typedef struct of1x_switch | of1x_switch_t |
OpenFlow-enabled v1.0, 1.2 and 1.3.2 switch abstraction. More... | |
typedef of1x_switch_t | of1x_switch_snapshot_t |
Switch snapshot. More... | |
Functions | |
ROFL_BEGIN_DECLS of1x_switch_t * | of1x_init_switch (const char *name, of_version_t version, uint64_t dpid, unsigned int num_of_tables, enum of1x_matching_algorithm_available *ma_list) |
Creates an OpenFlow v1.0, 1.2 and 1.3.2 forwarding instance. More... | |
rofl_result_t | __of1x_reconfigure_switch (of1x_switch_t *sw, of_version_t version) |
rofl_result_t | __of1x_destroy_switch (of1x_switch_t *sw) |
rofl_result_t | __of1x_attach_port_to_switch_at_port_num (of1x_switch_t *sw, unsigned int port_num, switch_port_t *port) |
rofl_result_t | __of1x_attach_port_to_switch (of1x_switch_t *sw, switch_port_t *port, unsigned int *port_num) |
rofl_result_t | __of1x_detach_port_from_switch_by_port_num (of1x_switch_t *sw, unsigned int port_num) |
rofl_result_t | __of1x_detach_port_from_switch (of1x_switch_t *sw, switch_port_t *port) |
rofl_result_t | __of1x_detach_all_ports_from_switch (of1x_switch_t *sw) |
void | of1x_dump_switch (of1x_switch_t *sw, bool nbo) |
Dumps the OpenFlow v1.0, 1.2 and 1.3.2 forwarding instance, for debugging purposes. More... | |
void | of1x_full_dump_switch (of1x_switch_t *sw, bool nbo) |
Dumps the OpenFlow v1.0, 1.2 and 1.3.2 forwarding instance, for debugging purposes. More... | |
of1x_switch_snapshot_t * | __of1x_switch_get_snapshot (of1x_switch_t *sw) |
void | __of1x_switch_destroy_snapshot (of1x_switch_snapshot_t *snapshot) |
OpenFlow v1.0, 1.2 and 1.3.2 logical switch abstraction.
Definition in file of1x_switch.h.
typedef of1x_switch_t of1x_switch_snapshot_t |
Switch snapshot.
Definition at line 57 of file of1x_switch.h.