diff --git a/pcap/bpf.h b/pcap/bpf.h index 1c75ae9..641b967 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -872,10 +872,16 @@ struct bpf_version { * From the HART Communication Foundation * IES/PAS 62591 * - * From Sam Roberts + * Requested by Sam Roberts . */ #define DLT_WIHART 223 +/* + * Fibre Channel FC-2 frames, beginning with a Frame_Header. + * Requested by Kahou Lei . + */ +#define DLT_FC_2 224 + /* * DLT and savefile link type values are split into a class and diff --git a/savefile.c b/savefile.c index 9efbefb..645e877 100644 --- a/savefile.c +++ b/savefile.c @@ -698,10 +698,16 @@ static const char rcsid[] _U_ = * From the HART Communication Foundation * IES/PAS 62591 * - * From Sam Roberts + * Requested by Sam Roberts . */ #define LINKTYPE_WIHART 223 +/* + * Fibre Channel FC-2 frames, beginning with a Frame_Header. + * Requested by Kahou Lei . + */ +#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 } };