aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_analysis.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-54/+54
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
2008-05-01Force foreground when background is forced in RTP analysis and VOIP calls.Stig Bjørlykke1-2/+5
svn path=/trunk/; revision=25212
2008-04-13sort #includes by directoriesUlf Lamping1-41/+30
svn path=/trunk/; revision=24969
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-33/+33
svn path=/trunk/; revision=24918
2008-04-11replace WIDGET_SET_SIZE with gtk_widget_set_size_requestUlf Lamping1-1/+1
svn path=/trunk/; revision=24910
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-3/+3
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBECT_..._DATA --> g_object_..._dataBill Meier1-36/+36
svn path=/trunk/; revision=24893
2008-04-09Remove:Anders Broman1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24868
2008-04-07remove GTK1 codeUlf Lamping1-116/+0
svn path=/trunk/; revision=24823
2008-03-01Include epan/strutil.h for gtk-1.2 builds.Michael Tüxen1-0/+1
svn path=/trunk/; revision=24513
2008-02-29Next attempt to cleanup some string functions, including:Stig Bjørlykke1-14/+10
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
2008-02-03From Balint Reczey (bug 2233):Sake Blok1-284/+0
The attached patch makes the Statistics -> RTP -> Show All Streams feature of wireshark accessible via tshark. I found it helpful in dealing with tons of RTP captures. svn path=/trunk/; revision=24252
2008-02-01Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).Stig Bjørlykke1-10/+14
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24239
2007-12-28save RTP in 16-bit linear PCM instead of 8-bit G.711 u-LawTomas Kukosa1-47/+35
(preparation for more codecs support via codec plugins) svn path=/trunk/; revision=23961
2007-11-28some more path fixes for g_ascii_strcasecmp.hRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=23638
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-1/+5
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-11-27Fix for bug 2000. Make sure that both datalink layer and application layer ↵Jaap Keuter1-2/+3
agree that information is missing before refusing to write a payload. svn path=/trunk/; revision=23618
2007-09-04From Stas Maximov:Anders Broman1-1/+2
RTP analysis' jitter values are thrown off by RTP events http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1076 a) Ephemeral string (packet duration) was inserted into long-term hash of dynamic payloads b) There was no clock_rate mapping for MIME type "telephone-event". svn path=/trunk/; revision=22780
2007-05-31From Lars Ruoff:Stephen Fisher1-6/+6
find attached several trivial diffs for viewing RTP SSRC values in Hex rather than Dec at various places in the UI. Also includes change from BASE_DEC to BASE_HEX_DEC for corresponding RTP and RTCP dissector header fields. svn path=/trunk/; revision=22017
2007-05-29From David Howells :Sebastien Tandel1-3/+3
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat 4.1.2-8). The failures fall into two categories: (1) Casts between pointers and 32-bit integers without an intermediary cast via 'long' or 'unsigned long'. This results in a compiler warning complaining about casts between a pointer and an integer of a different size. (2) Passing values to "%lld" or similar printf-style format options that the compiler thinks are a different size. Such values need to be cast to 'long long' or 'unsigned long long'. svn path=/trunk/; revision=21975
2007-05-17When saving an RTP stream, don't insert silence if our packet has aGerald Combs1-142/+143
wrong timestamp. Place a cap on the amount of silence that we do insert. This should fix bug 1580. Update the release notes. svn path=/trunk/; revision=21818
2007-05-02some more : try to make read/write not break the build if the return value ↵Ronnie Sahlberg1-10/+10
is not used svn path=/trunk/; revision=21641
2007-05-02do something with the return value from eth_write (which is a define for ↵Ronnie Sahlberg1-14/+15
fwrite)so that -Werror does not cause the build to fail -This line, and those below, will be ignored-- M gtk/rtp_analysis.c svn path=/trunk/; revision=21639
2007-05-02fix some more warnings that the result from fread/fwrite is discarded by ↵Ronnie Sahlberg1-2/+3
assigning the return value to a variable svn path=/trunk/; revision=21638
2007-04-22move include of a few headers down a few lines so the compile works on Ronnie Sahlberg1-4/+5
gtk1 svn path=/trunk/; revision=21504
2007-03-24Remove all warnings under Unix for the gtk/ directory.Stephen Fisher1-1/+1
svn path=/trunk/; revision=21160
2007-01-18Add separate union entries to fvalue.value for signed and unsignedMartin Mathieson1-1/+1
32-bit numbers. Separate signed and unsigned accessors have been added and used where appropriate. Definitely not for 0.99.5. svn path=/trunk/; revision=20472
2006-11-14nikai@nikai.net:Jörg Mayer1-1/+0
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225 Attempting a simple cleanup of duplicated includes, will attach patch. svn path=/trunk/; revision=19894
2006-10-17from Stephen Fisher:Ulf Lamping1-2/+2
Here is a patch for spelling typos in comments and strings in the gtk/ directories. svn path=/trunk/; revision=19568
2006-07-27Alex Shnitman <AlexS@mangodsp.com>Jörg Mayer1-1/+1
Below is a patch for a bug in rtp_analysis.c. The variable statinfo->delta_timestamp was not initialized in all the necessary cases. The function rtp_packet_save_payload uses this variable and the for loop on line 935 could use an old value and run an incorrect amount of times, e.g. a couple billion, which gets ethereal stuck. I can supply an example capture which causes it. The patch solves the problem. svn path=/trunk/; revision=18798
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-4/+4
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-30Move the file selection dialog routines to file_dlg.c, and give it aGuy Harris1-0/+1
header file. #if 0 out some includes; if none of the builds have a problem with that, I'll remove them. svn path=/trunk/; revision=18036
2006-03-09coverity #62Ronnie Sahlberg1-0/+2
potential null dereference svn path=/trunk/; revision=17549
2006-03-07Solving various uninitialized variable warnings.Jaap Keuter1-8/+14
coverity reports 132, 133 and 134 svn path=/trunk/; revision=17501
2006-02-13add missing #include "tempfile.h"Ulf Lamping1-0/+1
svn path=/trunk/; revision=17294
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon1-2/+2
the callback for multiple registrations. svn path=/trunk/; revision=17252
2005-11-12Allow a progress dialog to have "Stop" or "Cancel" as the "terminateGuy Harris1-1/+2
button"; "Stop" should be used for operations that can only be stopped (meaning that what it's already done isn't undone), not cancelled (meaning that whatever it's already done *is* undone), for which "Cancel" is used. Allow the merging process to be cancelled. Clean up indentation. Update some comments. svn path=/trunk/; revision=16489
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-78/+71
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-11-05Packet-amr Register as "AMR" not "amr".Anders Broman1-1/+62
Add Dynamic PT:s mimestring to rtp_info if avalable. Use Dynamic PT:s mime string to find clock rate. svn path=/trunk/; revision=16397
2005-10-29From Jaap KeuterAnders Broman1-18/+44
Improvments to PCMA and PCMU handling- svn path=/trunk/; revision=16356
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-14Have cf_retap_packets() take an argument that indicates whether toGuy Harris1-3/+3
generate columns; use cf_retap_packets instead of cf_redissect_packets() when running taps (the general flow graph stat uses the Info column). svn path=/trunk/; revision=15793
2005-09-01From Tomer Shani:Anders Broman1-185/+335
Patch which will enable saving payload in raw (binary) format in addition to the existing au format. We have found it very useful to be able to extract the RTP data for use with other tools (especially when dealing with proprietary/uncommon coders). Changes: rtp_packet_save_payload: no longer transforms packet to linear coding, payload is saved in raw format copy_file: will perform the needed transcoding and save to needed format (au or raw) svn path=/trunk/; revision=15648
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-4/+4
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-1/+2
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20Rename epan/stat.[ch] to epan/stat_cmd_args.[ch] - it only deals withGuy Harris1-1/+1
implementing the "-z" command-line arguments, it doesn't deal with *all* issues for stats. svn path=/trunk/; revision=15483
2005-08-20- Declare some functions staticJörg Mayer1-2/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471