summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-10-17 12:51:18 +0200
committerOle Trøan <otroan@employees.org>2016-10-17 12:18:21 +0000
commite33b9e0a878265bcbeb3290494b82b16d0f65827 (patch)
treeafaa786f381710a6eb5a4e11174357d1af9883f0
parenta6b31779f56f2b0b538b8e7591e62c545d5a05d8 (diff)
style: fix VLIB_NODE_FUNCTION_MULTIARCH indent
Change-Id: I9c23ddbbd576e8c900ba82425572ed7a3c4f56e3 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--vnet/vnet/handoff.c14
-rw-r--r--vnet/vnet/sr/sr.c21
-rw-r--r--vnet/vnet/sr/sr_replicate.c6
3 files changed, 26 insertions, 15 deletions
diff --git a/vnet/vnet/handoff.c b/vnet/vnet/handoff.c
index 05eea0329b1..32c665d0c99 100644
--- a/vnet/vnet/handoff.c
+++ b/vnet/vnet/handoff.c
@@ -222,11 +222,13 @@ VLIB_REGISTER_NODE (worker_handoff_node) = {
[0] = "error-drop",
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (worker_handoff_node, worker_handoff_node_fn)
- int interface_handoff_enable_disable (vlib_main_t * vm, u32 sw_if_index,
- uword * bitmap, int enable_disable)
+/* *INDENT-ON* */
+
+int
+interface_handoff_enable_disable (vlib_main_t * vm, u32 sw_if_index,
+ uword * bitmap, int enable_disable)
{
handoff_main_t *hm = &handoff_main;
vnet_sw_interface_t *sw;
@@ -522,10 +524,12 @@ VLIB_REGISTER_NODE (handoff_dispatch_node) = {
[HANDOFF_DISPATCH_NEXT_MPLS_INPUT] = "mpls-input",
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (handoff_dispatch_node, handoff_dispatch_node_fn)
- clib_error_t *handoff_init (vlib_main_t * vm)
+/* *INDENT-ON* */
+
+clib_error_t *
+handoff_init (vlib_main_t * vm)
{
handoff_main_t *hm = &handoff_main;
vlib_thread_main_t *tm = vlib_get_thread_main ();
diff --git a/vnet/vnet/sr/sr.c b/vnet/vnet/sr/sr.c
index 086cbe965b6..6a7856592b8 100644
--- a/vnet/vnet/sr/sr.c
+++ b/vnet/vnet/sr/sr.c
@@ -729,12 +729,13 @@ VLIB_REGISTER_NODE (sr_rewrite_node) = {
#undef _
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (sr_rewrite_node, sr_rewrite)
- static int ip6_delete_route_no_next_hop (ip6_address_t * dst_address_arg,
- u32 dst_address_length,
- u32 rx_table_id)
+/* *INDENT-ON* */
+
+static int
+ip6_delete_route_no_next_hop (ip6_address_t * dst_address_arg,
+ u32 dst_address_length, u32 rx_table_id)
{
fib_prefix_t pfx = {
.fp_len = dst_address_length,
@@ -2176,10 +2177,12 @@ VLIB_REGISTER_NODE (sr_fix_dst_addr_node) = {
#undef _
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (sr_fix_dst_addr_node, sr_fix_dst_addr)
- static clib_error_t *sr_init (vlib_main_t * vm)
+/* *INDENT-ON* */
+
+static clib_error_t *
+sr_init (vlib_main_t * vm)
{
ip6_sr_main_t *sm = &sr_main;
clib_error_t *error = 0;
@@ -2852,10 +2855,12 @@ VLIB_REGISTER_NODE (sr_local_node, static) = {
#undef _
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (sr_local_node, sr_local)
- ip6_sr_main_t *sr_get_main (vlib_main_t * vm)
+/* *INDENT-ON* */
+
+ip6_sr_main_t *
+sr_get_main (vlib_main_t * vm)
{
vlib_call_init_function (vm, sr_init);
ASSERT (sr_local_node.index);
diff --git a/vnet/vnet/sr/sr_replicate.c b/vnet/vnet/sr/sr_replicate.c
index 5fd9ef04b0f..9cc7c5a0dde 100644
--- a/vnet/vnet/sr/sr_replicate.c
+++ b/vnet/vnet/sr/sr_replicate.c
@@ -397,10 +397,12 @@ VLIB_REGISTER_NODE (sr_replicate_node) = {
[SR_REPLICATE_NEXT_IP6_LOOKUP] = "ip6-lookup",
},
};
-/* *INDENT-ON* */
VLIB_NODE_FUNCTION_MULTIARCH (sr_replicate_node, sr_replicate_node_fn)
- clib_error_t *sr_replicate_init (vlib_main_t * vm)
+/* *INDENT-ON* */
+
+clib_error_t *
+sr_replicate_init (vlib_main_t * vm)
{
sr_replicate_main_t *msm = &sr_replicate_main;