net: Clarify transport checksum offload
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 10 Nov 2017 17:14:50 +0000 (12:14 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:56 +0000 (10:46 -0500)
commitb62f28aaec5511694ed8cad627ec6ba7d5d9d7de
treeaee05da80e54a3056fa15fe9757fccc34756e85f
parent78f188b08b196ddd5cfe39f53de135e6735e6004
net: Clarify transport checksum offload

It turns out that checksum_start (an offset) was always the same as
transport_offset.  That's how these transport xsum offloads work.

The asserts are for sanity checks.  We can take those out once we're sure
I'm right about all this.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/net/ip.h
kern/include/net/tcp.h
kern/include/ns.h
kern/src/net/ip.c
kern/src/net/ipv6.c
kern/src/net/tcp.c
kern/src/net/udp.c
kern/src/ns/qio.c