diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2021-05-14 10:43:49 +0000 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2021-06-03 14:21:58 +0000 |
commit | 76592f906ad040f5d99203c94719366ef42d2167 (patch) | |
tree | 5743c700d0e1713934379c566cfe88b4db001d45 /lib/libtle_l4p/tcp_stream.h | |
parent | f91fc4629e95f861ddc520225c815167d117e22e (diff) |
This reverts commit e0d62f616439955946d24ad83d49552da24afd5d.
Reason for revert: wrong branch
Change-Id: I1b4fef19dc130de4538f319b2e417bfc8ab1a1c9
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'lib/libtle_l4p/tcp_stream.h')
-rw-r--r-- | lib/libtle_l4p/tcp_stream.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/libtle_l4p/tcp_stream.h b/lib/libtle_l4p/tcp_stream.h index a36b5fe..a3d00dc 100644 --- a/lib/libtle_l4p/tcp_stream.h +++ b/lib/libtle_l4p/tcp_stream.h @@ -46,11 +46,10 @@ enum { }; enum { - TCP_OP_LISTEN = 0x1, - TCP_OP_ACCEPT = 0x2, - TCP_OP_CONNECT = 0x4, - TCP_OP_ESTABLISH = 0x8, - TCP_OP_CLOSE = 0x10, + TCP_OP_LISTEN = 0x1, + TCP_OP_ACCEPT = 0x2, + TCP_OP_CONNECT = 0x4, + TCP_OP_CLOSE = 0x8, }; struct tcb { @@ -91,7 +90,7 @@ struct tcb { uint8_t nb_retx; /* number of retransmission */ uint8_t nb_retm; /**< max number of retx attempts. */ } snd; - struct tle_tcp_syn_opts so; /* initial syn options. */ + struct syn_opts so; /* initial syn options. */ }; struct tle_tcp_stream { @@ -190,9 +189,6 @@ struct tcp_streams { #define CTX_TCP_SDR(ctx) (&CTX_TCP_STREAMS(ctx)->dr) #define CTX_TCP_MTS(ctx) (CTX_TCP_STREAMS(ctx)->mts) -extern int tcp_stream_fill_prm(struct tle_tcp_stream *s, - const struct tle_tcp_stream_param *prm); - #ifdef __cplusplus } #endif |