File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -2196,6 +2196,24 @@ fn test_freebsd(target: &str) {
2196
2196
// Those were introduced in FreeBSD 12.
2197
2197
"TCP_FUNCTION_NAME_LEN_MAX" | "TCP_FASTOPEN_PSK_LEN" if Some ( 11 ) == freebsd_ver => true ,
2198
2198
2199
+ // Flags introduced in FreeBSD 14.
2200
+ "TCP_MAXUNACKTIME"
2201
+ | "TCP_MAXPEAKRATE"
2202
+ | "TCP_IDLE_REDUCE"
2203
+ | "TCP_REMOTE_UDP_ENCAPS_PORT"
2204
+ | "TCP_DELACK"
2205
+ | "TCP_FIN_IS_RST"
2206
+ | "TCP_LOG_LIMIT"
2207
+ | "TCP_SHARED_CWND_ALLOWED"
2208
+ | "TCP_PROC_ACCOUNTING"
2209
+ | "TCP_USE_CMP_ACKS"
2210
+ | "TCP_PERF_INFO"
2211
+ | "TCP_LRD"
2212
+ if Some ( 14 ) > freebsd_ver =>
2213
+ {
2214
+ true
2215
+ }
2216
+
2199
2217
_ => false ,
2200
2218
}
2201
2219
} ) ;
Original file line number Diff line number Diff line change @@ -1128,20 +1128,31 @@ TAB3
1128
1128
TABDLY
1129
1129
TCP_CCALGOOPT
1130
1130
TCP_CONGESTION
1131
+ TCP_DELACK
1131
1132
TCP_FASTOPEN
1132
1133
TCP_FASTOPEN_PSK_LEN
1134
+ TCP_FIN_IS_RST
1133
1135
TCP_FUNCTION_NAME_LEN_MAX
1136
+ TCP_IDLE_REDUCE
1134
1137
TCP_INFO
1135
1138
TCP_KEEPCNT
1136
1139
TCP_KEEPIDLE
1137
1140
TCP_KEEPINIT
1138
1141
TCP_KEEPINTVL
1142
+ TCP_LOG_LIMIT
1143
+ TCP_MAXPEAKRATE
1139
1144
TCP_MAXSEG
1145
+ TCP_MAXUNACKTIME
1140
1146
TCP_MD5SIG
1141
1147
TCP_NOOPT
1142
1148
TCP_NOPUSH
1143
1149
TCP_PCAP_IN
1144
1150
TCP_PCAP_OUT
1151
+ TCP_PERF_INFO
1152
+ TCP_PROC_ACCOUNTING
1153
+ TCP_REMOTE_UDP_ENCAPS_PORT
1154
+ TCP_SHARED_CWND_ALLOWED
1155
+ TCP_USE_CMP_ACKS
1145
1156
THOUSEP
1146
1157
TIMER_ABSTIME
1147
1158
TIME_DEL
Original file line number Diff line number Diff line change @@ -2861,6 +2861,18 @@ pub const TCP_MD5SIG: ::c_int = 16;
2861
2861
pub const TCP_INFO : :: c_int = 32 ;
2862
2862
pub const TCP_CONGESTION : :: c_int = 64 ;
2863
2863
pub const TCP_CCALGOOPT : :: c_int = 65 ;
2864
+ pub const TCP_MAXUNACKTIME : :: c_int = 68 ;
2865
+ pub const TCP_MAXPEAKRATE : :: c_int = 69 ;
2866
+ pub const TCP_IDLE_REDUCE : :: c_int = 70 ;
2867
+ pub const TCP_REMOTE_UDP_ENCAPS_PORT : :: c_int = 71 ;
2868
+ pub const TCP_DELACK : :: c_int = 72 ;
2869
+ pub const TCP_FIN_IS_RST : :: c_int = 73 ;
2870
+ pub const TCP_LOG_LIMIT : :: c_int = 74 ;
2871
+ pub const TCP_SHARED_CWND_ALLOWED : :: c_int = 75 ;
2872
+ pub const TCP_PROC_ACCOUNTING : :: c_int = 76 ;
2873
+ pub const TCP_USE_CMP_ACKS : :: c_int = 77 ;
2874
+ pub const TCP_PERF_INFO : :: c_int = 78 ;
2875
+ pub const TCP_LRD : :: c_int = 79 ;
2864
2876
pub const TCP_KEEPINIT : :: c_int = 128 ;
2865
2877
pub const TCP_FASTOPEN : :: c_int = 1025 ;
2866
2878
pub const TCP_PCAP_OUT : :: c_int = 2048 ;
You can’t perform that action at this time.
0 commit comments