diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2023-06-28 10:47:32 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-07-26 01:09:17 +0000 |
commit | 0028e6f31624246e831b5b1a13dc46ab1d864fa7 (patch) | |
tree | 5e20818e09e5eb269a785770b1166d7ead129eec /src/vnet/session/session_rules_table.h | |
parent | cc8249c5fde1b00b043066617d35325dd1606cd6 (diff) |
session: use session error type instead of vnet error
Type: improvement
Change-Id: Ie0bad9e03ac2e29da23af01ee7f63cb44489ad9c
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/session/session_rules_table.h')
-rw-r--r-- | src/vnet/session/session_rules_table.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/session/session_rules_table.h b/src/vnet/session/session_rules_table.h index 206ef2f380f..d61f2c60ca9 100644 --- a/src/vnet/session/session_rules_table.h +++ b/src/vnet/session/session_rules_table.h @@ -18,6 +18,7 @@ #include <vnet/vnet.h> #include <vnet/fib/fib.h> +#include <vnet/session/session_types.h> #include <vnet/session/transport.h> #include <vnet/session/mma_16.h> #include <vnet/session/mma_40.h> @@ -111,8 +112,9 @@ void session_rules_table_show_rule (vlib_main_t * vm, ip46_address_t * lcl_ip, u16 lcl_port, ip46_address_t * rmt_ip, u16 rmt_port, u8 is_ip4); -int session_rules_table_add_del (session_rules_table_t * srt, - session_rule_table_add_del_args_t * args); +session_error_t +session_rules_table_add_del (session_rules_table_t *srt, + session_rule_table_add_del_args_t *args); u8 *session_rules_table_rule_tag (session_rules_table_t * srt, u32 ri, u8 is_ip4); void session_rules_table_init (session_rules_table_t * srt); |