diff options
author | Dr. Lars Völker <lars.voelker@technica-engineering.de> | 2021-07-15 17:41:50 +0200 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-16 07:37:43 +0000 |
commit | 796819c955b9dd508d73bb640d56c2625f866862 (patch) | |
tree | 434d3dc5d4ea4f1c1143ca8599ea84d18cabce07 /wiretap/file_access.c | |
parent | feea07528aa38bc76aa772bca81e2e4918dda152 (diff) |
BLF: Support for BLF file format
This patch adds first support for the BLF file format.
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 3ceecfeb52..eacdbd73d9 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -88,6 +88,7 @@ #include "log3gpp.h" #include "candump.h" #include "busmaster.h" +#include "blf.h" /* @@ -158,6 +159,7 @@ static const struct file_extension_info file_type_extensions_base[] = { { "MPEG2 transport stream", TRUE, "mp2t;ts;mpg" }, { "Ixia IxVeriWave .vwr Raw 802.11 Capture", TRUE, "vwr" }, { "CAM Inspector file", TRUE, "camins" }, + { "BLF file", TRUE, "blf" }, { "MPEG files", FALSE, "mpg;mp3" }, { "Transport-Neutral Encapsulation Format", FALSE, "tnef" }, { "JPEG/JFIF files", FALSE, "jpg;jpeg;jfif" }, @@ -370,7 +372,7 @@ static const struct open_info open_info_base[] = { { "HP-UX nettl trace", OPEN_INFO_MAGIC, nettl_open, NULL, NULL, NULL }, { "Visual Networks traffic capture", OPEN_INFO_MAGIC, visual_open, NULL, NULL, NULL }, { "InfoVista 5View capture", OPEN_INFO_MAGIC, _5views_open, NULL, NULL, NULL }, - { "Viavi Observer", OPEN_INFO_MAGIC, observer_open, NULL, NULL, NULL }, + { "Viavi Observer", OPEN_INFO_MAGIC, observer_open, NULL, NULL, NULL }, { "Savvius tagged", OPEN_INFO_MAGIC, peektagged_open, NULL, NULL, NULL }, { "Colasoft Capsa", OPEN_INFO_MAGIC, capsa_open, NULL, NULL, NULL }, { "DBS Etherwatch (VMS)", OPEN_INFO_MAGIC, dbs_etherwatch_open, NULL, NULL, NULL }, @@ -384,10 +386,11 @@ static const struct open_info open_info_base[] = { { "3GPP TS 32.423 Trace format", OPEN_INFO_MAGIC, nettrace_3gpp_32_423_file_open, NULL, NULL, NULL }, /* Gammu DCT3 trace must come before MIME files as it's XML based*/ { "Gammu DCT3 trace", OPEN_INFO_MAGIC, dct3trace_open, NULL, NULL, NULL }, + { "BLF Logfile", OPEN_INFO_MAGIC, blf_open, "blf", NULL, NULL }, { "MIME Files Format", OPEN_INFO_MAGIC, mime_file_open, NULL, NULL, NULL }, { "Micropross mplog", OPEN_INFO_MAGIC, mplog_open, "mplog", NULL, NULL }, { "Unigraf DPA-400 capture", OPEN_INFO_MAGIC, dpa400_open, "bin", NULL, NULL }, - { "RFC 7468 files", OPEN_INFO_MAGIC, rfc7468_open, "pem;crt", NULL, NULL }, + { "RFC 7468 files", OPEN_INFO_MAGIC, rfc7468_open, "pem;crt", NULL, NULL }, { "Novell LANalyzer", OPEN_INFO_HEURISTIC, lanalyzer_open, "tr1", NULL, NULL }, /* * PacketLogger must come before MPEG, because its files |