Skip to content

Commit

Permalink
packetdrill: add test of tcp window clamp socket option
Browse files Browse the repository at this point in the history
Modifies a test of TCP_WINDOW_CLAMP, including lowering, raising, and
lowering again the clamp while the connection is in progress to add
a test of brief lowering before raising.

Requires a patch to tcp_set_window_clamp discussed as "tcp: enable mid
stream window clamp".

Signed-off-by: Neil Spring <[email protected]>
  • Loading branch information
nspring committed Aug 25, 2021
1 parent 198f23e commit b5ec022
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtests/net/packetdrill/symbols_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ struct int_symbol platform_symbols_table[] = {
{ TCP_SYNCNT, "TCP_SYNCNT" },
{ TCP_LINGER2, "TCP_LINGER2" },
{ TCP_DEFER_ACCEPT, "TCP_DEFER_ACCEPT" },
{ TCP_WINDOW_CLAMP, "TCP_WINDOW_CLAMP" },
{ TCP_INFO, "TCP_INFO" },
{ TCP_QUICKACK, "TCP_QUICKACK" },
{ TCP_CONGESTION, "TCP_CONGESTION" },
Expand All @@ -190,7 +191,6 @@ struct int_symbol platform_symbols_table[] = {
{ TCP_TIMESTAMP, "TCP_TIMESTAMP" },
{ TCP_NOTSENT_LOWAT, "TCP_NOTSENT_LOWAT" },
{ TCP_INQ, "TCP_INQ" },
{ TCP_WINDOW_CLAMP, "TCP_WINDOW_CLAMP" },

{ TCP_CM_INQ, "TCP_CM_INQ" },

Expand Down

0 comments on commit b5ec022

Please sign in to comment.