wireguard: add support for chained buffers 97/38597/3
authorAlexander Chernavin <achernavin@netgate.com>
Wed, 29 Mar 2023 16:09:37 +0000 (16:09 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 2 Jun 2023 14:41:53 +0000 (14:41 +0000)
commitf2b6edb149a32f455ce3ee13aff1acd0a3c2ab1d
treef5e5671d46cf901aab4e6eeb5239b164ddac02b2
parentb1239c48871a3ff3ab6bd6df71d922898a935c4d
wireguard: add support for chained buffers

Type: feature

With this change, packets that are larger than a single buffer can fit
will be able to be sent and received over a Wireguard tunnel. Also,
cover this with tests.

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: Ifaf7325676d728580097bc389b51a9be39e44d88
src/plugins/wireguard/wireguard.h
src/plugins/wireguard/wireguard_input.c
src/plugins/wireguard/wireguard_output_tun.c
test/test_wireguard.py