FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
mma_template.c File Reference
+ Include dependency graph for mma_template.c:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u8 RT() rule_is_exact_match (RTT(mma_rule)*key, RTT(mma_rule)*r)
 
u8 RT() rule_is_match_for_key (RTT(mma_mask_or_match)*key, RTT(mma_rule)*r)
 
 RTT (mma_rule)
 
u32 RT() mma_rules_table_rule_index (RTT(mma_rules_table)*srt, RTT(mma_rule)*sr)
 
u32 RT() mma_rules_table_lookup (RTT(mma_rules_table)*srt, RTT(mma_mask_or_match)*key, u32 rule_index)
 Lookup key in table. More...
 
u32 RT() mma_rules_table_lookup_rule (RTT(mma_rules_table)*srt, RTT(mma_mask_or_match)*key, u32 rule_index)
 
static RTT (mma_rules_table)
 
void RT() mma_sort (RTT(mma_rules_table)*srt, u32 *next_indices)
 
int RT() mma_rules_table_add_rule (RTT(mma_rules_table)*srt, RTT(mma_rule)*rule)
 
int RT() mma_rules_table_del_rule (RTT(mma_rules_table)*srt, RTT(mma_rule)*rule, u32 rule_index)
 

Function Documentation

int RT() mma_rules_table_add_rule ( RTT(mma_rules_table)*  srt,
RTT(mma_rule)*  rule 
)

Definition at line 156 of file mma_template.c.

+ Here is the call graph for this function:

int RT() mma_rules_table_del_rule ( RTT(mma_rules_table)*  srt,
RTT(mma_rule)*  rule,
u32  rule_index 
)

Definition at line 210 of file mma_template.c.

+ Here is the call graph for this function:

u32 RT() mma_rules_table_lookup ( RTT(mma_rules_table)*  srt,
RTT(mma_mask_or_match)*  key,
u32  rule_index 
)

Lookup key in table.

This should be optimized .. eventually

Definition at line 90 of file mma_template.c.

+ Here is the call graph for this function:

u32 RT() mma_rules_table_lookup_rule ( RTT(mma_rules_table)*  srt,
RTT(mma_mask_or_match)*  key,
u32  rule_index 
)

Definition at line 113 of file mma_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 RT() mma_rules_table_rule_index ( RTT(mma_rules_table)*  srt,
RTT(mma_rule)*  sr 
)

Definition at line 77 of file mma_template.c.

+ Here is the caller graph for this function:

void RT() mma_sort ( RTT(mma_rules_table)*  srt,
u32 next_indices 
)

Definition at line 149 of file mma_template.c.

+ Here is the call graph for this function:

RTT ( mma_rule  )

Definition at line 52 of file mma_template.c.

+ Here is the caller graph for this function:

static RTT ( mma_rules_table  )
static

Definition at line 137 of file mma_template.c.

u8 RT() rule_is_exact_match ( RTT(mma_rule)*  key,
RTT(mma_rule)*  r 
)

Definition at line 18 of file mma_template.c.

+ Here is the caller graph for this function:

u8 RT() rule_is_match_for_key ( RTT(mma_mask_or_match)*  key,
RTT(mma_rule)*  r 
)

Definition at line 36 of file mma_template.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: