mirror of
git://git.zx2c4.com/wireguard-freebsd
synced 2024-09-22 08:12:10 +02:00
3874141edd
This should allow us to get more testing coverage earlier. This port here is also a bit janky. I really don't like the taskqgroup business, having to copy and paste those structs. And this isn't well tested, either. But, it's a start. This distinguishes between compat.h and support.h, though both header files are intended to operate in more or less the same way. It's important to keep some discipline between things that we're backporting and things that aren't _yet_ upstream or are shims for OpenBSD. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
381 B
381 B
Things missing out-of-tree
There are a few changes that we had in-tree that we now don't, and will need to add back when this is merged.
- Link local address for the new ether type,
IFT_WIREGUARD
. - The
PRIV_NET_WG
privilege. sogetsockaddr
helper function, which belongs inuipc_socket.c
.
We're emulating these in support.h, but they should go away for the merge.