quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.57k stars 364 forks source link

Add support for NetBSD, fix OpenBSD #1884

Closed flub closed 3 weeks ago

flub commented 1 month ago

This adds support for NetBSD. As mentioned in the commit, it does not support DONTFRAG or ECN for IPv4, but does for IPv6. It has recvmmsg so I implemented that recv branch.

Also included is a fix for OpenBSD which also does not have IP_DONTFRAG for IPv4. Not sure how that slipped into #1863 / 98d8513e656467b32898402a372e33ea2108c478.

I have tested this on all of OpenBSD, NetBSD and FreeBSD and all pass the test suite now.