summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-01-27 04:54:06 +0000
committerdlg <dlg@openbsd.org>2019-01-27 04:54:06 +0000
commitb63ffc37ebf9aad92eb7a8b6178546f270feaa7c (patch)
tree2af395c059203219d727ff418ef7c607919f963b /gnu/llvm/tools/clang/lib/CodeGen/CGException.cpp
parentchange how packets are pushed into mpe(4). (diff)
downloadwireguard-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/tools/clang/lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions