diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-10-28 20:36:12 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-11-11 21:44:11 +0000 |
commit | 5ae69e2f10dacd750b0f0e9284fefcbe97eb0476 (patch) | |
tree | 49791cd3ba89d86472c36bcc7d5db56937f91213 /sys/conf/files | |
parent | 980c7b0a54b9add461960f98707f358c82394455 (diff) |
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)
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index ab20cea43699..5a02fe8f9f36 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -765,8 +765,8 @@ crypto/sha2/sha256c.c optional crypto | ekcd | geom_bde | \ crypto/sha2/sha512c.c optional crypto | geom_bde | zfs crypto/skein/skein.c optional crypto | zfs crypto/skein/skein_block.c optional crypto | zfs -crypto/siphash/siphash.c optional inet | inet6 -crypto/siphash/siphash_test.c optional inet | inet6 +crypto/siphash/siphash.c optional inet | inet6 | wg +crypto/siphash/siphash_test.c optional inet | inet6 | wg ddb/db_access.c optional ddb ddb/db_break.c optional ddb ddb/db_capture.c optional ddb @@ -3528,6 +3528,14 @@ dev/vt/vt_font.c optional vt dev/vt/vt_sysmouse.c optional vt dev/vte/if_vte.c optional vte pci dev/watchdog/watchdog.c standard +dev/wg/if_wg.c optional wg \ + compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" +dev/wg/wg_cookie.c optional wg \ + compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" +dev/wg/wg_crypto.c optional wg \ + compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" +dev/wg/wg_noise.c optional wg \ + compile-with "${NORMAL_C} -include $S/dev/wg/compat.h" dev/wpi/if_wpi.c optional wpi pci wpifw.c optional wpifw \ compile-with "${AWK} -f $S/tools/fw_stub.awk wpi.fw:wpifw:153229 -mwpi -c${.TARGET}" \ |