dect
/
libpcap
Archived
13
0
Fork 0

Add a link-layer type value for Fibre Channel FC-2 frames, as requested

by Kahou Leu.

Clean up a comment.
This commit is contained in:
Guy Harris 2009-07-03 17:09:22 -07:00
parent 703acf10e7
commit 32e1c4bab0
2 changed files with 17 additions and 2 deletions

View File

@ -872,10 +872,16 @@ struct bpf_version {
* From the HART Communication Foundation
* IES/PAS 62591
*
* From Sam Roberts <vieuxtech@gmail.com>
* Requested by Sam Roberts <vieuxtech@gmail.com>.
*/
#define DLT_WIHART 223
/*
* Fibre Channel FC-2 frames, beginning with a Frame_Header.
* Requested by Kahou Lei <kahou82@gmail.com>.
*/
#define DLT_FC_2 224
/*
* DLT and savefile link type values are split into a class and

View File

@ -698,10 +698,16 @@ static const char rcsid[] _U_ =
* From the HART Communication Foundation
* IES/PAS 62591
*
* From Sam Roberts <vieuxtech@gmail.com>
* Requested by Sam Roberts <vieuxtech@gmail.com>.
*/
#define LINKTYPE_WIHART 223
/*
* Fibre Channel FC-2 frames, beginning with a Frame_Header.
* Requested by Kahou Lei <kahou82@gmail.com>.
*/
#define LINKTYPE_FC_2 224
static struct linktype_map {
int dlt;
@ -1032,6 +1038,9 @@ static struct linktype_map {
/* Wireless HART */
{ DLT_WIHART, LINKTYPE_WIHART },
/* Fibre Channel FC-2 frames */
{ DLT_FC_2, LINKTYPE_FC_2 },
{ -1, -1 }
};