File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2597,6 +2597,9 @@ fn test_freebsd(target: &str) {
25972597 // FIXME: The values has been changed in FreeBSD 15:
25982598 "CLOCK_BOOTTIME" if Some ( 15 ) <= freebsd_ver => true ,
25992599
2600+ // Added in FreeBSD 14.0
2601+ "TCP_FUNCTION_ALIAS" if Some ( 14 ) > freebsd_ver => true ,
2602+
26002603 _ => false ,
26012604 }
26022605 } ) ;
Original file line number Diff line number Diff line change @@ -1505,6 +1505,8 @@ TCP_DELACK
15051505TCP_FASTOPEN
15061506TCP_FASTOPEN_PSK_LEN
15071507TCP_FIN_IS_RST
1508+ TCP_FUNCTION_ALIAS
1509+ TCP_FUNCTION_BLK
15081510TCP_FUNCTION_NAME_LEN_MAX
15091511TCP_IDLE_REDUCE
15101512TCP_INFO
Original file line number Diff line number Diff line change @@ -3895,6 +3895,8 @@ pub const TCP_KEEPINIT: ::c_int = 128;
38953895pub const TCP_FASTOPEN : :: c_int = 1025 ;
38963896pub const TCP_PCAP_OUT : :: c_int = 2048 ;
38973897pub 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 ;
38983900pub const TCP_FASTOPEN_PSK_LEN : :: c_int = 16 ;
38993901pub const TCP_FUNCTION_NAME_LEN_MAX : :: c_int = 32 ;
39003902
You can’t perform that action at this time.
0 commit comments