dect
/
libpcap
Archived
13
0
Fork 0

Add a link-layer type value for Wireless HART.

This commit is contained in:
Guy Harris 2009-06-26 15:29:43 -07:00
parent 744a2b557b
commit 6a39db3ab2
2 changed files with 21 additions and 0 deletions

View 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 <vieuxtech@gmail.com>
*/
#define DLT_WIHART 223
/*
* DLT and savefile link type values are split into a class and

View 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 <vieuxtech@gmail.com>
*/
#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 }
};