aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gsm_a_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-01From Mike Morrin:Anders Broman1-1/+1
GSM ENHANCED MEASUREMENT REPORT PDUs were not dissected when present as L3_INFO in RSL MEAS_RES PDUs. It seems that the RSL L3_INFO needs to be handled by a different dissector depending on whether it contains a DTAP, SACCH or CCCH PDU, which fortunately can be deduced from the RSL PDU type. packet-rsl.c is updated to implement this. In packet-gsm_a_rr.c the dissection of PDUs with RR Short PD format is improved, and also some items are renamed to make clearer the difference between SACCH PDUs (which cna be normal or Short PD format) and RR Short PD format PDUs (which can occur on SACCH, CCCH, or DCH). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6699 svn path=/trunk/; revision=40357
2011-09-25We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code usingJörg Mayer1-160/+1
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. svn path=/trunk/; revision=39137
2011-07-29Remove remaining direct access to GTK structs in Windows.Anders Broman1-1/+1
svn path=/trunk/; revision=38251
2011-07-21Fix almost all accesses to ->windowJörg Mayer1-3/+5
svn path=/trunk/; revision=38151
2011-07-11More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.Gerald Combs1-8/+1
svn path=/trunk/; revision=37971
2011-05-19Fix warnings about unused variables in UI_MANAGER code.Jörg Mayer1-1/+1
Move gsm_a_stat.c back to clean dissectors. svn path=/trunk/; revision=37283
2011-05-12Copy-paste error.Anders Broman1-1/+1
svn path=/trunk/; revision=37079
2011-05-12Convetr more menus to GUIManager.Anders Broman1-13/+101
svn path=/trunk/; revision=37078
2011-05-12Corrected endif.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=37075
2011-05-12Make the use of UIManager a configure option.Anders Broman1-19/+46
NOTE Only for Windows. Additional moves to UIManager. svn path=/trunk/; revision=37072
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵Jeff Morriss1-2/+0
register.h svn path=/trunk/; revision=34017
2010-08-23(Minor) Cleanup signal callbak signatures and related:Bill Meier1-1/+1
- Don't mark callback arg as _U_ if actually used (and vice-versa); - Use Null as user_data in g_signal_callback if unused in callback; - Use correct signature for certain event callbacks. svn path=/trunk/; revision=33895
2010-07-26(Trivial) Use gboolean instead of int in a few places; Whitespace cleanup.Bill Meier1-273/+273
svn path=/trunk/; revision=33634
2009-07-08From Kovarththanan Rajaratnam:Anders Broman1-10/+10
No letter-shortcuts in Telephony menu. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3678 svn path=/trunk/; revision=29028
2009-06-21Change window_new() to dlg_window_new() and destroy the window with the top ↵Anders Broman1-1/+2
level window. svn path=/trunk/; revision=28796
2009-06-05Have tap listeners specify whether the "packet" routine requiresGuy Harris1-1/+1
a protocol tree; the column values. This includes stats-tree listeners. Have the routines to build the packet list, and to retap packets, honor those requirements. This means that cf_retap_packets() no longer needs an argument to specify whether to construct the column values or not, so get rid of that argument. This also means that there's no need for a tap to have a fake filter to ensure that the protocol tree will be built, so don't set up a fake "frame" filter. While we're at it, clean up some cases where "no filter" was represented as a null string rather than a null pointer. Have a routine to return an indication of the number of tap listeners with filters; use that rather than the global num_tap_filters. Clean up some indentation and some gboolean vs. gint items. svn path=/trunk/; revision=28645
2009-05-08Warningfix:Jörg Mayer1-1/+1
function() -> function(void) svn path=/trunk/; revision=28302
2009-03-08Trying to fix the build on non-Win32 platforms.Jaap Keuter1-1/+1
svn path=/trunk/; revision=27649
2009-03-08Get rid of more code related to the Clist removal.Anders Broman1-20/+1
svn path=/trunk/; revision=27648
2009-03-08Get rid of another Clist.Anders Broman1-282/+199
svn path=/trunk/; revision=27647
2008-11-07From Pascal Quantin:Anders Broman1-0/+72
Add 3GPP 44.018 RR Short Protocol Discriminator dissection. svn path=/trunk/; revision=26730
2008-11-06From Pascal Quantin:Anders Broman1-0/+33
Add 3GPP Special Conformance Testing Procedures to GSM statistics svn path=/trunk/; revision=26716
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26641
2008-08-04First step to split the gsm_a dissector into several smaller ones ( done by ↵Anders Broman1-1/+1
Neil Piercy) rename the "old" one to gsm_a_common. svn path=/trunk/; revision=25915
2008-04-13sort #includes by directoriesUlf Lamping1-10/+13
svn path=/trunk/; revision=24968
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-3/+3
svn path=/trunk/; revision=24918
2008-04-11third round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-3/+3
svn path=/trunk/; revision=24914
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-1/+1
svn path=/trunk/; revision=24898
2008-02-09Fix for bug #2250Stephen Fisher1-5/+5
svn path=/trunk/; revision=24294
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
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-02-12Add userdata arguments to a bunch of stat initialization routines toGuy Harris1-1/+2
squelch compiler warnings. Tag one existing such argument as unused to squelch another warning. Fix up some indentation. svn path=/trunk/; revision=17261
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon1-21/+22
the callback for multiple registrations. svn path=/trunk/; revision=17252
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-20The routines registered with "register_stat_cmd_arg()" *are* called ifGuy Harris1-19/+69
you use the "-z" command-line options for them; make them pop up the appropriate windows. Move the calls to "register_stat_cmd_arg()" after the code to register the tap, just as the calls to "register_stat_menu_item()" are done after registering the tap. Use "g_strdup_printf()" rather than formatting into a fixed-length buffer and "g_strdup()"ing that buffer. svn path=/trunk/; revision=15489
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-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-19Move the stats.[ch] stuff into epan, so plugins can use it.Guy Harris1-1/+1
svn path=/trunk/; revision=15429
2005-08-19Move the APIs for registering and processing "-z" command-line argumentsGuy Harris1-10/+11
and "Statistics" menu items into "stat.h" and "stat.c", to separate them from the core tapping APIs. A tap could conceivably not register as a "-z" command-line argument or "Statistics" menu item, and a stat could conceivably not be implemented as a tap, and dissectors that implement tapping points don't need the UI-related stuff from "stat.h", they just want the tap-related stuff in <epan/tap.h>. svn path=/trunk/; revision=15427
2005-08-19From Michael Lum:Ronnie Sahlberg1-2/+2
Statistics data structure was not being passed to the draw routine. svn path=/trunk/; revision=15425
2005-08-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-3/+1
_U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
2005-08-05More char -> const char warning fixes.Jörg Mayer1-3/+3
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-8/+8
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2005-04-01Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" asGuy Harris1-1/+1
it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. svn path=/trunk/; revision=13993
2005-01-14From Laurent Rabret: handle the cases where there's no capture file, orGuy Harris1-0/+2
there is but it has no packets. svn path=/trunk/; revision=13041
2005-01-01As we've made the tap_specific_data field of a tap_packet_t structure aGuy Harris1-28/+24
const pointer (so that we don't get complaints when we make the tap-specific data argument to "tap_queue_packet()" a const pointer, allowing dissectors to hand const data to a tap without a complaint), we should make the tap per-packet function take a const pointer as an argument as well. Do so. In some taps, use _U_, or actually use the argument, rather than sticking in dummy "X = X" assignments to fake use of parameters. (This means that the tap functions in question no longer have the notion that they act on a particular static structure wired in.) svn path=/trunk/; revision=12910
2004-12-31In column sort routines, make the row pointers "const" pointers, as theGuy Harris1-2/+2
arguments passed in corresponding to those pointers are gconstpointers. svn path=/trunk/; revision=12884
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128