From 79c2223425e406816ea9f8eda1cc48cd9ac01835 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 2 Aug 1999 02:04:38 +0000 Subject: Check in Olivier Abad's patch to add dissectors for LAP-B and X.25, and wiretap support for RADCOM Ltd.'s WAN/LAN analyzers (see http://www.radcom-inc.com/ ). Note: as I remember, IEEE 802.2/ISO 8022 LLC has somewhat of an SDLC flavor to it, just as I think LAP, LAPB, LAPD, and so on do, so we may be able to combine some of the LLC dissection and the LAPB dissection into common code that could, conceivably be used for other SDLC-flavored protocols. Make "S" a mnemonic for "Summary" in the "Tools" menu. Move the routine, used for the "Tools/Summary" display, that turns a wiretap file type into a descriptive string for it into the wiretap library itself, expand on some of its descriptions, and add an entry for files from a RADCOM analyzer. Have "Tools/Summary" display the snapshot length for the capture. svn path=/trunk/; revision=416 --- wiretap/file.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wiretap/file.c') diff --git a/wiretap/file.c b/wiretap/file.c index 83045fe0df..54734a0df5 100644 --- a/wiretap/file.c +++ b/wiretap/file.c @@ -1,6 +1,6 @@ /* file.c * - * $Id: file.c,v 1.11 1999/07/13 02:53:23 gram Exp $ + * $Id: file.c,v 1.12 1999/08/02 02:04:37 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -30,6 +30,7 @@ #include "buffer.h" #include "lanalyzer.h" #include "ngsniffer.h" +#include "radcom.h" #include "libpcap.h" #include "snoop.h" #include "iptrace.h" @@ -66,6 +67,10 @@ wtap* wtap_open_offline(char *filename) if ((wth->file_type = ngsniffer_open(wth)) != WTAP_FILE_UNKNOWN) { goto success; } + /* WTAP_FILE_RADCOM */ + if ((wth->file_type = radcom_open(wth)) != WTAP_FILE_UNKNOWN) { + goto success; + } /* WTAP_FILE_LANALYZER */ if ((wth->file_type = lanalyzer_open(wth)) != WTAP_FILE_UNKNOWN) { goto success; -- cgit v1.2.3