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) {
27832783 // Added in FreeBSD 14.0
27842784 "TCP_FUNCTION_ALIAS" if Some ( 14 ) > freebsd_ver => true ,
27852785
2786+ // FIXME(freebsd): Removed in FreeBSD 15, deprecated in libc
2787+ "TCP_PCAP_OUT" | "TCP_PCAP_IN" => true ,
2788+
27862789 _ => false ,
27872790 }
27882791 } ) ;
Original file line number Diff line number Diff line change @@ -3762,7 +3762,9 @@ pub const TCP_PERF_INFO: c_int = 78;
37623762pub const TCP_LRD : c_int = 79 ;
37633763pub const TCP_KEEPINIT : c_int = 128 ;
37643764pub const TCP_FASTOPEN : c_int = 1025 ;
3765+ #[ deprecated( since = "0.2.171" , note = "removed in FreeBSD 15" ) ]
37653766pub const TCP_PCAP_OUT : c_int = 2048 ;
3767+ #[ deprecated( since = "0.2.171" , note = "removed in FreeBSD 15" ) ]
37663768pub const TCP_PCAP_IN : c_int = 4096 ;
37673769pub const TCP_FUNCTION_BLK : c_int = 8192 ;
37683770pub const TCP_FUNCTION_ALIAS : c_int = 8193 ;
You can’t perform that action at this time.
0 commit comments