summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec-gre
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2019-03-11 05:53:35 -0700
committerDamjan Marion <dmarion@me.com>2019-03-13 10:59:48 +0000
commitc3a0e8d2d255c0925d1ec17aba8c8892d532b040 (patch)
tree831a90adb1789a06e44cdd15a9c35f2c5c02d438 /src/vnet/ipsec-gre
parent47a9c651e21731ec4d20e123f6c591d7078f3992 (diff)
deprecate VLIB_NODE_FUNCTION_MULTIARCH
Change-Id: I403173846bc5b1bbbe2a2c41225b0f666f851cb9 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/ipsec-gre')
-rw-r--r--src/vnet/ipsec-gre/node.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/vnet/ipsec-gre/node.c b/src/vnet/ipsec-gre/node.c
index 6a5536eceb9..9e1ab206ad4 100644
--- a/src/vnet/ipsec-gre/node.c
+++ b/src/vnet/ipsec-gre/node.c
@@ -43,7 +43,7 @@ typedef struct {
ip4_address_t dst;
} ipsec_gre_rx_trace_t;
-u8 * format_ipsec_gre_rx_trace (u8 * s, va_list * args)
+static u8 * format_ipsec_gre_rx_trace (u8 * s, va_list * args)
{
CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *);
CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *);
@@ -83,8 +83,7 @@ u8 * format_ipsec_gre_rx_trace (u8 * s, va_list * args)
* <em>Next Index:</em>
* - Dispatches the packet to the l2-input node.
*/
-static uword
-ipsec_gre_input (vlib_main_t * vm,
+VLIB_NODE_FN (ipsec_gre_input_node) (vlib_main_t * vm,
vlib_node_runtime_t * node,
vlib_frame_t * from_frame)
{
@@ -395,7 +394,6 @@ static char * ipsec_gre_error_strings[] = {
};
VLIB_REGISTER_NODE (ipsec_gre_input_node) = {
- .function = ipsec_gre_input,
.name = "ipsec-gre-input",
/* Takes a vector of packets. */
.vector_size = sizeof (u32),
@@ -413,8 +411,6 @@ VLIB_REGISTER_NODE (ipsec_gre_input_node) = {
.format_trace = format_ipsec_gre_rx_trace,
};
-VLIB_NODE_FUNCTION_MULTIARCH (ipsec_gre_input_node, ipsec_gre_input)
-
static clib_error_t * ipsec_gre_input_init (vlib_main_t * vm)
{
{