From a923ce5915b69da86d0f4b2457c38cabe62a2e65 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Mon, 31 Oct 2022 11:07:14 +0100 Subject: nat: cleanup of deprecated features Type: refactor 1) Removed deprecated API. - These specific APIs do not have repleacement because features that they controled aren't part of current NAT44-ED implementation anymore. 2) Removed unused typedef of port allocation funciton. - Missed left over removed. Change-Id: Ib3f763449065eda7cdcb2c6565a9cae51baf23d6 Signed-off-by: Filip Varga --- src/plugins/nat/nat44-ed/nat44_ed.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/plugins/nat/nat44-ed/nat44_ed.h') diff --git a/src/plugins/nat/nat44-ed/nat44_ed.h b/src/plugins/nat/nat44-ed/nat44_ed.h index 6c64c754073..bc69648dc3f 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.h +++ b/src/plugins/nat/nat44-ed/nat44_ed.h @@ -480,13 +480,6 @@ u32 nat44_ed_get_in2out_worker_index (vlib_buffer_t *b, ip4_header_t *ip, u32 nat44_ed_get_out2in_worker_index (vlib_buffer_t *b, ip4_header_t *ip, u32 rx_fib_index, u8 is_output); -/* Return worker thread index for given packet */ -/* NAT address and port allocation function */ -typedef int (nat_alloc_out_addr_and_port_function_t) ( - snat_address_t *addresses, u32 fib_index, u32 thread_index, - ip_protocol_t proto, ip4_address_t *addr, u16 *port, u16 port_per_thread, - u32 snat_thread_index); - typedef struct nat_fib_s { u32 fib_index; -- cgit 1.2.3-korg