diff options
author | Dave Barach <dbarach@cisco.com> | 2018-03-20 13:40:10 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-03-21 17:10:36 +0000 |
commit | f8fda2a98a699b1dbe399fe80cd9c6c765648aed (patch) | |
tree | e27696d90f2e61b640b7df56fde850f6c2c14e07 /src/plugins/stn/stn_api.c | |
parent | add7cb0ca728b66d2d2a7ed99d9545164694bb82 (diff) |
VPP-1123: cherrypick to 18.01.02
Change-Id: Iaf959d7636907cec54d83b3f14244153fbf19fa2
Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/plugins/stn/stn_api.c')
-rw-r--r-- | src/plugins/stn/stn_api.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/plugins/stn/stn_api.c b/src/plugins/stn/stn_api.c index 02ea29b6443..97b24b446b2 100644 --- a/src/plugins/stn/stn_api.c +++ b/src/plugins/stn/stn_api.c @@ -22,34 +22,27 @@ #include <vppinfra/byte_order.h> /* define message IDs */ -#define vl_msg_id(n,h) n, -typedef enum -{ -#include <stn/stn.api.h> - /* We'll want to know how many messages IDs we need... */ - VL_MSG_FIRST_AVAILABLE, -} vl_msg_id_t; -#undef vl_msg_id +#include <stn/stn_msg_enum.h> /* define message structures */ #define vl_typedefs -#include <stn/stn.api.h> +#include <stn/stn_all_api_h.h> #undef vl_typedefs /* define generated endian-swappers */ #define vl_endianfun -#include <stn/stn.api.h> +#include <stn/stn_all_api_h.h> #undef vl_endianfun /* instantiate all the print functions we know about */ #define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__) #define vl_printfun -#include <stn/stn.api.h> +#include <stn/stn_all_api_h.h> #undef vl_printfun /* Get the API version number */ #define vl_api_version(n,v) static u32 api_version=(v); -#include <nat/nat_all_api_h.h> +#include <stn/stn_all_api_h.h> #undef vl_api_version #define REPLY_MSG_ID_BASE stn_main.msg_id_base |