summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-10-29 00:14:34 +0200
committerThomas Graf <tgraf@suug.ch>2010-10-29 00:14:34 +0200
commit0fe5b29423c1ad97012a865f1cd8b4f7ff37f143 (patch)
tree2776ab0e83cea83f4582b0f2313901a7c4c918be /etc
parent65e386c8ba490d405f539322a12e1f1c7ea2eb5c (diff)
downloadlibnl-0fe5b29423c1ad97012a865f1cd8b4f7ff37f143.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/pktloc12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/pktloc b/etc/pktloc
index db36d40..96f5a41 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)