FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | RTT |
struct | RTT |
struct | RTT |
Macros | |
#define | RT(a) __rt(a, MMA_RT_TYPE) |
#define | RTT(a) __rtt(a, MMA_RT_TYPE) |
#define | MMA_TABLE_INVALID_INDEX ((u32)~0) |
Typedefs | |
typedef int(*)(RTT(mma_rule)*rule1, RTT(mma_rule)*rule2 | RTT) (rule_cmp_fn) |
Functions | |
u32 RT() | mma_table_lookup (RTT(mma_rules_table)*srt, RTT(mma_mask_or_match)*key, u32 rule_index) |
u32 RT() | mma_table_lookup_rule (RTT(mma_rules_table)*srt, RTT(mma_mask_or_match)*key, u32 rule_index) |
int RT() | mma_table_add_rule (RTT(mma_rules_table)*srt, RTT(mma_rule)*rule) |
int RT() | mma_table_del_rule (RTT(mma_rules_table)*srt, RTT(mma_rule)*rule, u32 rule_index) |
RTT (mma_rule)*RT(mma_rules_table_rule_alloc)(RTT(mma_rules_table)*srt) | |
u32 RT() | mma_rules_table_rule_index (RTT(mma_rules_table)*srt, RTT(mma_rule)*sr) |
Variables | |
u32 | srt_index |
#define MMA_TABLE_INVALID_INDEX ((u32)~0) |
Definition at line 33 of file mma_template.h.
#define RT | ( | a | ) | __rt(a, MMA_RT_TYPE) |
Definition at line 27 of file mma_template.h.
#define RTT | ( | a | ) | __rtt(a, MMA_RT_TYPE) |
Definition at line 31 of file mma_template.h.
Definition at line 51 of file mma_template.h.
u32 RT() mma_table_lookup | ( | RTT(mma_rules_table)* | srt, |
RTT(mma_mask_or_match)* | key, | ||
u32 | rule_index | ||
) |
u32 RT() mma_table_lookup_rule | ( | RTT(mma_rules_table)* | srt, |
RTT(mma_mask_or_match)* | key, | ||
u32 | rule_index | ||
) |
RTT | ( | mma_rule | ) |
u32 srt_index |
Definition at line 80 of file mma_template.h.