aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-erf.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-12-02Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=26899
2008-09-30Add a cast to avoid a warning.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26315
2008-09-30Minor proto_reg_handoff cleanup: use find_dissector when appropriate.Bill Meier1-1/+1
svn path=/trunk/; revision=26308
2008-09-29From Francesco Fusco:Anders Broman1-6/+273
Endace ERFII (extension header) support. svn path=/trunk/; revision=26287
2008-07-14Just have a scalar handle_t for the Infiniband handle, for now. (TheGuy Harris1-20/+17
old code had the type value past the end of the array.) Rename the handle variables. svn path=/trunk/; revision=25739
2008-07-14Rename the ERF "erfhdlc" preference to "hdlc_type" ("erf" is redundant,Guy Harris1-25/+42
and "hdlc" doesn't indicate that it's a protocol type), and, instead of a "raw" option, have a "try to guess the traffic type" option - for now, if the first byte is 0x0f or 0x8f, treat it as Cisco HDLC, otherwise treat it as PPP. svn path=/trunk/; revision=25737
2008-07-14Replace the old "erfatm" preference for the ERF dissector with anGuy Harris1-47/+77
"aal5_type" dissector, which offers only "guess the traffic type" and "LLC multiplexed" as options, defaulting to "guess the type". Add a separate preference to control whether to treat single ATM cells as raw data or as the first cell of an AAL5 PDU (and dissecting them as short AAL5 PDUs). Don't reach inside the tvbuff to get the data and the length; use tvb_length() and tvb_get_ptr(). Pass the data *after* the AAL5 header to the "guess the traffic type" routine. svn path=/trunk/; revision=25736
2008-07-12Make erf.ethfcs a Boolean, with "FCS present" and "FCS not present" theGuy Harris1-32/+12
only options, and default to "FCS present". svn path=/trunk/; revision=25724
2008-07-12Rename the preference values to something that leaves out the "eth" (asGuy Harris1-3/+3
it's redundant). svn path=/trunk/; revision=25720
2008-07-12ERF Ethernet records always contain Ethernet packets, as the nameGuy Harris1-20/+20
indicates; replace the "erf.eth" preference with an "erf.ethfcs" preference, specifying whether the FCS is present in Ethernet frames, and offer the options "present", "not present", and "maybe present" - for "maybe present", call the regular Ethernet dissector, which tries to figure out whether there's an FCS at the end of the packet or not. svn path=/trunk/; revision=25719
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