From 2cf583e3d6b7f8290e4fefec3b70968048d8dae0 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Wed, 26 May 2021 18:45:59 +0200 Subject: nat: nat44-ed configuration refactor & cleanup Refactoring static mapping configuration functions based on feature type. Type: refactor Signed-off-by: Filip Varga Change-Id: I007d9b0e9717ced613fbcef2b11b6853f479be1e --- src/plugins/nat/nat44-ed/nat44_ed_handoff.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/plugins/nat/nat44-ed/nat44_ed_handoff.c') diff --git a/src/plugins/nat/nat44-ed/nat44_ed_handoff.c b/src/plugins/nat/nat44-ed/nat44_ed_handoff.c index 918d7728c1d..c5ceff4e454 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_handoff.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_handoff.c @@ -294,7 +294,6 @@ VLIB_NODE_FN (snat_in2out_worker_handoff_node) (vlib_main_t * vm, return nat44_worker_handoff_fn_inline (vm, node, frame, 0, 1); } -/* *INDENT-OFF* */ VLIB_REGISTER_NODE (snat_in2out_worker_handoff_node) = { .name = "nat44-in2out-worker-handoff", .vector_size = sizeof (u32), @@ -304,7 +303,6 @@ VLIB_REGISTER_NODE (snat_in2out_worker_handoff_node) = { .n_errors = ARRAY_LEN(nat44_handoff_error_strings), .error_strings = nat44_handoff_error_strings, }; -/* *INDENT-ON* */ VLIB_NODE_FN (snat_in2out_output_worker_handoff_node) (vlib_main_t * vm, vlib_node_runtime_t * @@ -314,7 +312,6 @@ VLIB_NODE_FN (snat_in2out_output_worker_handoff_node) (vlib_main_t * vm, return nat44_worker_handoff_fn_inline (vm, node, frame, 1, 1); } -/* *INDENT-OFF* */ VLIB_REGISTER_NODE (snat_in2out_output_worker_handoff_node) = { .name = "nat44-in2out-output-worker-handoff", .vector_size = sizeof (u32), @@ -324,7 +321,6 @@ VLIB_REGISTER_NODE (snat_in2out_output_worker_handoff_node) = { .n_errors = ARRAY_LEN(nat44_handoff_error_strings), .error_strings = nat44_handoff_error_strings, }; -/* *INDENT-ON* */ VLIB_NODE_FN (snat_out2in_worker_handoff_node) (vlib_main_t * vm, vlib_node_runtime_t * node, @@ -333,7 +329,6 @@ VLIB_NODE_FN (snat_out2in_worker_handoff_node) (vlib_main_t * vm, return nat44_worker_handoff_fn_inline (vm, node, frame, 0, 0); } -/* *INDENT-OFF* */ VLIB_REGISTER_NODE (snat_out2in_worker_handoff_node) = { .name = "nat44-out2in-worker-handoff", .vector_size = sizeof (u32), @@ -343,7 +338,6 @@ VLIB_REGISTER_NODE (snat_out2in_worker_handoff_node) = { .n_errors = ARRAY_LEN(nat44_handoff_error_strings), .error_strings = nat44_handoff_error_strings, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON -- cgit 1.2.3-korg