1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

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
This commit is contained in:
Michael Tuexen 2024-08-30 09:32:50 +02:00
parent b2044c4557
commit 6e25bccb98

View File

@ -207,7 +207,6 @@ static struct so_name so_names[] = {
tcp_entry(TCP_PACING_RATE_CAP), /* uint64_t */ tcp_entry(TCP_PACING_RATE_CAP), /* uint64_t */
#endif #endif
tcp_entry(TCP_HDWR_UP_ONLY), /* int */ tcp_entry(TCP_HDWR_UP_ONLY), /* int */
tcp_entry(TCP_FAST_RSM_HACK), /* int */
tcp_entry(TCP_DELACK), /* int */ tcp_entry(TCP_DELACK), /* int */
tcp_entry(TCP_REC_ABC_VAL), /* int */ tcp_entry(TCP_REC_ABC_VAL), /* int */
tcp_entry(TCP_USE_CMP_ACKS), /* 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_SHARED_CWND_ENABLE), /* int */
tcp_entry(TCP_DATA_AFTER_CLOSE), /* int */ tcp_entry(TCP_DATA_AFTER_CLOSE), /* int */
tcp_entry(TCP_DEFER_OPTIONS), /* int */ tcp_entry(TCP_DEFER_OPTIONS), /* int */
tcp_entry(TCP_MAXPEAKRATE), /* int */
tcp_entry(TCP_TIMELY_DYN_ADJ), /* int */ tcp_entry(TCP_TIMELY_DYN_ADJ), /* int */
tcp_entry(TCP_RACK_TLP_REDUCE), /* int */ tcp_entry(TCP_RACK_TLP_REDUCE), /* int */
tcp_entry(TCP_RACK_PACE_ALWAYS), /* 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_IWINTSO), /* int */
tcp_entry(TCP_BBR_ALGORITHM), /* int */ tcp_entry(TCP_BBR_ALGORITHM), /* int */
tcp_entry(TCP_BBR_TSLIMITS), /* int */ tcp_entry(TCP_BBR_TSLIMITS), /* int */
tcp_entry(TCP_BBR_RECFORCE), /* int */
tcp_entry(TCP_BBR_STARTUP_PG), /* int */ tcp_entry(TCP_BBR_STARTUP_PG), /* int */
tcp_entry(TCP_BBR_DRAIN_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_INT), /* int */
tcp_entry(TCP_BBR_PROBE_RTT_GAIN), /* int */ tcp_entry(TCP_BBR_PROBE_RTT_GAIN), /* int */
tcp_entry(TCP_BBR_PROBE_RTT_LEN), /* int */ tcp_entry(TCP_BBR_PROBE_RTT_LEN), /* int */