File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2783,6 +2783,9 @@ fn test_freebsd(target: &str) {
2783
2783
// Added in FreeBSD 14.0
2784
2784
"TCP_FUNCTION_ALIAS" if Some ( 14 ) > freebsd_ver => true ,
2785
2785
2786
+ // FIXME(freebsd): Removed in FreeBSD 15, deprecated in libc
2787
+ "TCP_PCAP_OUT" | "TCP_PCAP_IN" => true ,
2788
+
2786
2789
_ => false ,
2787
2790
}
2788
2791
} ) ;
Original file line number Diff line number Diff line change @@ -3762,7 +3762,9 @@ pub const TCP_PERF_INFO: c_int = 78;
3762
3762
pub const TCP_LRD : c_int = 79 ;
3763
3763
pub const TCP_KEEPINIT : c_int = 128 ;
3764
3764
pub const TCP_FASTOPEN : c_int = 1025 ;
3765
+ #[ deprecated( since = "0.2.171" , note = "removed in FreeBSD 15" ) ]
3765
3766
pub const TCP_PCAP_OUT : c_int = 2048 ;
3767
+ #[ deprecated( since = "0.2.171" , note = "removed in FreeBSD 15" ) ]
3766
3768
pub const TCP_PCAP_IN : c_int = 4096 ;
3767
3769
pub const TCP_FUNCTION_BLK : c_int = 8192 ;
3768
3770
pub const TCP_FUNCTION_ALIAS : c_int = 8193 ;
You can’t perform that action at this time.
0 commit comments