diff options
Diffstat (limited to 'src/plugins/lisp/lisp-cp/lisp_cp_test.c')
-rw-r--r-- | src/plugins/lisp/lisp-cp/lisp_cp_test.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/plugins/lisp/lisp-cp/lisp_cp_test.c b/src/plugins/lisp/lisp-cp/lisp_cp_test.c index c0284d301a7..a6c3ca92ce0 100644 --- a/src/plugins/lisp/lisp-cp/lisp_cp_test.c +++ b/src/plugins/lisp/lisp-cp/lisp_cp_test.c @@ -26,7 +26,7 @@ /* define message IDs */ #include <lisp/lisp-cp/lisp.api_enum.h> #include <lisp/lisp-cp/lisp.api_types.h> -#include <vpp/api/vpe.api_types.h> +#include <vlibmemory/vlib.api_types.h> typedef struct { @@ -41,13 +41,11 @@ lisp_test_main_t lisp_test_main; #define __plugin_msg_base lisp_test_main.msg_id_base #include <vlibapi/vat_helper_macros.h> -/* Macro to finish up custom dump fns */ -#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) -#define FINISH \ - vec_add1 (s, 0); \ - vl_print (handle, (char *)s); \ - vec_free (s); \ - return handle; +#define FINISH \ + vec_add1 (s, 0); \ + vlib_cli_output (handle, (char *) s); \ + vec_free (s); \ + return handle; typedef struct { @@ -118,7 +116,6 @@ format_lisp_eid_vat (u8 * s, va_list * args) -/* *INDENT-OFF* */ /** Used for parsing LISP eids */ typedef struct lisp_eid_vat_t_ { @@ -132,7 +129,6 @@ typedef struct lisp_eid_vat_t_ /**< type of eid */ u8 type; } __clib_packed lisp_eid_vat_t; -/* *INDENT-ON* */ static uword unformat_lisp_eid_vat (unformat_input_t * input, va_list * args) |