diff options
Diffstat (limited to 'lib/libtle_l4p/tcp_stream.h')
-rw-r--r-- | lib/libtle_l4p/tcp_stream.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libtle_l4p/tcp_stream.h b/lib/libtle_l4p/tcp_stream.h index 04c2f88..4629fe6 100644 --- a/lib/libtle_l4p/tcp_stream.h +++ b/lib/libtle_l4p/tcp_stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Intel Corporation. + * Copyright (c) 2016-2017 Intel Corporation. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -82,6 +82,7 @@ struct tcb { uint32_t cwnd; /* congestion window */ uint32_t ssthresh; /* slow start threshold */ uint32_t rto; /* retransmission timeout */ + uint32_t rto_tw; /* TIME_WAIT retransmission timeout */ uint32_t iss; /* initial send sequence */ uint16_t mss; uint8_t wscale; @@ -91,11 +92,13 @@ struct tcb { struct syn_opts so; /* initial syn options. */ }; - struct tle_tcp_stream { struct tle_stream s; + uint32_t flags; + rte_atomic32_t use; + struct stbl_entry *ste; /* entry in streams table. */ struct tcb tcb; @@ -109,7 +112,6 @@ struct tle_tcp_stream { } err; struct { - rte_atomic32_t use; struct rte_ring *q; /* listen (syn) queue */ struct ofo *ofo; struct tle_event *ev; /* user provided recv event. */ @@ -117,7 +119,6 @@ struct tle_tcp_stream { } rx __rte_cache_aligned; struct { - rte_atomic32_t use; rte_atomic32_t arm; /* when > 0 stream is in to-send queue */ struct { uint32_t nb_elem; /* number of objects per drb. */ |