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 @@ -2600,6 +2600,9 @@ fn test_freebsd(target: &str) {
2600
2600
// FIXME: The values has been changed in FreeBSD 15:
2601
2601
"CLOCK_BOOTTIME" if Some ( 15 ) <= freebsd_ver => true ,
2602
2602
2603
+ // Added in FreeBSD 14.0
2604
+ "TCP_FUNCTION_ALIAS" if Some ( 14 ) > freebsd_ver => true ,
2605
+
2603
2606
_ => false ,
2604
2607
}
2605
2608
} ) ;
Original file line number Diff line number Diff line change @@ -1505,6 +1505,8 @@ TCP_DELACK
1505
1505
TCP_FASTOPEN
1506
1506
TCP_FASTOPEN_PSK_LEN
1507
1507
TCP_FIN_IS_RST
1508
+ TCP_FUNCTION_ALIAS
1509
+ TCP_FUNCTION_BLK
1508
1510
TCP_FUNCTION_NAME_LEN_MAX
1509
1511
TCP_IDLE_REDUCE
1510
1512
TCP_INFO
Original file line number Diff line number Diff line change @@ -3895,6 +3895,8 @@ pub const TCP_KEEPINIT: ::c_int = 128;
3895
3895
pub const TCP_FASTOPEN : :: c_int = 1025 ;
3896
3896
pub const TCP_PCAP_OUT : :: c_int = 2048 ;
3897
3897
pub const TCP_PCAP_IN : :: c_int = 4096 ;
3898
+ pub const TCP_FUNCTION_BLK : :: c_int = 8192 ;
3899
+ pub const TCP_FUNCTION_ALIAS : :: c_int = 8193 ;
3898
3900
pub const TCP_FASTOPEN_PSK_LEN : :: c_int = 16 ;
3899
3901
pub const TCP_FUNCTION_NAME_LEN_MAX : :: c_int = 32 ;
3900
3902
You can’t perform that action at this time.
0 commit comments