aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-07-30 02:30:50 +0000
committerGuy Harris <guy@alum.mit.edu>2010-07-30 02:30:50 +0000
commit11b9ed0426b00dc822d4ab755821f7029b2d821d (patch)
treed02aa5f227d6806ed9d8c668ce15087b89566796 /wiretap/wtap.h
parent9a7e8cdddfab04ae270843ce3e310289b3428ad6 (diff)
Define WTAP_ENCAP_IEEE802_15_4_NOFCS, for use in file formats that don't
include the FCS, and use it for the Daintree SNA file format. While we're at it, explicitly check to make sure the purported packet length gives it at least one byte of packet data, and fix some print formats to use %u for unsigned values. svn path=/trunk/; revision=33678
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index c726a99e0d..3a9261a1f3 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -215,7 +215,8 @@ extern "C" {
#define WTAP_ENCAP_JPEG_JFIF 123
#define WTAP_ENCAP_IPNET 124
#define WTAP_ENCAP_SOCKETCAN 125
-#define WTAP_ENCAP_IEEE802_11_NETMON_RADIO 126
+#define WTAP_ENCAP_IEEE802_11_NETMON_RADIO 126
+#define WTAP_ENCAP_IEEE802_15_4_NOFCS 127
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()