aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sll.h
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2010-09-12 01:13:42 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2010-09-12 01:13:42 +0000
commitcfbd48b7853461a1f3bd3ca3c97639762c931515 (patch)
treeb1df9b5bf0c0e110dae312676a517a79798e6e91 /epan/dissectors/packet-sll.h
parent894941e532eec92ea593e6be66c0149edbb1d41c (diff)
Decode SLL payloads using a dissector table based on sll.ltype.
The idea and the original patch came from Sebastian Reichel <elektranox@gmail.com> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594390 svn path=/trunk/; revision=34101
Diffstat (limited to 'epan/dissectors/packet-sll.h')
-rw-r--r--epan/dissectors/packet-sll.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sll.h b/epan/dissectors/packet-sll.h
index bac77079af..35b893cc7b 100644
--- a/epan/dissectors/packet-sll.h
+++ b/epan/dissectors/packet-sll.h
@@ -24,6 +24,13 @@
#ifndef __PACKET_SLL_H__
#define __PACKET_SLL_H__
+/*
+ * The LINUX_SLL_ values for "sll_protocol".
+ */
+#define LINUX_SLL_P_802_3 0x0001 /* Novell 802.3 frames without 802.2 LLC header */
+#define LINUX_SLL_P_802_2 0x0004 /* 802.2 frames (not D/I/X Ethernet) */
+#define LINUX_SLL_P_PPPHDLC 0x0007 /* PPP HDLC frames */
+
void capture_sll(const guchar *, int, packet_counts *);
#endif