From 42ceddb7cd836a89a12b0b8e623b06bc4c0cc0cb Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 12 Dec 2018 10:56:01 -0800 Subject: session/tcp: support tx flush mark For tcp this means that the last enqueued data goes out with a psh bit set. Change-Id: I29d357ecae6f02e748b59a7b799150ec73d14ba2 Signed-off-by: Florin Coras --- src/vnet/tcp/tcp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vnet/tcp/tcp.h') diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index 5b235b65d74..46b03ac14b4 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -124,6 +124,7 @@ extern timer_expiration_handler tcp_timer_retransmit_syn_handler; _(FRXT_PENDING, "Fast-retransmit pending") \ _(FRXT_FIRST, "Fast-retransmit first again") \ _(DEQ_PENDING, "Pending dequeue acked") \ + _(PSH_PENDING, "Pending psh packet") \ typedef enum _tcp_connection_flag_bits { @@ -334,6 +335,8 @@ typedef struct _tcp_connection u32 last_fib_check; /**< Last time we checked fib route for peer */ u32 sw_if_index; /**< Interface for the connection */ u32 tx_fifo_size; /**< Tx fifo size. Used to constrain cwnd */ + + u32 psh_seq; /**< Add psh header for seg that includes this */ } tcp_connection_t; /* *INDENT-OFF* */ -- cgit 1.2.3-korg