aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_stat.c
AgeCommit message (Collapse)AuthorFilesLines
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-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-9/+0
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-6/+6
- 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
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-2/+3
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-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-1/+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-05replace malloc and alike calls by their GLib pendants -> g_mallocUlf Lamping1-20/+20
svn path=/trunk/; revision=15232
2005-05-18From Albert Chin:Anders Broman1-3/+3
C++ comments in C source files (gtk/sctp_stat.c) svn path=/trunk/; revision=14391
2005-05-03Base the assoc search on port/vtags only.Michael Tüxen1-4/+18
svn path=/trunk/; revision=14288
2005-05-02Fix a bug in counting DATA chunks.Michael Tüxen1-117/+118
svn path=/trunk/; revision=14264
2005-05-01Editorial cleanups.Michael Tüxen1-247/+247
svn path=/trunk/; revision=14251
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-03-22From Irene Ruengeler: Bugfixes and support of chunk statistics per end point.Michael Tüxen1-402/+456
Some cleanups of the code. svn path=/trunk/; revision=13858
2005-02-06Clean up indentation.Guy Harris1-180/+180
Make "reset()" static (it's not used outside "sctp_stat.c"), and fix its prototype to match what's expected for a reset routine passed to "register_tap_listener()". Similarly, fix the prototypes of other routines passed to "register_tap_listener()", and get rid of the casts of pointers to those functions to "void *". Fix some declarations in "sctp_stat.h" to have function prototypes. svn path=/trunk/; revision=13319
2005-02-04Update to versions compiling on and working on Windows and Unix.Michael Tüxen1-178/+236
svn path=/trunk/; revision=13295
2004-12-10Get rid of C++/C99-style comments - not all C compilers accept them.Guy Harris1-2/+2
Fix some indentation. svn path=/trunk/; revision=12710
2004-09-29Move the tap infrastructure to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12128
2004-09-11Get rid of some #includes that caused trouble on Windows - we need toGuy Harris1-13/+0
make this use Ethereal's data structurs for addresses, not the OS's. svn path=/trunk/; revision=11970
2004-09-07Canonicalize the line endings, set the svn:eol-style property toGuy Harris1-10/+10
"native" so they stay canonicalized, and set svn:keywords to Id so that RCS IDs get expanded. svn path=/trunk/; revision=11926
2004-09-07using #ifdef HAVE_SYS_TYPES_H around some of the includes making problems, ↵Ulf Lamping1-4/+13
but still uncompilable on win32!!! svn path=/trunk/; revision=11921
2004-09-07Added graphical SCTP analysis implemented by Irene Ruengeler.Michael Tüxen1-0/+1351
svn path=/trunk/; revision=11920