diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2019-03-11 05:53:35 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-13 10:59:48 +0000 |
commit | c3a0e8d2d255c0925d1ec17aba8c8892d532b040 (patch) | |
tree | 831a90adb1789a06e44cdd15a9c35f2c5c02d438 /src/vnet/lawful-intercept | |
parent | 47a9c651e21731ec4d20e123f6c591d7078f3992 (diff) |
deprecate VLIB_NODE_FUNCTION_MULTIARCH
Change-Id: I403173846bc5b1bbbe2a2c41225b0f666f851cb9
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lawful-intercept')
-rw-r--r-- | src/vnet/lawful-intercept/node.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/vnet/lawful-intercept/node.c b/src/vnet/lawful-intercept/node.c index 716af43e063..03b507adbdd 100644 --- a/src/vnet/lawful-intercept/node.c +++ b/src/vnet/lawful-intercept/node.c @@ -22,7 +22,7 @@ #include <vppinfra/error.h> #include <vppinfra/elog.h> -vlib_node_registration_t li_hit_node; +extern vlib_node_registration_t li_hit_node; typedef struct { @@ -42,8 +42,6 @@ format_li_hit_trace (u8 * s, va_list * args) return s; } -vlib_node_registration_t li_hit_node; - #define foreach_li_hit_error \ _(HITS, "LI packets processed") \ _(NO_COLLECTOR, "No collector configured") \ @@ -69,9 +67,8 @@ typedef enum LI_HIT_N_NEXT, } li_hit_next_t; -static uword -li_hit_node_fn (vlib_main_t * vm, - vlib_node_runtime_t * node, vlib_frame_t * frame) +VLIB_NODE_FN (li_hit_node) (vlib_main_t * vm, + vlib_node_runtime_t * node, vlib_frame_t * frame) { u32 n_left_from, *from, *to_next; li_hit_next_t next_index; @@ -265,7 +262,6 @@ li_hit_node_fn (vlib_main_t * vm, /* *INDENT-OFF* */ VLIB_REGISTER_NODE (li_hit_node) = { - .function = li_hit_node_fn, .name = "li-hit", .vector_size = sizeof (u32), .format_trace = format_li_hit_trace, @@ -283,7 +279,6 @@ VLIB_REGISTER_NODE (li_hit_node) = { }; /* *INDENT-ON* */ -VLIB_NODE_FUNCTION_MULTIARCH (li_hit_node, li_hit_node_fn) /* * fd.io coding-style-patch-verification: ON * |