744bfb2131
This commit brings back the driver from FreeBSD commit
f187d6dfbf
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
11 lines
215 B
Makefile
11 lines
215 B
Makefile
.PATH: ${SRCTOP}/sys/dev/wg
|
|
|
|
KMOD= if_wg
|
|
|
|
SRCS= if_wg.c wg_cookie.c wg_crypto.c wg_noise.c
|
|
SRCS+= opt_inet.h opt_inet6.h device_if.h bus_if.h
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -include ${SRCTOP}/sys/dev/wg/compat.h
|