aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet-ipv6.h')
-rw-r--r--packet-ipv6.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/packet-ipv6.h b/packet-ipv6.h
new file mode 100644
index 0000000000..75ac3d9dd0
--- /dev/null
+++ b/packet-ipv6.h
@@ -0,0 +1,8 @@
+typedef struct _e_ipv6_header{
+ /* the version contains 4-bit version and 4-bit priority */
+ guint8 version;
+ guint8 flow_label[3];
+ guint16 payload_length;
+ guint8 next_header;
+ guint8 hop_limit;
+} e_ipv6_header;