]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add a link-layer type value for Wireless HART.
authorGuy Harris <[email protected]>
Fri, 26 Jun 2009 22:29:43 +0000 (15:29 -0700)
committerGuy Harris <[email protected]>
Fri, 26 Jun 2009 22:29:43 +0000 (15:29 -0700)
pcap/bpf.h
savefile.c

index b2b242b677a27a79317607011f93aefc6dd761c7..1c75ae9d553f55d18a7f7a37530b8475e40e1f60 100644 (file)
@@ -867,6 +867,15 @@ struct bpf_version {
  */
 #define DLT_AOS                 222
 
+/*
+ * Wireless HART (Highway Addressable Remote Transducer)
+ * From the HART Communication Foundation
+ * IES/PAS 62591
+ *
+ * From Sam Roberts <[email protected]>
+ */
+#define DLT_WIHART             223
+
 
 /*
  * DLT and savefile link type values are split into a class and
index ccb26a4597dfb70b0576a4cbd43cd0a38c9e2e2e..9efbefb6662e27a7d3682318e3c43f0cd66cbc24 100644 (file)
@@ -693,6 +693,15 @@ static const char rcsid[] _U_ =
  */
 #define LINKTYPE_AOS                           222
 
+/*
+ * Wireless HART (Highway Addressable Remote Transducer)
+ * From the HART Communication Foundation
+ * IES/PAS 62591
+ *
+ * From Sam Roberts <[email protected]>
+ */
+#define LINKTYPE_WIHART                                223
+
 
 static struct linktype_map {
        int     dlt;
@@ -1020,6 +1029,9 @@ static struct linktype_map {
        /* AOS Space Data Link Protocol */
        { DLT_AOS,              LINKTYPE_AOS },
 
+       /* Wireless HART */
+       { DLT_WIHART,           LINKTYPE_WIHART },
+
        { -1,                   -1 }
 };