HomeFreeBSD

Import the WireGuard driver from zx2c4.com.

Description

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

(cherry picked from commit 744bfb213144c63cbaf38d91a1c4f7aebb9b9fbc)

Details

Provenance
jhbAuthored on Oct 28 2022, 8:36 PM
Reviewer
pauamma_gundo.com
Differential Revision
D36909: Import the WireGuard driver from zx2c4.com.
Parents
rG980c7b0a54b9: Split netinet shell tests into one per line.
Branches
Unknown
Tags
Unknown