FD.io VPP  v19.08.3-2-gbabecb413
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

◆ mma_rules_table_add_rule()

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:

◆ mma_rules_table_del_rule()

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:

◆ mma_rules_table_lookup()

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:

◆ mma_rules_table_lookup_rule()

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:

◆ mma_rules_table_rule_index()

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:

◆ mma_sort()

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() [1/2]

RTT ( mma_rule  )

Definition at line 52 of file mma_template.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RTT() [2/2]

static RTT ( mma_rules_table  )
static

Definition at line 137 of file mma_template.c.

◆ rule_is_exact_match()

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:

◆ rule_is_match_for_key()

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: