aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-erf.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-26Make the default for HDLC traffic "Raw data", just as it is for otherGuy Harris1-1/+1
record types, so that people know they have to set the preference. svn path=/trunk/; revision=25609
2008-06-26Make the preference settings for the dissector to use for various ERFGuy Harris1-68/+52
link-layer types static. If the preference is set to "raw data" for any of those types, display the raw data with an indication that the preference in question has been set to "raw data", so people don't just wonder why ERF files aren't working right any more. (See bug 2641; I had the same surprise when I tried it on some ERF captures I have.) Pull the dissect_erf_header() code into dissect_erf() - it's dissecting the *payload*, not the *header*. Fill in the Info column with the record type. When using tvb_new_subset() to chop a header off of a tvbuff, just specify lengths of -1, so we go all the way to the end. Clean up the Infiniband dissector call. svn path=/trunk/; revision=25608
2008-05-11Convert C++ style comments ...Bill Meier1-3/+5
svn path=/trunk/; revision=25273
2008-03-14From Stephen Donnelly via bug 2235:Gerald Combs1-0/+27
This plugin implements a dissector for Infiniband. It is released under the GPL v2. Rather than using say libpcap to capture raw (unframed) IP packets from near the top of an IPoIB stack, this plugin dissects link level Infiniband frames. Infiniband trace files can be read from Endace ERF format trace files, or from libpcap DLT_ERF files containing ERF TYPE_INFINIBAND records. There is currently no native DLT_INFINIBAND in libpcap. Each record contains a hardware timestamp, capture metadata such as port Id, and a complete link level Infiniband frame starting from the Local Route Header. svn path=/trunk/; revision=24628
2008-02-08Added missing "svn:keywords Id" and "svn:eol-style native" for someStig Bjørlykke1-0/+2
c and h files. svn path=/trunk/; revision=24290
2008-01-10pinfo->pseudo_header can and should be assumed to be non-null by aGuy Harris1-133/+140
dissector. This fixes Coverity CID 238 (as we *were* assuming it was non-null in one statement, and then only checking it later). Set pinfo->p2p_dir to one of P2P_DIR_RECV or P2P_DIR_SENT, as it's supposed to be, not to a Boolean value, and explain the basis on which it's being set. svn path=/trunk/; revision=24055
2007-12-18Bugfix: Array overflow (found by gcc43)Jörg Mayer1-3/+3
svn path=/trunk/; revision=23907
2007-10-08From Florent DROUIN:Anders Broman1-0/+944
This is a replacement of the existing decoding of ERF files (Extensible Record Format from Endace). For the decoding of the ERF files, according to the "type of record" given in the ERF header, several decoders can be used. Up to now, the decoder is determined according to an environment variable, or with a kind of heuristic. And, all the treatment is done during the file extraction. The new architecture, will separate the ERF file decoding, and the ERF record decoding. The ERF records will be decoded with a specific dissector. This dissector can be configured with options, to replace the environment variable. http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1839 svn path=/trunk/; revision=23092