aboutsummaryrefslogtreecommitdiffstats
path: root/epan/circuit.c
Commit message (Collapse)AuthorAgeFilesLines
* circuit: rename shadow variableDario Lombardo2016-06-261-1/+1
| | | | | | Change-Id: I67e2c80e89af9526ba4b482933d64cab93b9490a Reviewed-on: https://code.wireshark.org/review/16105 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Remove some apparently-unnecessary includes of emem.h.Guy Harris2015-01-181-1/+0
| | | | | | Change-Id: Id50ce3e707056cca8f30052f05c451ce431b39b5 Reviewed-on: https://code.wireshark.org/review/6632 Reviewed-by: Guy Harris <guy@alum.mit.edu>
* Remove seasonal memory from everything except address resolutionsMichael Mann2015-01-161-3/+3
| | | | | | | | | This includes circuits, conversations and streams as well as camel and h225 dissectors. Change-Id: Ia5ee70a5e5c6bcb420f0f19df126595246a3c042 Reviewed-on: https://code.wireshark.org/review/6566 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Add editor modelines; Adjust whitespace as needed.Bill Meier2014-10-101-3/+16
| | | | | | Change-Id: I3dc57f4c2ca57585103e3b71503ac4c332903e50 Reviewed-on: https://code.wireshark.org/review/4594 Reviewed-by: Bill Meier <wmeier@newsguy.com>
* Remove all $Id$ from top of fileAlexis La Goutte2014-03-041-2/+0
| | | | | | | | | | (Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
* Allow "circuit dissectors" to pass data between dissectors. Not sure if ↵Michael Mann2013-10-271-3/+3
| | | | | | this is immediately useful (ie remove need for packet_info (private_)data), but opens the possibility. svn path=/trunk/; revision=52893
* From beroset:Bill Meier2013-03-201-5/+5
| | | | | | | remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397 svn path=/trunk/; revision=48438
* We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss2012-09-201-3/+1
| | | | svn path=/trunk/; revision=45016
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* Add minor sanity checkBill Meier2010-03-251-0/+1
| | | | svn path=/trunk/; revision=32279
* Update comment re freeing circuit-associated memory;Bill Meier2009-10-121-13/+10
| | | | | | #include <stdio.h>, <string.h> not required. svn path=/trunk/; revision=30551
* Split a bunch of init routines into init() and cleanup(). This allows us to ↵Kovarththanan Rajaratnam2009-09-061-4/+12
| | | | | | | | free memory properly on shutdown. This is an initial step. There's still some work to do. svn path=/trunk/; revision=29754
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* more gmemchunk -> se_alloc() conversionsRonnie Sahlberg2005-08-131-31/+4
| | | | svn path=/trunk/; revision=15330
* Fix a comment.Guy Harris2005-02-031-1/+1
| | | | svn path=/trunk/; revision=13251
* 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
* Fix a typo.Guy Harris2004-01-091-2/+2
| | | | svn path=/trunk/; revision=9606
* We have to keep the first frame - circuits aren't necessarily created asGuy Harris2002-11-281-10/+9
| | | | | | | | soon as we see a packet for that circuit (we don't do that in X.25, for example), so there's no guarantee that the first circuit starts at the first circuit of the capture. svn path=/trunk/; revision=6695
* Don't keep the first frame around for circuits; we assume that a givenGuy Harris2002-11-281-9/+10
| | | | | | | circuit begins either at the beginning of the capture or right after the previous circuit ends. svn path=/trunk/; revision=6694
* Cast various "const gpointer" arguments to const pointers rather thanGuy Harris2002-11-271-6/+9
| | | | | | non-const pointers. svn path=/trunk/; revision=6683
* Allow more than one circuit with the same circuit ID; a circuit has aGuy Harris2002-11-081-14/+74
| | | | | | | | | | | | | | starting and ending frame number, and circuits with the same circuit ID are sorted by the starting frame number (the last circuit can have 0 as the ending frame number, meaning "unknown"), and, when looking up a circuit, we take a frame number as an argument and return the circuit that includes that frame. Add a new circuit ID type for X.25 virtual circuits, and use the circuit mechanism to keep track of the dissector for an X.25 virtual circuit rather than having a private mechanism. svn path=/trunk/; revision=6580
* Discard the WTAP_ENCAP_LAPD encapsulation type in favor of aGuy Harris2002-10-311-3/+8
| | | | | | | | | | | | | | | WTAP_ENCAP_ISDN encapsulation type, which includes a pseudo-header giving the direction (user-to-network or network-to-user) and the channel number. Add a new circuit type, using the ISDN channel number as the circuit ID. Add an ISDN dissector to put the direction and channel number into the protocol tree and to call the appropriate dissector for the payload based on the channel (LAPD for the D channel; V.120, PPP, or data for B channels, based on some heuristics). svn path=/trunk/; revision=6521
* Move the stuff to save, recompute, and restore "can_desegment" out ofGuy Harris2002-10-291-15/+2
| | | | | | | | "try_circuit_dissector()" and "try_conversation_dissector()", as both fo them call "call_dissector()" and "call_dissector()" now does that stuff itself. svn path=/trunk/; revision=6520
* Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris2002-10-221-0/+278
protocols (where there's a virtual circuit ID of some sort in packets) what conversations are for protocols ultimately running atop connectionless network layers. Have circuit type and ID values in the "packet_info" structure. Have the Frame Relay dissector set the circuit type and ID values, and have the Wellfleet compression protocol set up circuit information and store compression information with the circuit. svn path=/trunk/; revision=6471