Commit 2e8be88 1 parent 3a0b044 commit 2e8be88 Copy full SHA for 2e8be88
File tree 3 files changed +7
-0
lines changed
src/unix/bsd/freebsdlike/freebsd
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2529,6 +2529,9 @@ fn test_freebsd(target: &str) {
2529
2529
// FIXME: The values has been changed in FreeBSD 15:
2530
2530
"CLOCK_BOOTTIME" if Some ( 15 ) <= freebsd_ver => true ,
2531
2531
2532
+ // Added in FreeBSD 14.0
2533
+ "TCP_FUNCTION_ALIAS" if Some ( 14 ) > freebsd_ver => true ,
2534
+
2532
2535
_ => false ,
2533
2536
}
2534
2537
} ) ;
Original file line number Diff line number Diff line change @@ -1510,6 +1510,8 @@ TCP_DELACK
1510
1510
TCP_FASTOPEN
1511
1511
TCP_FASTOPEN_PSK_LEN
1512
1512
TCP_FIN_IS_RST
1513
+ TCP_FUNCTION_ALIAS
1514
+ TCP_FUNCTION_BLK
1513
1515
TCP_FUNCTION_NAME_LEN_MAX
1514
1516
TCP_IDLE_REDUCE
1515
1517
TCP_INFO
Original file line number Diff line number Diff line change @@ -3827,6 +3827,8 @@ pub const TCP_KEEPINIT: ::c_int = 128;
3827
3827
pub const TCP_FASTOPEN : :: c_int = 1025 ;
3828
3828
pub const TCP_PCAP_OUT : :: c_int = 2048 ;
3829
3829
pub const TCP_PCAP_IN : :: c_int = 4096 ;
3830
+ pub const TCP_FUNCTION_BLK : :: c_int = 8192 ;
3831
+ pub const TCP_FUNCTION_ALIAS : :: c_int = 8193 ;
3830
3832
pub const TCP_FASTOPEN_PSK_LEN : :: c_int = 16 ;
3831
3833
pub const TCP_FUNCTION_NAME_LEN_MAX : :: c_int = 32 ;
3832
3834
You can’t perform that action at this time.
0 commit comments