aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_private.h
diff options
context:
space:
mode:
authorRadha krishna Saragadam <krishna_srk2003@yahoo.com>2022-07-18 19:41:05 +0530
committerFlorin Coras <florin.coras@gmail.com>2022-07-20 14:47:09 +0000
commitdd92bdeb0735dac940d32f651c0b0b9ed65a6d7d (patch)
treed1f722eb0068f6c2eb1578c3e3600718b868312f /src/vcl/vcl_private.h
parent3f245e687c6bd837dcf7c6734aeed788bdbb4220 (diff)
vcl: new vcl api to get detailed session errors
Sometimes VPP rejects application connection requests due to various reasons. Some errors application can retry to get a successful connection. In a non-blocking session, VCL sends EPOLLHUP. An application can call a new API vppcom_session_get_error to find the details and retry depending on the error. Type: fix Signed-off-by: Radha krishna Saragadam <krishna_srk2003@yahoo.com> Change-Id: If0e21a8e25701f66a190a2799b2209e0c31f897c
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r--src/vcl/vcl_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h
index 9c905333440..624a2dad50e 100644
--- a/src/vcl/vcl_private.h
+++ b/src/vcl/vcl_private.h
@@ -172,6 +172,8 @@ typedef struct vcl_session_
transport_endpt_ext_cfg_t *ext_config;
u8 dscp;
+ i32 vpp_error;
+
#if VCL_ELOG
elog_track_t elog_track;
#endif