Have wg(4) copy the priority from the inner packet to the outer encrypted
authorsthen <sthen@openbsd.org>
Tue, 26 Sep 2023 15:16:44 +0000 (15:16 +0000)
committersthen <sthen@openbsd.org>
Tue, 26 Sep 2023 15:16:44 +0000 (15:16 +0000)
commitdbebf518da97d8c0c7746cce71f5ea4ae909cb89
tree0655c9301a8bd44010fb811f85bd686ba2dbc7ed
parent31a1bbecdb015a5db76e8f321007eab45b2240f7
Have wg(4) copy the priority from the inner packet to the outer encrypted
packet, so that higher priority packets are picked from hfsc queues for
earlier transmission.

(Does not copy ToS bits from inner to outer packet headers sent on the
wire, which some may regard as secret).

tested by Andrew Lemin, ok dlg@
sys/net/if_wg.c