opnsense-src/share/man
Mark Johnston 3b856fd43f wg: Add netmap support
When in netmap (emulated) mode, wireguard interfaces prepend or strip a
dummy ethernet header when interfacing with netmap.  The netmap
application thus sees unencrypted, de-encapsulated frames with a fixed
header.

In this mode, netmap hooks the if_input and if_transmit routines of the
ifnet.  Packets from the host TX ring are handled by wg_if_input(),
which simply hands them to the netisr layer; packets which would
otherwise be tunneled are intercepted in wg_output() and placed in the
host RX ring.

The "physical" TX ring is processed by wg_transmit(), which behaves
identically to wg_output() when netmap is not enabled, and packets
appear in the "physical" RX ring by hooking wg_deliver_in().

Reviewed by:	vmaffione
MFC after:	1 month
Sponsored by:	Klara, Inc.
Sponsored by:	Zenarmor
Differential Revision:	https://reviews.freebsd.org/D43460
2024-06-03 11:06:55 +02:00
..
man1 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
man3 pthread_sigqueue(3): document 2024-04-30 03:48:09 +03:00
man3lua Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
man4 wg: Add netmap support 2024-06-03 11:06:55 +02:00
man5 Enable kernel reproducible builds on stable branch 2024-05-03 15:23:27 -07:00
man6 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
man7 networking.7 : create network quickstart guide 2024-05-21 14:09:04 -06:00
man8 rc: also run NAME_setup on NAME_reload 2024-06-03 11:06:53 +02:00
man9 ieee80211_vap(9): fix the title 2024-05-01 15:36:48 -03:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00