diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2013-10-19 10:38:56 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2013-10-19 10:38:56 +0000 |
commit | 5020dd8837f56b45edd717dde5f5ff870fc14dcf (patch) | |
tree | 6cda27f1c1cb19b88ba176bb0ebd3e80ca590413 /usr.sbin/tokenadm | |
parent | b6ce80a2aefa4b19550d5c0ed14e253f64a6b65e (diff) |
make in_proto_cksum_out not rely on the pseudo header checksum to be
already there, just compute it - it's dirt cheap. since that happens
very late in ip_output, the rest of the stack doesn't have to care about
checksums at all any more, if something needs to be checksummed, just
set the flag on the pkthdr mbuf to indicate so.
stop pre-computing the pseudo header checksum and incrementally updating it
in the tcp and udp stacks.
ok lteo florian
Diffstat (limited to 'usr.sbin/tokenadm')
0 files changed, 0 insertions, 0 deletions