aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-int.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6115
* From Motonori Shindo: get rid of "send output to /dev/null" hack inGuy Harris2001-12-061-2/+2
| | | | | | Ascend/Lucent trace reading code's Flex scanner. svn path=/trunk/; revision=4346
* In "wdd" captures:Guy Harris2000-11-111-1/+2
| | | | | | | | | | | | | | | | | | fix the interpretation of the date and time reported in capture files; use that date and time only to set the start date and time of the capture, not to generate the time stamp for every packet. Make the "struct tm" used for that local to the code to handle that production in the grammar, rather than global. For all captures, we *can* now fstat a compressed file (and have been able to do so for a while, in fact), so revert to doing so and using the ctime of the capture file if we can't get a date and time from the file's contents. svn path=/trunk/; revision=2605
* In Wiretap, a file stream handle is a "FILE_T", not a "FILE_T *" (aGuy Harris2000-05-191-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
* Remove the "union pseudo_header" from the "frame_data" structure;Guy Harris2000-05-181-2/+3
| | | | | | | | | | | | | | | | | | | | 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
* Don't define "pseudo_header" in "ascend-scanner.l", as that may causeGuy Harris1999-11-241-1/+6
| | | | | | | | 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
* The #defines to turn "yy{lex,error}" into names specific to theGuy Harris1999-10-101-11/+2
| | | | | | | | | parser/lexical analyzer in question are needed only in the ".c" files for the generated parser and lexical analyzer, and Flex and Byacc/Bison put them there; don't bother putting them in a header file, just directly declare the functions with the right names. svn path=/trunk/; revision=801
* Move some definitions of stuff not used outside the Lucent/AscendGuy Harris1999-10-081-1/+12
| | | | | | capture file reading code from "ascend.h" to "ascend-int.h". svn path=/trunk/; revision=788
* Add an "ascend-int.h" file, to declare routines used by more than one ofGuy Harris1999-10-081-0/+42
the files in the Lucent/Ascend capture file code. svn path=/trunk/; revision=787