diff options
Diffstat (limited to 'src/plugins/nsim')
-rw-r--r-- | src/plugins/nsim/node.c | 4 | ||||
-rw-r--r-- | src/plugins/nsim/nsim.c | 14 | ||||
-rw-r--r-- | src/plugins/nsim/nsim_input.c | 2 |
3 files changed, 0 insertions, 20 deletions
diff --git a/src/plugins/nsim/node.c b/src/plugins/nsim/node.c index 159db4a1cc7..a8ba909ab07 100644 --- a/src/plugins/nsim/node.c +++ b/src/plugins/nsim/node.c @@ -299,7 +299,6 @@ VLIB_NODE_FN (nsim_node) (vlib_main_t * vm, vlib_node_runtime_t * node, 0 /* is_trace */ , 1 /* is_cross_connect */ ); } -/* *INDENT-OFF* */ #ifndef CLIB_MARCH_VARIANT VLIB_REGISTER_NODE (nsim_node) = { @@ -319,7 +318,6 @@ VLIB_REGISTER_NODE (nsim_node) = }, }; #endif /* CLIB_MARCH_VARIANT */ -/* *INDENT-ON* */ VLIB_NODE_FN (nsim_feature_node) (vlib_main_t * vm, vlib_node_runtime_t * node, @@ -333,7 +331,6 @@ VLIB_NODE_FN (nsim_feature_node) (vlib_main_t * vm, 0 /* is_trace */ , 0 /* is_cross_connect */ ); } -/* *INDENT-OFF* */ #ifndef CLIB_MARCH_VARIANT VLIB_REGISTER_NODE (nsim_feature_node) = { @@ -353,7 +350,6 @@ VLIB_REGISTER_NODE (nsim_feature_node) = }, }; #endif /* CLIB_MARCH_VARIANT */ -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON diff --git a/src/plugins/nsim/nsim.c b/src/plugins/nsim/nsim.c index 45b5e11a902..1c5b26bbaaa 100644 --- a/src/plugins/nsim/nsim.c +++ b/src/plugins/nsim/nsim.c @@ -334,7 +334,6 @@ VLIB_CONFIG_FUNCTION (nsim_config, "nsim"); * @cliend * @cliexcmd{nsim enable-disable <intfc> <intfc> [disable]} ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (nsim_enable_disable_command, static) = { .path = "nsim cross-connect enable-disable", @@ -343,7 +342,6 @@ VLIB_CLI_COMMAND (nsim_enable_disable_command, static) = "<interface-name-2> [disable]", .function = nsim_cross_connect_enable_disable_command_fn, }; -/* *INDENT-ON* */ /* API message handler */ static void vl_api_nsim_cross_connect_enable_disable_t_handler @@ -523,7 +521,6 @@ nsim_output_feature_enable_disable_command_fn (vlib_main_t * vm, * @cliend * @cliexcmd{nsim output-feature enable-disable <intfc> [disable]} ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (nsim_output_feature_enable_disable_command, static) = { .path = "nsim output-feature enable-disable", @@ -531,7 +528,6 @@ VLIB_CLI_COMMAND (nsim_output_feature_enable_disable_command, static) = "nsim output-feature enable-disable <interface-name> [disable]", .function = nsim_output_feature_enable_disable_command_fn, }; -/* *INDENT-ON* */ #include <nsim/nsim.api.c> static clib_error_t * @@ -550,30 +546,24 @@ nsim_init (vlib_main_t * vm) VLIB_INIT_FUNCTION (nsim_init); -/* *INDENT-OFF* */ VNET_FEATURE_INIT (nsim, static) = { .arc_name = "device-input", .node_name = "nsim", .runs_before = VNET_FEATURES ("ethernet-input"), }; -/* *INDENT-ON */ -/* *INDENT-OFF* */ VNET_FEATURE_INIT (nsim_feature, static) = { .arc_name = "interface-output", .node_name = "nsim-output-feature", .runs_before = VNET_FEATURES ("interface-output-arc-end"), }; -/* *INDENT-ON */ -/* *INDENT-OFF* */ VLIB_PLUGIN_REGISTER () = { .version = VPP_BUILD_VER, .description = "Network Delay Simulator", }; -/* *INDENT-ON* */ static uword unformat_delay (unformat_input_t * input, va_list * args) @@ -797,7 +787,6 @@ set_nsim_command_fn (vlib_main_t * vm, * @cliend * @cliexcmd{set nsim delay <nn> bandwidth <bb> packet-size <nn>} ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (set_nsim_command, static) = { .path = "set nsim", @@ -805,7 +794,6 @@ VLIB_CLI_COMMAND (set_nsim_command, static) = " [packets-per-drop <nn>][drop-fraction <f64: 0.0 - 1.0>]", .function = set_nsim_command_fn, }; -/* *INDENT-ON*/ static clib_error_t * @@ -842,14 +830,12 @@ show_nsim_command_fn (vlib_main_t * vm, * @cliexcmd{show nsim} ?*/ -/* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_nsim_command, static) = { .path = "show nsim", .short_help = "Display network delay simulator configuration", .function = show_nsim_command_fn, }; -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON diff --git a/src/plugins/nsim/nsim_input.c b/src/plugins/nsim/nsim_input.c index 65a7ae11251..889d9c9841f 100644 --- a/src/plugins/nsim/nsim_input.c +++ b/src/plugins/nsim/nsim_input.c @@ -126,7 +126,6 @@ VLIB_NODE_FN (nsim_input_node) (vlib_main_t * vm, vlib_node_runtime_t * node, } -/* *INDENT-OFF* */ #ifndef CLIB_MARCH_VARIANT VLIB_REGISTER_NODE (nsim_input_node) = { @@ -142,7 +141,6 @@ VLIB_REGISTER_NODE (nsim_input_node) = .error_strings = nsim_tx_error_strings, }; #endif /* CLIB_MARCH_VARIANT */ -/* *INDENT-ON* */ /* * fd.io coding-style-patch-verification: ON |