net: Add network_offset to blocks
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 8 Nov 2017 16:44:18 +0000 (11:44 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:56 +0000 (10:46 -0500)
commite1996594521f55f984488f03659cf4fbcb200603
treec1a1804cac76c9f2000d8edc2cc7167d1d23cd9c
parent91d05e60b1649ff841e8eaf2993f301ddd7c1530
net: Add network_offset to blocks

Similar to transport_offset, this is the offset from bp->rp to the
beginning of the network layer header, e.g. IP.

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/tcp.c
kern/src/net/udp.c
kern/src/ns/allocb.c
kern/src/ns/qio.c