freebsd-src/contrib/wireguard-tools
Kyle Evans f6d9e22982 wg: ipc: add allowed-ip flags support for FreeBSD
For $reasons, we can't rely on flags in wireguard-tools for the kernel
side of WireGuard.  Provide a mapping function that uses flags from the
kernel that we're building against and fail the operation if we made it
to the end without turning some wg(8) flag off.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

Reviewed by:	ivy (previous version), Jason A. Donenfeld, jhb
Differential Revision:	https://reviews.freebsd.org/D50450
2025-06-25 21:58:25 -05:00
..
man
.gitignore
config.c
config.h
containers.h
ctype.h
curve25519-fiat32.h
curve25519-hacl64.h
curve25519.c
curve25519.h
encoding.c
encoding.h
genkey.c
ipc-freebsd.h wg: ipc: add allowed-ip flags support for FreeBSD 2025-06-25 21:58:25 -05:00
ipc-uapi-unix.h
ipc-uapi.h
ipc.c
ipc.h
pubkey.c
set.c
setconf.c
show.c
showconf.c
subcommands.h
terminal.c
terminal.h
version.h
wg.c