aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-02 19:37:05 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-02 19:37:05 +0000
commitfe73d8e3b662f6027ac672a1d8dc6881684fb602 (patch)
tree378d6cbb9c357922cb69f69a1c9c064546627374 /wiretap/file_access.c
parent37b5a4786fd82aa1b71fd0d81877b2982d33a369 (diff)
From Martijn Schipper: support for reading AiroPeek files in V9 capture
file format (AiroPeek 2.x). svn path=/trunk/; revision=9144
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 9a88b79671..47d475a198 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -1,6 +1,6 @@
/* file_access.c
*
- * $Id: file_access.c,v 1.7 2003/12/01 06:59:10 sharpe Exp $
+ * $Id: file_access.c,v 1.8 2003/12/02 19:37:05 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -50,6 +50,7 @@
#include "file_wrappers.h"
#include "buffer.h"
#include "lanalyzer.h"
+#include "airopeek9.h"
#include "ngsniffer.h"
#include "radcom.h"
#include "ascend.h"
@@ -106,6 +107,7 @@ static int (*const open_routines[])(wtap *, int *) = {
visual_open,
_5views_open,
network_instruments_open,
+ airopeek9_open,
/* Files that don't have magic bytes at a fixed location,
* but that instead require a heuristic of some sort to
@@ -447,6 +449,10 @@ static const struct file_type_info {
/* WTAP_FILE_NETWORK_INSTRUMENTS_V9 */
{ "Network Instruments Observer version 9", "niobserverv9",
network_instruments_dump_can_write_encap, network_instruments_dump_open },
+
+ /* WTAP_FILE_AIROPEEK_V9 */
+ { "AiroPeek trace (V9 file format)", NULL,
+ NULL, NULL },
};
/* Name that should be somewhat descriptive. */