diff options
author | Klement Sekera <ksekera@cisco.com> | 2021-03-15 15:46:09 +0100 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2021-03-15 16:36:35 +0100 |
commit | 350771de795ed5766e3ef3161937f96dca43b512 (patch) | |
tree | a7c3a9a04db0c78db0cfd1613d2be10bfb901dce /src/plugins/nat | |
parent | 79a31db11d677bec5b55f81fd0598197644ee216 (diff) |
nat: remove unused parameter
Type: refactor
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ifb4a9c52fd2c5dd9f3f5cf41214aa1851f6d7acd
Diffstat (limited to 'src/plugins/nat')
-rw-r--r-- | src/plugins/nat/lib/ipfix_logging.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/nat/lib/ipfix_logging.c b/src/plugins/nat/lib/ipfix_logging.c index 2fb8912226d..d4ede6bdd95 100644 --- a/src/plugins/nat/lib/ipfix_logging.c +++ b/src/plugins/nat/lib/ipfix_logging.c @@ -536,8 +536,8 @@ nat_ipfix_header_create (flow_report_main_t * frm, } static inline void -nat_ipfix_send (u32 thread_index, flow_report_main_t * frm, - vlib_frame_t * f, vlib_buffer_t * b0, u16 template_id) +nat_ipfix_send (flow_report_main_t *frm, vlib_frame_t *f, vlib_buffer_t *b0, + u16 template_id) { ip4_ipfix_template_packet_t *tp; ipfix_message_header_t *h = 0; @@ -674,7 +674,7 @@ nat_ipfix_logging_nat44_ses (u32 thread_index, u8 nat_event, u32 src_ip, template_id = clib_atomic_fetch_or ( &silm->nat44_session_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->nat44_session_frame = 0; sitd->nat44_session_buffer = 0; offset = 0; @@ -758,7 +758,7 @@ nat_ipfix_logging_addr_exhausted (u32 thread_index, u32 pool_id, int do_flush) template_id = clib_atomic_fetch_or ( &silm->addr_exhausted_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->addr_exhausted_frame = 0; sitd->addr_exhausted_buffer = 0; offset = 0; @@ -850,7 +850,7 @@ nat_ipfix_logging_max_entries_per_usr (u32 thread_index, template_id = clib_atomic_fetch_or ( &silm->max_entries_per_user_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->max_entries_per_user_frame = 0; sitd->max_entries_per_user_buffer = 0; offset = 0; @@ -938,7 +938,7 @@ nat_ipfix_logging_max_ses (u32 thread_index, u32 limit, int do_flush) template_id = clib_atomic_fetch_or ( &silm->max_sessions_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->max_sessions_frame = 0; sitd->max_sessions_buffer = 0; offset = 0; @@ -1026,7 +1026,7 @@ nat_ipfix_logging_max_bib (u32 thread_index, u32 limit, int do_flush) template_id = clib_atomic_fetch_or ( &silm->max_bibs_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->max_bibs_frame = 0; sitd->max_bibs_buffer = 0; offset = 0; @@ -1128,7 +1128,7 @@ nat_ipfix_logging_nat64_bibe (u32 thread_index, u8 nat_event, template_id = clib_atomic_fetch_or ( &silm->nat64_bib_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->nat64_bib_frame = 0; sitd->nat64_bib_buffer = 0; offset = 0; @@ -1244,7 +1244,7 @@ nat_ipfix_logging_nat64_ses (u32 thread_index, u8 nat_event, template_id = clib_atomic_fetch_or ( &silm->nat64_ses_template_id, 0); - nat_ipfix_send (thread_index, frm, f, b0, template_id); + nat_ipfix_send (frm, f, b0, template_id); sitd->nat64_ses_frame = 0; sitd->nat64_ses_buffer = 0; offset = 0; |