aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli
AgeCommit message (Collapse)AuthorFilesLines
2013-12-30Move tcap and camel "persistent data" functionality to the dissectors ↵Michael Mann2-2/+2
themselves instead of being part of epan directory. svn path=/trunk/; revision=54499
2013-12-30Use G_GUINT64_CONSTANT(nn) instead of nnULL in a few places.Bill Meier1-5/+5
svn path=/trunk/; revision=54494
2013-12-23From Ville Skyttä: Spelling FixesBill Meier4-7/+7
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9591 svn path=/trunk/; revision=54387
2013-12-20nnn'ULL' ==> G_GUINT64_CONSTANT(nnn)Bill Meier1-26/+29
svn path=/trunk/; revision=54304
2013-12-14Fix some trivial warnings.Jakub Zawadzki3-6/+6
svn path=/trunk/; revision=54085
2013-12-12Create/use a number of extended value-strings;Bill Meier1-72/+73
Remove or comment out dups from several value-string arrays; Sort a number of value-string arrays; Reformat many hf[] entries; Remove some unneeded initializers; Add editor-modelines; Use consistent indentation; Reformat whitespace. svn path=/trunk/; revision=53968
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-1/+2
svn path=/trunk/; revision=53769
2013-11-29Stats_tree enhancements for sorting, averages and burst rate. Bug 9452 ↵Michael Mann1-15/+4
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9452) From Deon van der Westhuysen - Bug fix: object leak in stats_tree after a tap reset (for example apply statistics preferences with a stats_tree window open) - Bug fix: correct sample code in README.stats_tree - Add: slash in plug-in name now creates submenu as docs describe (was a bug?) - Add: menu separator before the stat_tree registered plug-ins - Add: stats_tree can now calculate averages for nodes; automatically calculated for range nodes. Add section in README.stats_tree describing averages. - Add: stats_tree can now calculate burst rate of each node (like rate but with a shorter, sliding time window) - Add: sorting for stats_tree plug-ins. Can sort on node name, count, average, min, max values and burst rate. - Add: preferences for stats_tree system (default sort column, burst calc params) - Add: stats_tree window copy to clipboard and export and plain text, csv and XML. - Added sample of new functionality in $srcdir/plugins/stats_tree/pinfo_stats_tree.c - Moved all stats_tree sample plug-ins to "IP Statistics" submenu. svn path=/trunk/; revision=53657
2013-11-23Set a field to squelch a Coverity warning.Guy Harris1-4/+6
svn path=/trunk/; revision=53524
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-14Get rid of Warinings [-Wmissing-prototypes]Anders Broman37-4/+64
svn path=/trunk/; revision=53311
2013-11-12Replace fvalue_ftype() with a fvalue_type_ftenum() routine that returnsGuy Harris1-11/+6
the ftenum_t for the fvalue's ftype, rather than a pointer to the ftype (which isn't all that useful except as a handle, unless you import the internal header). Have fvalue_to_string_repr() return NULL, rather than failing, if the fvalue's ftype has no val_to_string_repr method. This lets us not include the ftypes internal header in ui/cli/tap-diameter-avp.c. svn path=/trunk/; revision=53290
2013-11-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki33-29/+61
svn path=/trunk/; revision=53230
2013-11-10Move struct _ftype_t + callback typedefs + free macro to ftypes-int.hJakub Zawadzki1-0/+1
svn path=/trunk/; revision=53223
2013-11-06Add support for displaying dates as year and day-of-year (1-origin).Guy Harris2-15/+105
In the process, fix various man page descriptions of the -t flag, and add support for UTC absolute times in the iousers and iostat TShark taps. svn path=/trunk/; revision=53114
2013-10-27Remove iplen and iphdrlen from struct _packet_info.Michael Mann1-1/+1
Dissectors should just use (reported) tvb length and taps have other ways to get the data. svn path=/trunk/; revision=52899
2013-10-24Make things compile again.Jörg Mayer1-0/+1
svn path=/trunk/; revision=52828
2013-10-10Flag the addresses used in the trace which has been resolved and only add ↵Anders Broman1-2/+2
those to the list used to create the NRB. svn path=/trunk/; revision=52504
2013-10-01Remove check_col.Michael Mann1-1/+1
svn path=/trunk/; revision=52316
2013-09-11Get rid of some users the addrinfo_list.Anders Broman1-65/+35
svn path=/trunk/; revision=51953
2013-08-14Get rid of -Wshadow warning - I guess we're including something thatGuy Harris39-175/+175
gets <getopt.h>, so we get the optarg global. svn path=/trunk/; revision=51350
2013-08-13Add missing return (reported as missing break by coverity)Martin Mathieson1-1/+2
svn path=/trunk/; revision=51336
2013-08-09Replace tabs with spaces. Add modelines.Chris Maynard1-21/+34
svn path=/trunk/; revision=51237
2013-08-09Patch for bug 9014. If the relative time is negative, it is set to that of ↵Cal Turney1-11/+21
the previous packet. Since the packet is not discarded, its metadata is included in the stats. svn path=/trunk/; revision=51236
2013-08-08Apply same changes to common stats to tshark tapMartin Mathieson1-6/+12
svn path=/trunk/; revision=51222
2013-07-21Replace relative timestamp with reference frame number. Saves 16B per frame.Jakub Zawadzki3-14/+14
svn path=/trunk/; revision=50772
2013-07-15Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific ↵Jeff Morriss1-1/+3
there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). svn path=/trunk/; revision=50598
2013-07-11Throw in a cast to squelch warnings about a value not fitting in aGuy Harris1-4/+2
time_t. (That also lets us not care how big a time_t is, except that we have a not-fixable Y2.038K problem with 32-bit time_t, about which we merely warn in a comment.) svn path=/trunk/; revision=50502
2013-07-11Get rid of an unused variable.Guy Harris1-3/+4
Don't nest g_strconcat() calls: g_strconcat(a, g_strconcat(b, c, NULL), NULL) is equivalent to g_strconcat(a, b, c, NULL). (And g_strconcat(b, c) is incorrect - you need a NULL at the end of the list.) Checking whether a pointer is "> 0" is useful only in platform-dependent situations or if you're doing a really greasy hack such as stuffing a flag into the uppermost bit of the pointer; the test should just check whether the pointer is null or not. svn path=/trunk/; revision=50500
2013-07-10From Cal Turney:Anders Broman1-62/+113
- tshark -q -z io,stat,1 causes core dump for files larger than ~2MB (with this fix it will still overflow on 32-bits for frame time > 4294s) - In tshark's "io,stat" eliminate the unrequested "Frames and bytes" col, fix formatting, and add "Duration" From me: Added casts to squelch compiler warnings on win7 64bit https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8839 svn path=/trunk/; revision=50488
2013-07-10From Joe McEachern:Anders Broman1-1/+1
SIP stats shows incorrect values for Max/Ave setup times. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8897 BACKPORT 1.8 1.10 svn path=/trunk/; revision=50480
2013-07-06From Peter Hatina via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8888Evan Huus1-1/+1
We're allocating an array of pointers, not an array of objects, so make the sizeof() reflect that to avoid over-allocating. svn path=/trunk/; revision=50423
2013-06-26Move tap-*-common.{h,c} into ui/ since that's the home for common UI functions.Jeff Morriss2-2/+2
svn path=/trunk/; revision=50165
2013-06-26Move tempfile.{h,c} into wsutil.Jeff Morriss1-1/+1
svn path=/trunk/; revision=50163
2013-06-26As pointed out by Guy: timestats uses packet_info so it belongs in epanJeff Morriss8-8/+8
not wsutil. svn path=/trunk/; revision=50159
2013-06-25Move a couple of time-related modules into wsutil.Jeff Morriss11-11/+8
A bunch of files didn't really need to include these header files so remove the include line rather than changing it. svn path=/trunk/; revision=50154
2013-05-28In ICMP taps, don't use g_slist_insert_sorted (which results inEvan Huus2-4/+10
n^2 time on the number of packets). Just prepend to the list, then sort it when we actually need to calculate the statistics. Should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8721 svn path=/trunk/; revision=49606
2013-05-22Make routines not used outside their source files static.Guy Harris1-2/+2
svn path=/trunk/; revision=49522
2013-05-20The printf format may require 2 arguments passed and if it does, the second ↵Michael Mann1-1/+1
argument could be garbage, so make sure printf has 2 arguments. Fixes bug 8066 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8066) svn path=/trunk/; revision=49451
2013-05-12Add the posibillity to use a key for per-packet-data.Anders Broman1-1/+1
svn path=/trunk/; revision=49259
2013-05-03From Niels de Vos via ↵Jeff Morriss1-5/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8626 : It is useful to see not only the minimal, maximum and average service time for RPC procedures, but also the total time these took. From me: add it to the man page. svn path=/trunk/; revision=49144
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-1/+1
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-28-Wmissing-prototypesAnders Broman1-1/+1
svn path=/trunk/; revision=48609
2013-03-20 From beroset:Bill Meier9-11/+11
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397 svn path=/trunk/; revision=48438
2013-03-07Use explicit casts.Anders Broman3-14/+14
svn path=/trunk/; revision=48179
2013-03-07Use explicit casts.Anders Broman15-57/+57
svn path=/trunk/; revision=48161
2013-03-06Use explicit casts.Anders Broman15-77/+77
svn path=/trunk/; revision=48137
2013-03-05Use explicit casts.Anders Broman4-22/+22
svn path=/trunk/; revision=48108
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey2-2/+3
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-01-30GPOINTER_TO_INT() is the inverse of GINT_TO_POINTER().Guy Harris1-1/+1
svn path=/trunk/; revision=47374