5 #ifndef ASYNC_EVENTS_HOOKS_OF1X_H_
6 #define ASYNC_EVENTS_HOOKS_OF1X_H_
9 #include "../of_switch.h"
12 #include "../../../pipeline/common/datapacket.h"
30 OF1X_PKT_IN_NO_MATCH = 0,
31 OF1X_PKT_IN_ACTION = 1,
32 OF1X_PKT_IN_INVALID_TTL = 2
void plaftorm_of1x_add_entry_hook(of1x_flow_entry_t *new_entry)
It can be used by hardware or other software (non rofl-pipeline) pipelines, to install the new entry...
OpenFlow-enabled v1.0, 1.2 and 1.3.2 switch abstraction.
rofl_result_t platform_pre_destroy_of1x_switch(of1x_switch_t *sw)
Allows the user of the library to perform other platform related actions when a switch is about the b...
OpenFlow v1.0, 1.2 and 1.3.2 flow entry structure.
enum of1x_flow_remove_reason of1x_flow_remove_reason_t
Flow remove reasons (enum ofp_flow_removed_reason)
void platform_of1x_modify_entry_hook(of1x_flow_entry_t *old_entry, of1x_flow_entry_t *mod, int reset_count)
It can be used by hardware or other software (non rofl-pipeline) pipelines, to modify an entry (singl...
ROFL_BEGIN_DECLS rofl_result_t platform_post_init_of1x_switch(of1x_switch_t *sw)
Allows the user of the library to pre-configure the switch, as well as perform other platform related...
void platform_of1x_remove_entry_hook(of1x_flow_entry_t *entry)
It can be used by hardware or other software (non rofl-pipeline) pipelines, to remove an entry (singl...
void platform_of1x_notify_flow_removed(const of1x_switch_t *sw, of1x_flow_remove_reason_t reason, of1x_flow_entry_t *removed_flow_entry)
Flow removed event notification.
void platform_of1x_packet_in(const of1x_switch_t *sw, uint8_t table_id, datapacket_t *pkt, uint16_t send_len, of_packet_in_reason_t reason)
Packet in event notification.
OpenFlow v1.0, 1.2 and 1.3.2 logical switch abstraction.
OpenFlow v1.0, 1.2 and 1.3.2 flow entry abstraction.
of1x_packet_in_reason
Packet-in reason (of12p_packet_in_reason enum)
void platform_of1x_update_stats_hook(of1x_flow_entry_t *entry)
It can be used by hardware or other software (non rofl-pipeline) pipelines, to update the stats of an...