File tree 3 files changed +4
-3
lines changed
src/unix/bsd/freebsdlike/freebsd
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2306,6 +2306,10 @@ fn test_freebsd(target: &str) {
2306
2306
| "PWAIT" | "PLOCK" | "PPAUSE" | "PRI_MIN_TIMESHARE" | "PUSER" | "PI_AV" | "PI_NET"
2307
2307
| "PI_DISK" | "PI_TTY" | "PI_DULL" | "PI_SOFT" => true ,
2308
2308
2309
+ // This constant changed in FreeBSD 15 (git 3458bbd397783). It was never intended to
2310
+ // be stable, and probably shouldn't be bound by libc at all.
2311
+ "RLIM_NLIMITS" => true ,
2312
+
2309
2313
// This symbol changed in FreeBSD 14 (git 051e7d78b03), but the new
2310
2314
// version should be safe to use on older releases.
2311
2315
"IFCAP_CANTCHANGE" => true ,
@@ -2436,7 +2440,6 @@ fn test_freebsd(target: &str) {
2436
2440
2437
2441
// Flags introduced in FreeBSD 14.
2438
2442
"TCP_MAXUNACKTIME"
2439
- | "TCP_MAXPEAKRATE"
2440
2443
| "TCP_IDLE_REDUCE"
2441
2444
| "TCP_REMOTE_UDP_ENCAPS_PORT"
2442
2445
| "TCP_DELACK"
Original file line number Diff line number Diff line change @@ -1494,7 +1494,6 @@ TCP_KEEPIDLE
1494
1494
TCP_KEEPINIT
1495
1495
TCP_KEEPINTVL
1496
1496
TCP_LOG_LIMIT
1497
- TCP_MAXPEAKRATE
1498
1497
TCP_MAXSEG
1499
1498
TCP_MAXUNACKTIME
1500
1499
TCP_MD5SIG
Original file line number Diff line number Diff line change @@ -3779,7 +3779,6 @@ pub const TCP_INFO: ::c_int = 32;
3779
3779
pub const TCP_CONGESTION : :: c_int = 64 ;
3780
3780
pub const TCP_CCALGOOPT : :: c_int = 65 ;
3781
3781
pub const TCP_MAXUNACKTIME : :: c_int = 68 ;
3782
- pub const TCP_MAXPEAKRATE : :: c_int = 69 ;
3783
3782
pub const TCP_IDLE_REDUCE : :: c_int = 70 ;
3784
3783
pub const TCP_REMOTE_UDP_ENCAPS_PORT : :: c_int = 71 ;
3785
3784
pub const TCP_DELACK : :: c_int = 72 ;
You can’t perform that action at this time.
0 commit comments