rust-lang / libc

Raw bindings to platform APIs for Rust
https://docs.rs/libc
Apache License 2.0
2.02k stars 1.01k forks source link

feat: IP_RECVTTL/IPV6_RECVHOPLIMIT for FreeBSD/DragonFlyBSD #3750

Closed SteveLauC closed 2 weeks ago

SteveLauC commented 2 weeks ago

Add IP_RECVTTL to FreeBSD and DragonFlyBSD, as required by Nix PR https://github.com/nix-rust/nix/pull/2425.

I have already sent a PR of these 2 flags to the main branch, though it only covers FreeBSD: https://github.com/rust-lang/libc/pull/3543

rustbot commented 2 weeks ago

r? @JohnTitor

rustbot has assigned @JohnTitor. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer