aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-30 03:11:03 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-30 03:11:03 +0000
commit95c1f2f7c90178202fb4d79e15cd0be113e97e8e (patch)
tree02ceea77ac86278a29ddfa5ec0dcf4c6ab9a4295 /wiretap/file_access.c
parentc37d30442f91249871519a26d78ec03bc5165271 (diff)
From Marcel Holtmann: support for reading Linux Bluez Bluetooth stack
"hcidump -w" traces. Note that Jesper Peterson contributed support for reading Endace ERF files. svn path=/trunk/; revision=8824
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r--wiretap/file_access.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index 74e4bb6260..f5ef156da1 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -1,6 +1,6 @@
/* file_access.c
*
- * $Id: file_access.c,v 1.3 2003/10/01 07:11:47 guy Exp $
+ * $Id: file_access.c,v 1.4 2003/10/30 03:11:02 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -70,6 +70,7 @@
#include "cosine.h"
#include "5views.h"
#include "erf.h"
+#include "hcidump.h"
/* The open_file_* routines should return:
*
@@ -120,6 +121,7 @@ static int (*const open_routines[])(wtap *, int *) = {
dbs_etherwatch_open,
cosine_open,
erf_open,
+ hcidump_open,
};
#define N_FILE_TYPES (sizeof open_routines / sizeof open_routines[0])
@@ -435,6 +437,10 @@ static const struct file_type_info {
/* WTAP_FILE_ERF */
{ "Endace DAG capture", "erf",
NULL, NULL },
+
+ /* WTAP_FILE_HCIDUMP */
+ { "Bluetooth HCI dump", "hcidump",
+ NULL, NULL },
};
/* Name that should be somewhat descriptive. */