aboutsummaryrefslogtreecommitdiffstats
path: root/epan/circuit.c
AgeCommit message (Collapse)AuthorFilesLines
2017-11-13Remove circuit APIMichael Mann1-283/+0
Replace with conversation API that limits the "endpoint" to a single uint32 value. The intention is to eventually have "layered" endpoints, because circuit_id was used in cases where src/dest port have already been populated (and are used for layers above). Those src/dest ports should just be treated as just another endpoint, but we currently only have support for one. Change-Id: Ic6aa7ef0241275aa4dfde9459194369b48c72960 Reviewed-on: https://code.wireshark.org/review/24369 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-11-08Have circuit functionality more closely mirror conversation functionalityMichael Mann1-67/+30
This will allow for a smoother transition for refactoring because circuit functionality can now be represented as a strict subset of conversation functionality. Change-Id: I323d7facad707c81b8e35b33143fa1102d6b5976 Reviewed-on: https://code.wireshark.org/review/24290 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-06-26circuit: rename shadow variableDario Lombardo1-1/+1
Change-Id: I67e2c80e89af9526ba4b482933d64cab93b9490a Reviewed-on: https://code.wireshark.org/review/16105 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-18Remove some apparently-unnecessary includes of emem.h.Guy Harris1-1/+0
Change-Id: Id50ce3e707056cca8f30052f05c451ce431b39b5 Reviewed-on: https://code.wireshark.org/review/6632 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-01-16Remove seasonal memory from everything except address resolutionsMichael Mann1-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>
2014-10-10Add editor modelines; Adjust whitespace as needed.Bill Meier1-3/+16
Change-Id: I3dc57f4c2ca57585103e3b71503ac4c332903e50 Reviewed-on: https://code.wireshark.org/review/4594 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-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>
2013-10-27Allow "circuit dissectors" to pass data between dissectors. Not sure if ↵Michael Mann1-3/+3
this is immediately useful (ie remove need for packet_info (private_)data), but opens the possibility. svn path=/trunk/; revision=52893
2013-03-20 From beroset:Bill Meier1-5/+5
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397 svn path=/trunk/; revision=48438
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-03-25Add minor sanity checkBill Meier1-0/+1
svn path=/trunk/; revision=32279
2009-10-12Update comment re freeing circuit-associated memory;Bill Meier1-13/+10
#include <stdio.h>, <string.h> not required. svn path=/trunk/; revision=30551
2009-09-06Split a bunch of init routines into init() and cleanup(). This allows us to ↵Kovarththanan Rajaratnam1-4/+12
free memory properly on shutdown. This is an initial step. There's still some work to do. svn path=/trunk/; revision=29754
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-08-13more gmemchunk -> se_alloc() conversionsRonnie Sahlberg1-31/+4
svn path=/trunk/; revision=15330
2005-02-03Fix a comment.Guy Harris1-1/+1
svn path=/trunk/; revision=13251
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-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
2004-01-09Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=9606
2002-11-28We have to keep the first frame - circuits aren't necessarily created asGuy Harris1-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
2002-11-28Don't keep the first frame around for circuits; we assume that a givenGuy Harris1-9/+10
circuit begins either at the beginning of the capture or right after the previous circuit ends. svn path=/trunk/; revision=6694
2002-11-27Cast various "const gpointer" arguments to const pointers rather thanGuy Harris1-6/+9
non-const pointers. svn path=/trunk/; revision=6683
2002-11-08Allow more than one circuit with the same circuit ID; a circuit has aGuy Harris1-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
2002-10-31Discard the WTAP_ENCAP_LAPD encapsulation type in favor of aGuy Harris1-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
2002-10-29Move the stuff to save, recompute, and restore "can_desegment" out ofGuy Harris1-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
2002-10-22Add in a notion of "circuits", which are for virtual circuit-orientedGuy Harris1-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