]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import the WireGuard driver from zx2c4.com.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 28 Oct 2022 20:36:12 +0000 (13:36 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 28 Oct 2022 20:36:12 +0000 (13:36 -0700)
commit744bfb213144c63cbaf38d91a1c4f7aebb9b9fbc
tree668f485d546b43d129c21513afccdfc2cc30fd3c
parent9e0aaedd704ee8a040ecb1d1aadf0bd75ed4dc09
Import the WireGuard driver from zx2c4.com.

This commit brings back the driver from FreeBSD commit
f187d6dfbf633665ba6740fe22742aec60ce02a2 plus subsequent fixes from
upstream.

Relative to upstream this commit includes a few other small fixes such
as additional INET and INET6 #ifdef's, #include cleanups, and updates
for recent API changes in main.

Reviewed by: pauamma, gbe, kevans, emaste
Obtained from: git@git.zx2c4.com:wireguard-freebsd @ 3cc22b2
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36909
23 files changed:
etc/mtree/BSD.include.dist
include/Makefile
share/man/man4/Makefile
share/man/man4/wg.4 [new file with mode: 0644]
sys/conf/NOTES
sys/conf/files
sys/dev/wg/compat.h [new file with mode: 0644]
sys/dev/wg/crypto.h [new file with mode: 0644]
sys/dev/wg/if_wg.c [new file with mode: 0644]
sys/dev/wg/if_wg.h [new file with mode: 0644]
sys/dev/wg/support.h [new file with mode: 0644]
sys/dev/wg/version.h [new file with mode: 0644]
sys/dev/wg/wg_cookie.c [new file with mode: 0644]
sys/dev/wg/wg_cookie.h [new file with mode: 0644]
sys/dev/wg/wg_crypto.c [new file with mode: 0644]
sys/dev/wg/wg_noise.c [new file with mode: 0644]
sys/dev/wg/wg_noise.h [new file with mode: 0644]
sys/kern/kern_jail.c
sys/modules/Makefile
sys/modules/if_wg/Makefile [new file with mode: 0644]
sys/net/if_types.h
sys/netinet6/nd6.c
sys/sys/priv.h