diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2023-10-26 12:51:09 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-10-31 15:27:55 +0000 |
commit | 4a8fde0e51a94191efecedb431d6b9a524a23b29 (patch) | |
tree | b07c9b5efadb16b4d4fa3e4a1066eb0a559a327e /src/plugins/hs_apps/echo_client.h | |
parent | 2d7988d719d1f3cab9ac4a0762786c4b07443671 (diff) |
hsa: use common app session interface in echo tests
Type: test
Change-Id: Ib320cfb5e20f12614c013a92ac15490f8ca3a7ce
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/hs_apps/echo_client.h')
-rw-r--r-- | src/plugins/hs_apps/echo_client.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/hs_apps/echo_client.h b/src/plugins/hs_apps/echo_client.h index 7af4b8a5262..5868c3652ce 100644 --- a/src/plugins/hs_apps/echo_client.h +++ b/src/plugins/hs_apps/echo_client.h @@ -25,8 +25,10 @@ typedef struct ec_session_ { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); - app_session_t data; - u32 vpp_session_index; +#define _(type, name) type name; + foreach_app_session_field +#undef _ + u32 vpp_session_index; u32 thread_index; u64 bytes_to_send; u64 bytes_sent; @@ -87,7 +89,6 @@ typedef struct u32 private_segment_count; /**< Number of private fifo segs */ u64 private_segment_size; /**< size of private fifo segs */ u32 tls_engine; /**< TLS engine mbedtls/openssl */ - u8 is_dgram; u32 no_copy; /**< Don't memcpy data to tx fifo */ u32 quic_streams; /**< QUIC streams per connection */ u32 ckpair_index; /**< Cert key pair for tls/quic */ |