aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/voip_calls.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-0/+2
svn path=/trunk/; revision=53769
2013-11-23Create the ability to have packet scoped "proto" data. Bug 9470 ↵Michael Mann1-1/+1
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9470) I'm not sold on the name or module the proto_data functions live in, but I believe the function arguments are solid and gives us the most flexibility for the future. And search/replace of a function name is easy enough to do. The big driving force for getting this in sooner rather than later is the saved memory on ethernet packets (and IP packets soon), that used to have file_scope() proto data when all it needed was packet_scope() data (technically packet_info->pool scoped), strictly for Decode As. All dissectors that use p_add_proto_data() only for Decode As functionality have been converted to using packet_scope(). All other dissectors were converted to using file_scope() which was the original scope for "proto" data. svn path=/trunk/; revision=53520
2013-11-09Fix crash when displaying VoIP call flow (introduced in r52824)Pascal Quantin1-0/+13
svn path=/trunk/; revision=53204
2013-10-24Initial and woefully incomplete flow graph support.Gerald Combs1-26/+26
Copy common code from ui/gtk/flow_graph.c and ui/gtk/graph_analysis.[ch] to ui/tap-sequence-analysis.[ch]. Start using the name "sequence" in places. svn path=/trunk/; revision=52824
2013-07-21Replace relative timestamp with reference frame number. Saves 16B per frame.Jakub Zawadzki1-5/+44
svn path=/trunk/; revision=50772
2013-07-15Fix warnings: format '%blah' expects argument of type 'foo', but argument ↵Chris Maynard1-5/+5
'i' has type 'bar' [-Wformat]. svn path=/trunk/; revision=50639
2013-07-01Consistently maintain the callState member of an iax2_info_t structureGuy Harris1-45/+2
as a voip_call_state value; don't have it sometimes a voip_call_state and sometimes a frame subtype. This should squelch some complaints from newer versions of Clang about unnecessary array-bounds checks - the array-bounds checks are done on frame subtypes, where they *are* necessary (nothing prevents an untrustworthy IAX2 implementation or an untrustworthy capture file writer from putting an arbitrary value in the packets), not on voip_call_state values (where it was only necessary because the value wasn't, in that case, a voip_call_state value, it was a frame subtype cast to a voip_call_state). svn path=/trunk/; revision=50277
2013-06-27get main_window_update out of the way... pass an update_cb to the ↵Luis Ontanon1-1/+8
capture_sync stuff ... as per the XXX comment removed from tshark.c this was a mess to keep the linker happy... I couldn't! I did this without even understanding whether calling main_window_update was realy necessary in most cases. I guess nothing or more specific update cbs would be best. svn path=/trunk/; revision=50188
2013-06-06From report of IgorVK via ↵Alexis La Goutte1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8736 Crash analyzing VoIP Calls Wireshark crashes when analyzing Telephony->VoIP Calls from the pcap file attached. From me : Some packets is detect to be T38 and ->stop_fd is not initialize #Backport 1.10 and 1.8 svn path=/trunk/; revision=49804
2013-05-12Add the posibillity to use a key for per-packet-data.Anders Broman1-1/+1
svn path=/trunk/; revision=49259
2013-04-05From Tim Ringenbach:Anders Broman1-2/+2
makes the TDMoE dissector call the LAPD bitstream dissector on the D-Channel. As a result, LAPD calls Q.931, and you can actually see call setup and tear down, instead of just a hex dump. It adds a preference for which channel the D-Channel is. It patches the LAPD code to fix a few bugs, not pass the checksum to Q.931 (who isn't expecting it), to register the lapd-bitstream dissector, and to mark packets with aborts or resets. also storing more data on the lapd_byte_state_t. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8374 svn path=/trunk/; revision=48743
2013-03-21From beroset:Bill Meier1-78/+78
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10408 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c svn path=/trunk/; revision=48448
2013-03-21From beroset:Bill Meier1-31/+31
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier1-2/+2
The misspellings were mostly in comments but some were in text strings visible to the user. svn path=/trunk/; revision=47899
2013-02-25it's ==> its & its ==> it's as needed.Bill Meier1-1/+1
In a few cases: Fix spelling; Clean up whitespace and formatting style. svn path=/trunk/; revision=47889
2012-12-26Fix a bunch of warnings.Guy Harris1-4/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-28protect_thread_critical_region, unprotect_thread_critical_region are no-ops, ↵Jakub Zawadzki1-38/+0
cleanup code by removing them. svn path=/trunk/; revision=45201
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-09-17callsinfo->stop_fd not set in all branches for UNISTIM.Anders Broman1-5/+7
svn path=/trunk/; revision=44940
2012-09-04- Replace packet_list_recreate_visible_rows -> ↵Jörg Mayer1-1/+1
packet_list_recreate_visible_rows_list - Replace new_packet_list_ -> packet_list_ svn path=/trunk/; revision=44765
2012-09-01Clean up mgcpDialedDigits and add modelines.Evan Huus1-8/+29
Build the digit string directly in heap memory. This removes the (arbitrary?) length limit and saves us the cost of a g_strdup. Also does away with a cppcheck warning. svn path=/trunk/; revision=44734
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-02From Evan Huus Memory leak in voip_calls.c ↵Anders Broman1-1/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7320 svn path=/trunk/; revision=42997
2012-04-09Add missing const attribute to some char *Jakub Zawadzki1-1/+1
Fix some "assignment discards qualifiers from pointer target type", etc svn path=/trunk/; revision=41993
2012-04-04Fix CID 614: callsinfo can't be NULL here so don't check for it being NULL.Jeff Morriss1-101/+98
svn path=/trunk/; revision=41934
2012-04-04Fix CID 615: strinfo can't be NULL here so don't check for it being NULL.Jeff Morriss1-145/+143
svn path=/trunk/; revision=41933
2012-04-04Fix CID 616: callsinfo can't be NULL here so don't check for it being NULL.Jeff Morriss1-13/+11
svn path=/trunk/; revision=41932
2012-03-14Fix:Jörg Mayer1-11/+11
work/wireshark/svn/trunk/ui/gtk/voip_calls.c:599:9: error: variable ‘voip_calls_graph_list’ set but not used [-Werror=unused-but-set-variable] svn path=/trunk/; revision=41548
2012-03-14voip_calls.c Use the hastable instead, we should do away with the list.Anders Broman1-2/+65
graph_analysis.h Doxygen changes. svn path=/trunk/; revision=41545
2012-03-14VoIP Calls Graph Analysis: Elements not sorted by Time.Anders Broman1-2/+1
Sort the list based on frame number. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6926 svn path=/trunk/; revision=41544
2012-02-07Allways use g_list_prepend().Anders Broman1-16/+16
svn path=/trunk/; revision=40912
2012-02-06From Cristian Constantin:Anders Broman1-64/+57
slow voip/sip call flow for large captures. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6794 svn path=/trunk/; revision=40878
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-3/+3
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+4083
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518