aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-scanner.l
AgeCommit message (Collapse)AuthorFilesLines
2001-12-06From Motonori Shindo: get rid of "send output to /dev/null" hack inGuy Harris1-4/+3
Ascend/Lucent trace reading code's Flex scanner. svn path=/trunk/; revision=4346
2001-12-04From Motonori Shindo: fix Ascend/Lucent trace reading code to handleGuy Harris1-6/+19
later trace formats that have an ASCII dump at the end of the line. svn path=/trunk/; revision=4327
2001-11-13Hopefully the last time I have to change my e-mail address.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=4199
2001-08-20Use system's version of AM_PATH_GLIB macro.Gilbert Ramirez1-5/+5
Optimize use of AC_CHECK_FUNC in wiretap/acinclude.m4 Move #include "config.h" to be first include in some files. From albert chin (china@thewrittenword.com) svn path=/trunk/; revision=3857
2001-04-18#define YY_NEVER_INTERACTIVE to avoid reference to isatty() on Win32,Gilbert Ramirez1-1/+3
and thus avoid a compiler warning when compiling ascend-scanner.c. svn path=/trunk/; revision=3322
2001-04-09Add support for "version 7" wandess output. Actually, I think it'sGerald Combs1-10/+25
simply PPP data that doesn't have a username associated with it, e.g. for a dedicated WAN link as opposed to a dialup link. svn path=/trunk/; revision=3274
2000-11-12Not all packets in a "wdd" dump necessarily have a "Cause an attempt toGuy Harris1-4/+4
place call to" header (I presume this can happen if there was a call in progress when the packet was sent or received); don't require the Date: 01/12/1990. Time: 12:22:33 Cause an attempt to place call to 14082750382 to be present in every packet. (Only the date on the first packet is used, and only if it's present in the first packet; if the first packet doesn't have a date, we can't easily go back and fix up the previous packets, *especially* in programs such as Tethereal and editcap which make only one pass through the capture. We set the called number to a null string if that's the case; we could assume, in the sequential pass, that it's the phone number from the last call, and remember that for use when doing random access.) svn path=/trunk/; revision=2617
2000-05-19Add wtap-int.h. Move definitions relevant to the internal workins of wiretapGilbert Ramirez1-2/+2
to that file, leave public definitions in wtap.h. Rename "union pseudo_header" to "union wtap_pseudo_header". Make the wtap_pseudo_header pointer available in packet_info struct. svn path=/trunk/; revision=1989
2000-05-19In Wiretap, a file stream handle is a "FILE_T", not a "FILE_T *" (aGuy Harris1-3/+3
"FILE_T" is either a "gzFile" or a "FILE *", depending on whether zlib support is enabled or not). Fix various function declarations and definitions. svn path=/trunk/; revision=1984
2000-05-18Remove the "union pseudo_header" from the "frame_data" structure;Guy Harris1-2/+2
there's no need to keep it around in memory - when the frame data is read in when handing a frame, read in the information, if any, necessary to reconstruct the frame header, and reconstruct it. This saves some memory. This requires that the seek-and-read function be implemented inside Wiretap, and that the Wiretap handle remain open even after we've finished reading the file sequentially. This also points out that we can't really do X.25-over-Ethernet correctly, as we don't know where the direction (DTE->DCE or DCE->DTE) flag is stored; it's not clear how the Ethernet type 0x0805 for X.25 Layer 3 is supposed to be handled in any case. We eliminate X.25-over-Ethernet support (until we find out what we're supposed to do). svn path=/trunk/; revision=1975
2000-02-15Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez1-1/+6
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637
2000-01-22Fix files that had Gilbert's old e-mail address or that didn't have myGuy Harris1-2/+2
forwarding e-mail address. svn path=/trunk/; revision=1522
2000-01-13Fix "ascend-scanner.l" to include "file_wrappers.h" rather than theGuy Harris1-2/+2
defunct "file.h". Make "file_wrappers.c" include "wtap.h", so that the WTAP_ERR_ZLIB_ values are defined. svn path=/trunk/; revision=1464
2000-01-10Some initial changes for win32 support, but not all.Gilbert Ramirez1-2/+7
Added lots of #ifdef HAVE_*_H wrappers. Added some #defines in config.h.win32 Check for more headers in configure.in Added prototype for inet_aton() in inet_v6defs.h. Changed "BYTE" token (i.e., #define) in ascend-gramamr.y because it conflicts with a windows definition. Use HEXBYTE instead. svn path=/trunk/; revision=1448
1999-11-24Don't define "pseudo_header" in "ascend-scanner.l", as that may causeGuy Harris1-3/+1
warnings about multiple declaration of "pseudo_header" as a common. Instead, define it only in "ascend-grammar.y", and declare it in "ascend-int.h" as an "extern". svn path=/trunk/; revision=1103
1999-11-18Clean up some ANSI C nits pointed out by "gcc -pedantic".Guy Harris1-2/+2
Also, explicitly compare the result of "memcmp()" against 0 - the appearance of a comparison operator in the expression makes it clearer what test is being done. svn path=/trunk/; revision=1061
1999-10-08Add an "ascend-int.h" file, to declare routines used by more than one ofGuy Harris1-1/+2
the files in the Lucent/Ascend capture file code. svn path=/trunk/; revision=787
1999-09-23Give it an RCS ID.Guy Harris1-0/+23
svn path=/trunk/; revision=706
1999-09-23Adds progress bar functionality back for loading files (it was changed toAshok Narayanan1-1/+4
bounce bar for compressed file support). Note that the progress bar may not grow smoothly for compressed files, but it should be reasonably accurate for files which are large enough to matter. svn path=/trunk/; revision=701
1999-09-22Fix to allow compressed file handling of Ascend capturesAshok Narayanan1-2/+7
svn path=/trunk/; revision=699
1999-09-13Add support for "wdd" trace output.Gerald Combs1-44/+135
svn path=/trunk/; revision=673
1999-09-11Added Guy's patch to use the pseudo header facility to pass up the AscendGerald Combs1-3/+5
metadata. Also added filter items for the session and task number. svn path=/trunk/; revision=664
1999-09-11Add in ascend.c, ascend.h, ascend-grammar.y and ascend-scanner.l. TheseGerald Combs1-0/+129
read and parse the Lucent/Ascend trace output. svn path=/trunk/; revision=653