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.
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.