diff options
author | Florin Coras <fcoras@cisco.com> | 2020-04-16 04:30:22 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-04-17 14:58:23 +0000 |
commit | d50ff7fba167035b10def282b5ec166fa7899948 (patch) | |
tree | c228e4e1abf11118730c568643134c887dac3d71 /src/vnet/session/transport.h | |
parent | ce815deb72fd3941b000aecec931131afc9d6c34 (diff) |
session tcp: track half open in app wrk
Type: improvement
Do extra checks when establishing an active connect and cleanup pending
connects if application detaches.
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ibe9349db57b313ba2aa5ea3960ef5cf755f5098a
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r-- | src/vnet/session/transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h index 954db49022c..9c873b12caf 100644 --- a/src/vnet/session/transport.h +++ b/src/vnet/session/transport.h @@ -76,6 +76,7 @@ typedef struct _transport_proto_vft void (*close) (u32 conn_index, u32 thread_index); void (*reset) (u32 conn_index, u32 thread_index); void (*cleanup) (u32 conn_index, u32 thread_index); + void (*cleanup_ho) (u32 conn_index); clib_error_t *(*enable) (vlib_main_t * vm, u8 is_en); /* @@ -137,6 +138,7 @@ u32 transport_start_listen (transport_proto_t tp, u32 session_index, u32 transport_stop_listen (transport_proto_t tp, u32 conn_index); void transport_cleanup (transport_proto_t tp, u32 conn_index, u8 thread_index); +void transport_cleanup_half_open (transport_proto_t tp, u32 conn_index); void transport_get_endpoint (transport_proto_t tp, u32 conn_index, u32 thread_index, transport_endpoint_t * tep, u8 is_lcl); |