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:
parent
703acf10e7
commit
32e1c4bab0
|
@ -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
|
||||
|
|
11
savefile.c
11
savefile.c
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
Reference in New Issue