diff options
author | Florin Coras <fcoras@cisco.com> | 2017-11-05 23:07:07 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-11-06 21:45:22 +0000 |
commit | c97a7398fc465c480a3ac66cf4b0f91a034ed564 (patch) | |
tree | 31467dcc219751cd89903e83b66c3315e31be947 /src/vnet/session/mma_template.h | |
parent | a3d933c87f146df801aa3947c25b6f1b2538f847 (diff) |
session: add rule tags
Change-Id: Id5ebb410f509ac4c83d60e48efd54e00035e5ce6
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/mma_template.h')
-rw-r--r-- | src/vnet/session/mma_template.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/mma_template.h b/src/vnet/session/mma_template.h index 8b6fd75e69c..fd5e3ea5717 100644 --- a/src/vnet/session/mma_template.h +++ b/src/vnet/session/mma_template.h @@ -30,7 +30,7 @@ #define __rtt(a, b) _rtt(a,b) #define RTT(a) __rtt(a, MMA_RT_TYPE) -#define SESSION_RULES_TABLE_INVALID_INDEX ((u32)~0) +#define MMA_TABLE_INVALID_INDEX ((u32)~0) typedef struct { @@ -79,7 +79,8 @@ RT (session_rule_free) (RTT (mma_rules_table) * srt, RTT (mma_rule) * rule); RTT (mma_rule) * RT (mma_table_get_rule) (RTT (mma_rules_table) * srt, u32 srt_index); u32 -RT (mma_table_rule_index) (RTT (mma_rules_table) * srt, RTT (mma_rule) * sr); +RT (mma_rules_table_rule_index) (RTT (mma_rules_table) * srt, + RTT (mma_rule) * sr); #endif /* SRC_VNET_SESSION_MMA_TEMPLATE_H_ */ /* |