aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend.h
AgeCommit message (Collapse)AuthorFilesLines
2000-08-11Miscellaneous code cleaningLaurent Deniel1-1/+6
- add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
2000-05-18Remove the "union pseudo_header" from the "frame_data" structure;Guy Harris1-2/+1
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-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
1999-10-08Move some definitions of stuff not used outside the Lucent/AscendGuy Harris1-11/+1
capture file reading code from "ascend.h" to "ascend-int.h". svn path=/trunk/; revision=788
1999-09-11Added Guy's patch to use the pseudo header facility to pass up the AscendGerald Combs1-15/+5
metadata. Also added filter items for the session and task number. svn path=/trunk/; revision=664
1999-09-11"ascend_read()" is local to "ascend.c" - declare it there, not inGuy Harris1-2/+1
"ascend.h". svn path=/trunk/; revision=657
1999-09-11Add in ascend.c, ascend.h, ascend-grammar.y and ascend-scanner.l. TheseGerald Combs1-0/+50
read and parse the Lucent/Ascend trace output. svn path=/trunk/; revision=653