summaryrefslogtreecommitdiffhomepage
path: root/src/socket.h
diff options
context:
space:
mode:
authorMarvin Gaube <dev@marvingaube.de>2021-09-15 22:53:33 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2021-09-15 23:15:29 +0200
commit6e73af25c5008b4330ad14b5e22b94fff8771eb9 (patch)
tree5280c88dba6bd81be96db8d052759653515d4bf3 /src/socket.h
parent8118c247a75ae95169f0a9a539dfc661ffda8bc5 (diff)
global: support binding the transport socket to a device
This patch depends on da5095d052860baa7fe2932fb1209628dd3e3813 from udp_tunnel module, and allows to bind the transport socket to a specific interface. With this patch, it is possible to use wireguard with VRFs: The transport uses a separate "WAN" VRF, cleanly isolating Local/VPN and WAN Routing. The userspace API is designed to transmit the device index of the device to listen on. Listening on a device does only work if the socketdev_index is set/changed before the socket is brought up. Signed-off-by: Marvin Gaube <dev@marvingaube.de>
Diffstat (limited to 'src/socket.h')
0 files changed, 0 insertions, 0 deletions