ROFL-pipeline  v0.6.0dev
available_ma.c
1 
6 #include "matching_algorithms.h"
7 #include "available_ma.h"
8 
9 #include <rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/loop/of1x_loop_ma.h>
10 #include <rofl/datapath/pipeline/openflow/openflow1x/pipeline/matching_algorithms/l2hash/of1x_l2hash_ma.h>
11 extern of1x_matching_algorithms_functions_t of1x_matching_algorithm_loop_maf;
12 extern of1x_matching_algorithms_functions_t of1x_matching_algorithm_l2hash_maf;
13 /* Main matching algorithm array */
14 of1x_matching_algorithms_functions_t of1x_matching_algorithms[of1x_matching_algorithm_count];
15 
16 
17 /* Filling */
18 void __of1x_generate_matching_algorithm_list(){
19 of1x_matching_algorithms[0] = of1x_matching_algorithm_loop_maf;
20 of1x_matching_algorithms[1] = of1x_matching_algorithm_l2hash_maf;
21 }
Set of functions calls to be implemented in order to extend Matching algorithms for OF versions 1...