From 0fe5b29423c1ad97012a865f1cd8b4f7ff37f143 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 29 Oct 2010 00:14:34 +0200 Subject: Extended pktloc to support nbyte locations for ipv6, etc. The alignment column/field now also takes a number, specifying the length in bytes of the field described by the location --- etc/pktloc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'etc/pktloc') diff --git a/etc/pktloc b/etc/pktloc index db36d401..96f5a412 100644 --- a/etc/pktloc +++ b/etc/pktloc @@ -17,6 +17,18 @@ ip.chksum u16 net+10 ip.src u32 net+12 ip.dst u32 net+16 +# +# IP version 6 +# +# name alignment offset mask +ip6.version u8 net+0 0xF0 +ip6.tc u16 net+0 0xFF0 +ip6.flowlabel u32 net+0 0xFFFFF +ip6.length u16 net+4 +ip6.nexthdr u8 net+6 +ip6.hoplimit u8 net+7 +ip6.src 16 net+8 +ip6.dst 16 net+24 # # Transmission Control Protocol (TCP) -- cgit v1.2.3