diff --git a/pcap/bpf.h b/pcap/bpf.h index b2b242b..1c75ae9 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -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 + */ +#define DLT_WIHART 223 + /* * DLT and savefile link type values are split into a class and diff --git a/savefile.c b/savefile.c index ccb26a4..9efbefb 100644 --- a/savefile.c +++ b/savefile.c @@ -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 + */ +#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 } };