diff options
author | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2006-05-08 19:56:36 +0000 |
---|---|---|
committer | Graeme Lunt <graeme.lunt@smhs.co.uk> | 2006-05-08 19:56:36 +0000 |
commit | abefaf32bf4fdadb723cbf5583db0981a1d409a6 (patch) | |
tree | 91e01718c5e48e92aa5c5db210908daded959205 /wiretap/file_access.c | |
parent | 146d22767c001cdc283b8f5e05f48250b8d9d61e (diff) |
Basic Encoding Rules (BER) encoded file reading. Not really a packet trace format but still useful for dissecting arbitrary BER/DER ASN.1.
svn path=/trunk/; revision=18110
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index a972d64568..c6341c0e84 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -70,6 +70,7 @@ #include "hcidump.h" #include "network_instruments.h" #include "k12.h" +#include "ber.h" #include "catapult_dct2000.h" /* The open_file_* routines should return: @@ -109,7 +110,7 @@ static int (*const open_routines[])(wtap *, int *, char **) = { dbs_etherwatch_open, k12_open, catapult_dct2000_open, - + ber_open, /* Files that don't have magic bytes at a fixed location, * but that instead require a heuristic of some sort to * identify them. This includes the ASCII trace files that @@ -514,6 +515,11 @@ static const struct file_type_info { /* WTAP_FILE_CATAPULT_DCT2000 */ { "Catapult DCT2000 trace (.out format)", "dct2000", FALSE, catapult_dct2000_dump_can_write_encap, catapult_dct2000_dump_open }, + + /* WTAP_FILE_BER */ + { "ASN.1 Basic Encoding Rules", "ber", FALSE, + NULL, NULL }, + }; /* Name that should be somewhat descriptive. */ |