aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/tcp_stream.h
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2021-07-07 17:25:00 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2021-07-07 17:25:00 +0000
commitd2baf65c86ac164346f25828c54775bab8343841 (patch)
treee6c02274bbca78a902aa837813f041f749bdb610 /lib/libtle_l4p/tcp_stream.h
parentace4313dfd1f17eac022e497bb412e8e290c05e3 (diff)
l4p/tcp: introduce tle_tcp_stream_abort() API
Introduce ability ot perform abnormal connection termination. Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Change-Id: I75b5153505348ceface903cd2c8e012707631168
Diffstat (limited to 'lib/libtle_l4p/tcp_stream.h')
-rw-r--r--lib/libtle_l4p/tcp_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libtle_l4p/tcp_stream.h b/lib/libtle_l4p/tcp_stream.h
index f04052d..9b22b38 100644
--- a/lib/libtle_l4p/tcp_stream.h
+++ b/lib/libtle_l4p/tcp_stream.h
@@ -67,6 +67,7 @@ struct tcb {
uint8_t wscale;
uint8_t nb_retx; /* number of retransmission */
uint8_t nb_retm; /**< max number of retx attempts. */
+ uint8_t close_flags; /* tcp flags to send on close */
} snd;
struct tle_tcp_syn_opts so; /* initial syn options. */
};