xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 108 forks source link

implement udp csum, rfc1542 padding and rfc3046 opt82 echoing #113

Closed themiron closed 4 years ago

themiron commented 4 years ago

packet flattening allows to calc csums in single pass. at the other hand, keeping vectorized raw packet would require partial csum calculation, not sure should we bother with it for small dhcp packets < 576.