diff options
author | Florin Coras <fcoras@cisco.com> | 2020-10-23 10:45:48 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-10-23 19:26:18 +0000 |
commit | 55e556c93df001617863494e873498d9c0b7c172 (patch) | |
tree | 23eca5043549640fca6a8042810b0aa379ace1f9 /src/vnet/tcp/tcp_types.h | |
parent | eaec00cf87d155511b90df4fb83d7e99cb3f185f (diff) |
tcp: remove snd_una_max
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I03f923053499f219035c9b7b6640fc575568d474
Diffstat (limited to 'src/vnet/tcp/tcp_types.h')
-rw-r--r-- | src/vnet/tcp/tcp_types.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vnet/tcp/tcp_types.h b/src/vnet/tcp/tcp_types.h index d1dc717db7c..2575156d7e9 100644 --- a/src/vnet/tcp/tcp_types.h +++ b/src/vnet/tcp/tcp_types.h @@ -156,7 +156,7 @@ typedef struct _scoreboard_trace_elt u32 start; u32 end; u32 ack; - u32 snd_una_max; + u32 snd_nxt; u32 group; } scoreboard_trace_elt_t; @@ -293,7 +293,6 @@ typedef struct _tcp_connection /** Send sequence variables RFC793 */ u32 snd_una; /**< oldest unacknowledged sequence number */ - u32 snd_una_max; /**< newest unacknowledged sequence number + 1*/ u32 snd_wnd; /**< send window */ u32 snd_wl1; /**< seq number used for last snd.wnd update */ u32 snd_wl2; /**< ack number used for last snd.wnd update */ @@ -345,7 +344,7 @@ typedef struct _tcp_connection u32 rxt_delivered; /**< Rxt bytes delivered during current cc event */ u32 rxt_head; /**< snd_una last time we re rxted the head */ u32 tsecr_last_ack; /**< Timestamp echoed to us in last healthy ACK */ - u32 snd_congestion; /**< snd_una_max when congestion is detected */ + u32 snd_congestion; /**< snd_nxt when congestion is detected */ u32 tx_fifo_size; /**< Tx fifo size. Used to constrain cwnd */ tcp_cc_algorithm_t *cc_algo; /**< Congestion control algorithm */ u8 cc_data[TCP_CC_DATA_SZ]; /**< Congestion control algo private data */ |