diff options
| author | 2019-01-27 04:54:06 +0000 | |
|---|---|---|
| committer | 2019-01-27 04:54:06 +0000 | |
| commit | b63ffc37ebf9aad92eb7a8b6178546f270feaa7c (patch) | |
| tree | 2af395c059203219d727ff418ef7c607919f963b /gnu/llvm/examples/ModuleMaker/ModuleMaker.cpp | |
| parent | change how packets are pushed into mpe(4). (diff) | |
| download | wireguard-openbsd-b63ffc37ebf9aad92eb7a8b6178546f270feaa7c.tar.xz wireguard-openbsd-b63ffc37ebf9aad92eb7a8b6178546f270feaa7c.zip | |
rework mpe_input so it patches ipv4 cksum, and handles ipv6 too.
rather than check and recalculate the ipv4 checksum, we can update
the cksum incrementally. this is a bit faster, and means we'll see
more things on bpf.
also, peek at the first nibble so we can tell ipv6 from ipv4. i
consider them the same FEC, so either can be received now.
Diffstat (limited to 'gnu/llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions
