From 6e25bccb989c3fdea550833484f262d47910a249 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Fri, 30 Aug 2024 09:32:50 +0200 Subject: [PATCH] tcpsso: remove support for some IPPROTO_TCP-level socket option names Remove support for IPPROTO_TCP-level socket option names, because these names will be removed from the source tree soon. The corresponding socket options are not implemented by the TCP stack at all. This change was suggested by Peter Lei. Reviewed by: cc Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46437 --- usr.sbin/tcpsso/tcpsso.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/usr.sbin/tcpsso/tcpsso.c b/usr.sbin/tcpsso/tcpsso.c index 7d34f5559d2d..95773fe5a4d7 100644 --- a/usr.sbin/tcpsso/tcpsso.c +++ b/usr.sbin/tcpsso/tcpsso.c @@ -207,7 +207,6 @@ static struct so_name so_names[] = { tcp_entry(TCP_PACING_RATE_CAP), /* uint64_t */ #endif tcp_entry(TCP_HDWR_UP_ONLY), /* int */ - tcp_entry(TCP_FAST_RSM_HACK), /* int */ tcp_entry(TCP_DELACK), /* int */ tcp_entry(TCP_REC_ABC_VAL), /* int */ tcp_entry(TCP_USE_CMP_ACKS), /* int */ @@ -215,7 +214,6 @@ static struct so_name so_names[] = { tcp_entry(TCP_SHARED_CWND_ENABLE), /* int */ tcp_entry(TCP_DATA_AFTER_CLOSE), /* int */ tcp_entry(TCP_DEFER_OPTIONS), /* int */ - tcp_entry(TCP_MAXPEAKRATE), /* int */ tcp_entry(TCP_TIMELY_DYN_ADJ), /* int */ tcp_entry(TCP_RACK_TLP_REDUCE), /* int */ tcp_entry(TCP_RACK_PACE_ALWAYS), /* int */ @@ -256,10 +254,8 @@ static struct so_name so_names[] = { tcp_entry(TCP_BBR_IWINTSO), /* int */ tcp_entry(TCP_BBR_ALGORITHM), /* int */ tcp_entry(TCP_BBR_TSLIMITS), /* int */ - tcp_entry(TCP_BBR_RECFORCE), /* int */ tcp_entry(TCP_BBR_STARTUP_PG), /* int */ tcp_entry(TCP_BBR_DRAIN_PG), /* int */ - tcp_entry(TCP_BBR_RWND_IS_APP), /* int */ tcp_entry(TCP_BBR_PROBE_RTT_INT), /* int */ tcp_entry(TCP_BBR_PROBE_RTT_GAIN), /* int */ tcp_entry(TCP_BBR_PROBE_RTT_LEN), /* int */