@@ -211,7 +211,7 @@ __tcp_set_flags(struct tcphdr *th, uint16_t flags)
211
211
#define TCP_CONGESTION 64 /* get/set congestion control algorithm */
212
212
#define TCP_CCALGOOPT 65 /* get/set cc algorithm specific options */
213
213
#define TCP_MAXUNACKTIME 68 /* maximum time without making progress (sec) */
214
- #define TCP_MAXPEAKRATE 69 /* maximum peak rate allowed (kbps) */
214
+ /* unused; was TCP_MAXPEAKRATE */
215
215
#define TCP_IDLE_REDUCE 70 /* Reduce cwnd on idle input */
216
216
#define TCP_REMOTE_UDP_ENCAPS_PORT 71 /* Enable TCP over UDP tunneling via the specified port */
217
217
#define TCP_DELACK 72 /* socket option for delayed ack */
@@ -233,57 +233,53 @@ __tcp_set_flags(struct tcphdr *th, uint16_t flags)
233
233
/* Options for Rack and BBR */
234
234
#define TCP_REUSPORT_LB_NUMA 1026 /* set listen socket numa domain */
235
235
#define TCP_RACK_MBUF_QUEUE 1050 /* Do we allow mbuf queuing if supported */
236
- #define TCP_RACK_PROP 1051 /* Not used */
236
+ /* unused; was TCP_RACK_PROP */
237
237
#define TCP_RACK_TLP_REDUCE 1052 /* RACK TLP cwnd reduction (bool) */
238
- #define TCP_RACK_PACE_REDUCE 1053 /* RACK Pacingv reduction factor (divisor) */
238
+ /* unused; was TCP_RACK_PACE_REDUCE */
239
239
#define TCP_RACK_PACE_MAX_SEG 1054 /* Max TSO size we will send */
240
240
#define TCP_RACK_PACE_ALWAYS 1055 /* Use the always pace method */
241
- #define TCP_RACK_PROP_RATE 1056 /* Not used */
241
+ /* unused; was TCP_RACK_PROP_RATE */
242
242
#define TCP_RACK_PRR_SENDALOT 1057 /* Allow PRR to send more than one seg */
243
243
#define TCP_RACK_MIN_TO 1058 /* Minimum time between rack t-o's in ms */
244
- #define TCP_RACK_EARLY_RECOV 1059 /* Not used */
244
+ /* unused; was TCP_RACK_EARLY_RECOV */
245
245
#define TCP_RACK_EARLY_SEG 1060 /* If early recovery max segments */
246
246
#define TCP_RACK_REORD_THRESH 1061 /* RACK reorder threshold (shift amount) */
247
247
#define TCP_RACK_REORD_FADE 1062 /* Does reordering fade after ms time */
248
248
#define TCP_RACK_TLP_THRESH 1063 /* RACK TLP theshold i.e. srtt+(srtt/N) */
249
249
#define TCP_RACK_PKT_DELAY 1064 /* RACK added ms i.e. rack-rtt + reord + N */
250
- #define TCP_RACK_TLP_INC_VAR 1065 /* Does TLP include rtt variance in t-o */
250
+ /* unused; was TCP_RACK_TLP_INC_VAR */
251
+ /* unused */
251
252
#define TCP_BBR_IWINTSO 1067 /* Initial TSO window for BBRs first sends */
252
- #define TCP_BBR_RECFORCE 1068 /* Enter recovery force out a segment disregard pacer no longer valid */
253
+ /* unused; was TCP_BBR_RECFORCE */
253
254
#define TCP_BBR_STARTUP_PG 1069 /* Startup pacing gain */
254
255
#define TCP_BBR_DRAIN_PG 1070 /* Drain pacing gain */
255
- #define TCP_BBR_RWND_IS_APP 1071 /* Rwnd limited is considered app limited */
256
+ /* unused; was TCP_BBR_RWND_IS_APP */
256
257
#define TCP_BBR_PROBE_RTT_INT 1072 /* How long in useconds between probe-rtt */
257
- #define TCP_BBR_ONE_RETRAN 1073 /* Is only one segment allowed out during retran */
258
+ /* unused; was TCP_BBR_ONE_RETRAN */
258
259
#define TCP_BBR_STARTUP_LOSS_EXIT 1074 /* Do we exit a loss during startup if not 20% incr */
259
- #define TCP_BBR_USE_LOWGAIN 1075 /* lower the gain in PROBE_BW enable */
260
- #define TCP_BBR_LOWGAIN_THRESH 1076 /* Unused after 2.3 morphs to TSLIMITS >= 2.3 */
260
+ /* unused; was TCP_BBR_USE_LOWGAIN */
261
261
#define TCP_BBR_TSLIMITS 1076 /* Do we use experimental Timestamp limiting for our algo */
262
- #define TCP_BBR_LOWGAIN_HALF 1077 /* Unused after 2.3 */
263
262
#define TCP_BBR_PACE_OH 1077 /* Reused in 4.2 for pacing overhead setting */
264
- #define TCP_BBR_LOWGAIN_FD 1078 /* Unused after 2.3 */
265
- #define TCP_BBR_HOLD_TARGET 1078 /* For 4.3 on */
263
+ /* unused; was TCP_BBR_HOLD_TARGET */
266
264
#define TCP_BBR_USEDEL_RATE 1079 /* Enable use of delivery rate for loss recovery */
267
265
#define TCP_BBR_MIN_RTO 1080 /* Min RTO in milliseconds */
268
266
#define TCP_BBR_MAX_RTO 1081 /* Max RTO in milliseconds */
269
- #define TCP_BBR_REC_OVER_HPTS 1082 /* Recovery override htps settings 0/1/3 */
270
- #define TCP_BBR_UNLIMITED 1083 /* Not used before 2.3 and morphs to algorithm >= 2.3 */
267
+ /* unused; was TCP_BBR_REC_OVER_HPTS */
271
268
#define TCP_BBR_ALGORITHM 1083 /* What measurement algo does BBR use netflix=0, google=1 */
272
- #define TCP_BBR_DRAIN_INC_EXTRA 1084 /* Does the 3/4 drain target include the extra gain */
273
- #define TCP_BBR_STARTUP_EXIT_EPOCH 1085 /* what epoch gets us out of startup */
269
+ /* unused; was TCP_BBR_DRAIN_INC_EXTRA */
270
+ /* unused; was TCP_BBR_STARTUP_EXIT_EPOCH */
274
271
#define TCP_BBR_PACE_PER_SEC 1086
275
272
#define TCP_BBR_PACE_DEL_TAR 1087
276
273
#define TCP_BBR_PACE_SEG_MAX 1088
277
274
#define TCP_BBR_PACE_SEG_MIN 1089
278
275
#define TCP_BBR_PACE_CROSS 1090
279
- #define TCP_RACK_IDLE_REDUCE_HIGH 1092 /* Reduce the highest cwnd seen to IW on idle */
280
- #define TCP_RACK_MIN_PACE 1093 /* Do we enforce rack min pace time */
281
- #define TCP_RACK_MIN_PACE_SEG 1094 /* If so what is the seg threshould */
282
- #define TCP_RACK_GP_INCREASE 1094 /* After 4.1 its the GP increase in older rack */
276
+ /* unused */
277
+ /* unused; was TCP_RACK_IDLE_REDUCE_HIGH */
278
+ /* unused; was TCP_RACK_MIN_PACE */
279
+ /* unused; was TCP_RACK_GP_INCREASE */
283
280
#define TCP_RACK_TLP_USE 1095
284
- #define TCP_BBR_ACK_COMP_ALG 1096 /* Not used */
285
281
#define TCP_BBR_TMR_PACE_OH 1096 /* Recycled in 4.2 */
286
- #define TCP_BBR_EXTRA_GAIN 1097
282
+ /* unused; was TCP_BBR_EXTRA_GAIN */
287
283
#define TCP_RACK_DO_DETECTION 1097 /* Recycle of extra gain for rack, attack detection */
288
284
#define TCP_BBR_RACK_RTT_USE 1098 /* what RTT should we use 0, 1, or 2? */
289
285
#define TCP_BBR_RETRAN_WTSO 1099
@@ -302,7 +298,6 @@ __tcp_set_flags(struct tcphdr *th, uint16_t flags)
302
298
#define TCP_BBR_POLICER_DETECT 1111 /* Turn on/off google mode policer detection */
303
299
#define TCP_BBR_RACK_INIT_RATE 1112 /* Set an initial pacing rate for when we have no b/w in kbits per sec */
304
300
#define TCP_RACK_RR_CONF 1113 /* Rack rapid recovery configuration control*/
305
- #define TCP_RACK_CHEAT_NOT_CONF_RATE TCP_RACK_RR_CONF
306
301
#define TCP_RACK_GP_INCREASE_CA 1114 /* GP increase for Congestion Avoidance */
307
302
#define TCP_RACK_GP_INCREASE_SS 1115 /* GP increase for Slow Start */
308
303
#define TCP_RACK_GP_INCREASE_REC 1116 /* GP increase for Recovery */
@@ -325,7 +320,7 @@ __tcp_set_flags(struct tcphdr *th, uint16_t flags)
325
320
#define TCP_REC_ABC_VAL 1134 /* Do we use the ABC value for recovery or the override one from sysctl */
326
321
#define TCP_RACK_MEASURE_CNT 1135 /* How many measurements are required in GP pacing */
327
322
#define TCP_DEFER_OPTIONS 1136 /* Defer options until the proper number of measurements occur, does not defer TCP_RACK_MEASURE_CNT */
328
- #define TCP_FAST_RSM_HACK 1137 /* Not used in modern stacks */
323
+ /* unused; was TCP_FAST_RSM_HACK */
329
324
#define TCP_RACK_PACING_BETA 1138 /* Changing the beta for pacing */
330
325
#define TCP_RACK_PACING_BETA_ECN 1139 /* Changing the beta for ecn with pacing */
331
326
#define TCP_RACK_TIMER_SLOP 1140 /* Set or get the timer slop used */
0 commit comments