diff --git a/.cirrus.yml b/.cirrus.yml index e428871c41b84..1650f3ead158b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,7 +1,7 @@ task: name: nightly x86_64-unknown-freebsd-13 freebsd_instance: - image_family: freebsd-13-2 + image_family: freebsd-13-3 setup_script: - pkg install -y libnghttp2 curl - curl https://sh.rustup.rs -sSf --output rustup.sh diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index f98b40915cd11..389b386bc88ad 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -1043,41 +1043,49 @@ s! { pub tcpi_snd_rexmitpack: u32, pub tcpi_rcv_ooopack: u32, pub tcpi_snd_zerowin: u32, + #[cfg(freebsd13)] + pub __tcpi_delivered_ce: u32, #[cfg(any(freebsd15, freebsd14))] pub tcpi_delivered_ce: u32, + #[cfg(freebsd13)] + pub __tcpi_received_ce: u32, #[cfg(any(freebsd15, freebsd14))] pub tcpi_received_ce: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_delivered_e1_bytes: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_delivered_e0_bytes: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_delivered_ce_bytes: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_received_e1_bytes: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_received_e0_bytes: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub __tcpi_received_ce_bytes: u32, + #[cfg(freebsd13)] + pub __tcpi_total_tlp: u32, #[cfg(any(freebsd15, freebsd14))] pub tcpi_total_tlp: u32, + #[cfg(freebsd13)] + pub __tcpi_total_tlp_bytes: u64, #[cfg(any(freebsd15, freebsd14))] pub tcpi_total_tlp_bytes: u64, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub tcpi_snd_una: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub tcpi_snd_max: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub tcpi_rcv_numsacks: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub tcpi_rcv_adv: u32, - #[cfg(any(freebsd15, freebsd14))] + #[cfg(any(freebsd15, freebsd14, freebsd13))] pub tcpi_dupacks: u32, - #[cfg(freebsd14)] + #[cfg(any(freebsd14, freebsd13))] pub __tcpi_pad: [u32; 10], #[cfg(freebsd15)] pub __tcpi_pad: [u32; 14], - #[cfg(not(any(freebsd15, freebsd14)))] + #[cfg(not(any(freebsd15, freebsd14, freebsd13)))] pub __tcpi_pad: [u32; 26], }