ROFL-pipeline  v0.6.0dev
Data Fields

Set of functions calls to be implemented in order to extend Matching algorithms for OF versions 1.0, 1.2 and 1.3.2. More...

#include <matching_algorithms.h>

Data Fields

rofl_result_t(* init_hook )(struct of1x_flow_table *const table)
 Allows to initialize matching algorithm table state. More...
 
rofl_result_t(* destroy_hook )(struct of1x_flow_table *const table)
 Allows to destroy matching algorithm table state. More...
 
rofl_of1x_fm_result_t(* add_flow_entry_hook )(struct of1x_flow_table *const table, of1x_flow_entry_t *const entry, bool check_overlap, bool reset_counts)
 Adds a flow entry to the table. More...
 
rofl_result_t(* modify_flow_entry_hook )(struct of1x_flow_table *const table, of1x_flow_entry_t *const entry, const enum of1x_flow_removal_strictness strict, bool reset_counts)
 Modifies a set of flow entries in the table. More...
 
rofl_result_t(* remove_flow_entry_hook )(struct of1x_flow_table *const table, of1x_flow_entry_t *const entry, of1x_flow_entry_t *const specific_entry, const enum of1x_flow_removal_strictness strict, uint32_t out_port, uint32_t out_group, of1x_flow_remove_reason_t reason, of1x_mutex_acquisition_required_t mutex_acquired)
 Removes one or more flow entries in the table. More...
 
of1x_flow_entry_t *(* find_best_match_hook )(unsigned tid, struct of1x_flow_table *const table, packet_matches_t *const pkt_matches)
 Finds the best match for the packet according the pkt_matches. More...
 
rofl_result_t(* get_flow_stats_hook )(struct of1x_flow_table *const table, uint64_t cookie, uint64_t cookie_mask, uint32_t out_port, uint32_t out_group, of1x_match_group_t *const matches, of1x_stats_flow_msg_t *msg)
 Retrieves flow stats according to spec The operation MUST comply with the behaviour defined in the OpenFlow specifications for versions 1.0, 1.2 and 1.3.2. More...
 
rofl_result_t(* get_flow_aggregate_stats_hook )(struct of1x_flow_table *const table, uint64_t cookie, uint64_t cookie_mask, uint32_t out_port, uint32_t out_group, of1x_match_group_t *const matches, of1x_stats_flow_aggregate_msg_t *msg)
 Retrieves aggregate flow stats according to spec The operation MUST comply with the behaviour defined in the OpenFlow specifications for versions 1.0, 1.2 and 1.3.2. More...
 
of1x_flow_entry_t *(* find_entry_using_group_hook )(struct of1x_flow_table *const table, const unsigned int group_id)
 The find_entry_using_group_hook() must retrieve the first entry in the table that contain actions refering to group_id and return it. More...
 
void(* dump_hook )(struct of1x_flow_table *const table, bool raw_nbo)
 Dump hook. More...
 
char description [OF1X_MATCHING_ALGORITHMS_MAX_DESCRIPTION_LENGTH]
 Description of the matching algorithm. More...
 

Detailed Description

Set of functions calls to be implemented in order to extend Matching algorithms for OF versions 1.0, 1.2 and 1.3.2.

Some calls are optional.

Definition at line 53 of file matching_algorithms.h.


The documentation for this struct was generated from the following file: