Add a variable offset to vpn_packet_t, drop sptps_packet_t.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 24 Dec 2014 21:23:24 +0000 (22:23 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 24 Dec 2014 23:36:27 +0000 (00:36 +0100)
The offset value indicates where the actual payload starts, so we can
process both legacy and SPTPS UDP packets without having to do casting
tricks and/or moving memory around.


No differences found