aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/nettl.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix wiretap headers to allow error-free ABI dumping.Balint Reczey2011-06-041-0/+3
| | | | svn path=/trunk/; revision=37543
* "This file format can't be written to a pipe" and "this file formatGuy Harris2011-04-121-1/+1
| | | | | | | | | | | | | can't be saved in compress form" are both equivalent to "this file file format requires seeking when writing it". Change the "can compress" Boolean in the file format table to "writing requires seeking", give all the entries the proper value, and do the checks for attempting to write a file format to a pipe or write it in compressed format to common code. This means we don't need to pass the "can't seek" flag to the dump open routines. svn path=/trunk/; revision=36575
* From Mark C. Brown:Jaap Keuter2009-02-251-1/+7
| | | | | | | | Added support for HPVM (Integrity Virtual Machines) guest AVIO (Accelerated Virtual IO) driver IGSSN. Cleaned up the trace record checks. Made the default ethernet if the nettl subsystem is not recognized. svn path=/trunk/; revision=27549
* From Mark C. Brown:Jaap Keuter2008-04-121-0/+2
| | | | | | | Added support for HPVM (Integrity Virtual Machines) guest AVIO (Accelerated Virtual IO) driver IGSSN and 2nd generation 10 Gigabit Ethernet adapter AD386A driver ICXGBE. svn path=/trunk/; revision=24926
* From Mark C. Brown:Anders Broman2007-10-271-0/+10
| | | | | | Add support for the new NS_LS_SCTP tracing subsystem. svn path=/trunk/; revision=23290
* From Mark C. Brown:Jaap Keuter2007-01-011-2/+2
| | | | | | | | | HP-UX 11.31 will add a new nettl trace subsystem, NS_LS_TELNET (ID=267). NS_LS_TELNET is just raw telnet data. There is no layer 2/3/4 headers, so there's just the HP-UX nettl record header followed directly by the TCP payload for a telnet connection. Thus the need for a new wiretap encapsulation type... svn path=/trunk/; revision=20253
* updating Mark C Browns informationRonnie Sahlberg2005-04-071-0/+3
| | | | svn path=/trunk/; revision=14025
* From Mark C Brown NETTL updatesRonnie Sahlberg2005-04-011-2/+2
| | | | svn path=/trunk/; revision=13999
* Mark C. Brown: Added support for new ixgbe cardJörg Mayer2005-02-031-0/+1
| | | | svn path=/trunk/; revision=13267
* From Mark C. Brown: add 100VG support.Guy Harris2004-10-141-0/+1
| | | | svn path=/trunk/; revision=12299
* From Mark C. Brown: add support for writing nettl files.Guy Harris2004-10-111-0/+2
| | | | svn path=/trunk/; revision=12258
* From Mark C. Brown: add EISA 100BaseTX, EISA FDDI, and HSC FDDI support,Guy Harris2004-10-061-0/+3
| | | | | | and make a small performance fix to HP-PB FDDI. svn path=/trunk/; revision=12218
* From Mark C. Brown: support for the NETTL_SUBSYS_HPPB_FDDI records.Guy Harris2004-10-051-0/+5
| | | | svn path=/trunk/; revision=12202
* From Mark C. Brown: add the HP-PB FDDI card type, although we currentlyGuy Harris2004-10-011-0/+1
| | | | | | | | don't have any code to handle it (other than to report that fact...). Also, refer to the subsystem type code as such, not as a "network type". svn path=/trunk/; revision=12178
* From Mark C. Brown:Guy Harris2004-09-041-56/+62
| | | | | | | | | | | | 1) Change nettl subsystem ID's to decimal so as to match /etc/nettlgen.conf and ease maintenance 2) Add support for hp_apaport (PAgP), hp_apalacp, and IPv6 subsystem trace records 3) Correct handling of LOOPBACK trace records svn path=/trunk/; revision=11901
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
* From Mark C. Brown: add support for FDDI and Token Ring cards.Guy Harris2004-04-021-1/+7
| | | | | | | | | | | | Set the file encapsulation the same way it's done for iptrace captures - leave it as "unknown" to start with, and, for each packet we see, set it to the packet's encapsulation type if the file encapsulation type is unknown and set it to "per-packet" if the file encapsulation type is "known" but isn't the type of that packet, so files that have all the same type of packet have that type as the file type and packets that *don't* have all the same type of packet have "per-packet". svn path=/trunk/; revision=10543
* From Mark C. Brown: add support for iether (dual-port gigabit) cards inGuy Harris2004-03-271-1/+2
| | | | | | nettl files. svn path=/trunk/; revision=10501
* Have the Wiretap open, read, and seek-and-read routines return, inGuy Harris2004-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | addition to an error code, an error info string, for WTAP_ERR_UNSUPPORTED, WTAP_ERR_UNSUPPORTED_ENCAP, and WTAP_ERR_BAD_RECORD errors. Replace the error messages logged with "g_message()" for those errors with g_strdup()ed or g_strdup_printf()ed strings returned as the error info string, and change the callers of those routines to, for those errors, put the info string into the printed message or alert box for the error. Add messages for cases where those errors were returned without printing an additional message. Nobody uses the error code from "cf_read()" - "cf_read()" puts up the alert box itself for failures; get rid of the error code, so it just returns a success/failure indication. Rename "file_read_error_message()" to "cf_read_error_message()", as it handles read errors from Wiretap, and have it take an error info string as an argument. (That handles a lot of the work of putting the info string into the error message.) Make some variables in "ascend-grammar.y" static. Check the return value of "erf_read_header()" in "erf_seek_read()". Get rid of an unused #define in "i4btrace.c". svn path=/trunk/; revision=9852
* From Mark C. Brown:Guy Harris2003-05-051-1/+8
| | | | | | | | | | | | | | | | | | Following fixes for nettl (HP-UX): 1) Fixed 11.X timestamp issue there is no difference in 10.X/11.X timestamps, so no need to shift 11.X timestamps 2) Fixed NS_LS_DRIVER trace record handling now works rather than throwing "...network type that Ethereal doesn't support" error 3) Fixed handling of traces with sliced packets (nettl -m xx) now uses correct packet and capture lengths 4) Additional ethernet card support now handles btlan[1,3-6],gelan,igelan,intl100 driver trace records svn path=/trunk/; revision=7642
* 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
* Hopefully the last time I have to change my e-mail address.Gilbert Ramirez2001-11-131-2/+2
| | | | svn path=/trunk/; revision=4199
* Support for the BASE100 and GSC100BT subsystems by Jeff Foster.Olivier Abad2000-11-131-1/+6
| | | | svn path=/trunk/; revision=2640
* Miscellaneous code cleaningLaurent Deniel2000-08-111-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
* Add support for raw IP nettl captures.Olivier Abad2000-02-171-1/+45
| | | | | | | Update the nettl section in wiretap/README, and give sample commands to make captures on HP-UX. svn path=/trunk/; revision=1642
* Fix files that had Gilbert's old e-mail address or that didn't have myGuy Harris2000-01-221-2/+2
| | | | | | forwarding e-mail address. svn path=/trunk/; revision=1522
* Give it an RCS ID.Guy Harris1999-10-311-0/+2
| | | | svn path=/trunk/; revision=957
* Olivier Abad's patches to add:Guy Harris1999-10-181-0/+22
more display filters for X.25; no LCN in X.25 RESTART / DIAGNOSTIC / REGISTRATION packets; support for nettl file format (nettl is a trace tool for HP-UX). For now, it only supports traces for X.25 interfaces (tested with HP-UX 10.20). svn path=/trunk/; revision=879