diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2021-06-26 22:12:08 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-07-12 10:36:46 +0000 |
commit | 0046e97eb94cbcf278be2c892e4b686da670a414 (patch) | |
tree | 22d6f52cc3ac48dae9a3c74d36e030e38ee79456 /src/plugins/hs_apps/sapi/vpp_echo_common.h | |
parent | 0972edc1c2a232e9fb7364d517f6eaf9b71431b9 (diff) |
session: api cleanup
Use autogenerated code.
Does not change API definitions.
Type: improvement
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Iacc58d27ac51c8a1c571087f98297e046b3477c2
Diffstat (limited to 'src/plugins/hs_apps/sapi/vpp_echo_common.h')
-rw-r--r-- | src/plugins/hs_apps/sapi/vpp_echo_common.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo_common.h b/src/plugins/hs_apps/sapi/vpp_echo_common.h index 4760f3b06e3..80c539ccb0f 100644 --- a/src/plugins/hs_apps/sapi/vpp_echo_common.h +++ b/src/plugins/hs_apps/sapi/vpp_echo_common.h @@ -17,23 +17,9 @@ #define __included_vpp_echo_common_h__ #include <vnet/session/application_interface.h> -#include <vpp/api/vpe_msg_enum.h> - -#define vl_typedefs /* define message structures */ -#include <vpp/api/vpe_all_api_h.h> -#undef vl_typedefs - -/* declare message handlers for each api */ - -#define vl_endianfun /* define message structures */ -#include <vpp/api/vpe_all_api_h.h> -#undef vl_endianfun - -/* instantiate all the print functions we know about */ -#define vl_print(handle, ...) -#define vl_printfun -#include <vpp/api/vpe_all_api_h.h> -#undef vl_printfun +#include <vnet/format_fns.h> +#include <vnet/session/session.api_enum.h> +#include <vnet/session/session.api_types.h> #define TIMEOUT 10.0 #define LOGGING_BATCH (100) |