Skip to content

Use IP_RECVTOS on DragonFly#2464

Open
mneumann wants to merge 1 commit into
quinn-rs:mainfrom
mneumann:dragonfly-use-ip_recvtos
Open

Use IP_RECVTOS on DragonFly#2464
mneumann wants to merge 1 commit into
quinn-rs:mainfrom
mneumann:dragonfly-use-ip_recvtos

Conversation

@mneumann

@mneumann mneumann commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

And fix compiler warnings.

For some reason cfg(bsd) does not include target_os="dragonfly" on Rust, so explicitly add it.

Related-Issue: PR #2455

And fix compiler warnings.

For some reason cfg(bsd) does not include target_os="dragonfly" on Rust,
so explicitly add it.

Related-Issue: PR quinn-rs#2455
@djc

djc commented Dec 6, 2025

Copy link
Copy Markdown
Member

Do you also have a PR out for libc? We generally prefer to keep these temporary.

Comment thread quinn-udp/src/unix.rs
Comment on lines +61 to +62
// Defined in netinet/in.h on DragonFly (since 4th December 2020) but not exported
// via Rust's libc crate.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case there is a pull request for libc already, I suggest linking it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants