aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli
AgeCommit message (Collapse)AuthorFilesLines
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
2013-01-30Use optargp, not optarg, in followSsl(), as in other routines; thisGuy Harris1-6/+6
squelches a shadowing warning. svn path=/trunk/; revision=47373
2013-01-30Add support in TShark to follow SSL streams Michael Mann1-5/+130
From QA Cafe, bug 8280 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8280) svn path=/trunk/; revision=47372
2013-01-06Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=46981
2012-12-26Fix a bunch of warnings.Guy Harris8-14/+14
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-12-20Remove unused parameter from iousers_process_address_packetEvan Huus1-8/+8
svn path=/trunk/; revision=46628
2012-12-20Add absolute date options (-ad) for start date/time of conversation in ↵Michael Mann1-53/+103
TShark. Bug 1849 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1849) svn path=/trunk/; revision=46626
2012-12-16Don't cast away const qualifier.Martin Mathieson3-5/+5
svn path=/trunk/; revision=46550
2012-12-06Fix [-Wshadow] warnings.Bill Meier1-14/+14
svn path=/trunk/; revision=46426
2012-12-05Use g_malloc0() to initialize the counters. MAC was using uninitializedMartin Mathieson2-3/+2
memory... svn path=/trunk/; revision=46385
2012-11-27Add %DL padding to LTE MAC stats.Martin Mathieson1-2/+16
svn path=/trunk/; revision=46215
2012-10-24Allow <interval> to be successfully sscanf'd no matter the locale for theChris Maynard1-118/+129
decimal symbol. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2880 (again). #BACKPORT(1.8) svn path=/trunk/; revision=45770
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss39-111/+33
svn path=/trunk/; revision=45015
2012-09-18Add python cache and temporary files to the list of files to clean up.Jeff Morriss1-1/+3
svn path=/trunk/; revision=44974
2012-09-18If we have PYTHON use make-tap-reg.py (in both autofoo and Windows): it'sJeff Morriss2-6/+22
slightly faster than the old shell-script version on *NIX and it seems significantly faster on Windows. svn path=/trunk/; revision=44972
2012-09-15From Niels Widger via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7725Evan Huus1-0/+6
Add get_filter method to Wireshark's Lua interface (to correspond with the already-exposed set_filter method). svn path=/trunk/; revision=44916
2012-09-02Add default branch to try to fix buildbot [-Werror=switch]Anders Broman1-0/+2
svn path=/trunk/; revision=44737
2012-09-02From Cal Turney: Incorrect io-stat table format when unsupported -t operand ↵Anders Broman1-24/+29
is specified and when using AVG of relative_time fields https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7685 svn path=/trunk/; revision=44736
2012-08-31From Cal Turney: Fix Performance regression in tshark -z io,stat ↵Anders Broman1-116/+124
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7674 svn path=/trunk/; revision=44707
2012-07-09From Evan Huus:Anders Broman1-0/+1
Fix leaks - don't g_strdup a string just to use it in a g_strdup_printf - clean up properly in error cases in lua bindings - misc. other missing g_free() calls - one missing fclose() in the new 80211_utils https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7454 svn path=/trunk/; revision=43617
2012-07-06Take yet more care not to be dividing by zero when calculating the bitMartin Mathieson2-1/+15
rate of the channel/UE. Times four... svn path=/trunk/; revision=43578
2012-06-28Update Free Software Foundation address.Jakub Zawadzki41-41/+41
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-13Add '*.sbr' to 'clean'Bill Meier1-1/+2
svn path=/trunk/; revision=43233
2012-05-31From Martin Kaiser via bug 7312:Gerald Combs1-0/+2
there's three coverity defects about division by zero in ui/cli/tap-iostat.c, function iostat_packet() This can be triggered from the command line martin@greta# ./tshark -z io,stat,0.2,AVG\(frame.number\) Capturing on eth0 Floating point exception it->num is 0, wireshark crashes in parent->max_vals[it->colnum] = MAX(parent->max_vals[it->colnum], it->counter/it->num); (and similar for other data types) My proposal for a fix is to not update parent->max_vals[it->colnum] when it->num==0, see the attached patch. svn path=/trunk/; revision=42952
2012-05-23From Florent Drouin:Anders Broman1-7/+79
(Jeff Morriss, Michael Mann ) Add absolute timestamps to -z io,stat https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7207 svn path=/trunk/; revision=42808
2012-05-23From Robert Bullen:Anders Broman1-17/+29
The Wireshark and tshark TCP conversations stats tables aggregate reused connections into a single line item https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7248 svn path=/trunk/; revision=42806
2012-05-11Clean up indentation. (HT should not be assumed to work on 4-space tabGuy Harris1-628/+627
stops.) svn path=/trunk/; revision=42580
2012-05-11proto_registrar_get_ftype() returns an FT_ value; make its return typeGuy Harris1-0/+28
"enum ftenum" to reflect that, and fix the "switch doesn't handle XXX" warnings that provokes. svn path=/trunk/; revision=42579
2012-05-10Avoid needlessly shadowing a variable.Martin Mathieson1-1/+0
svn path=/trunk/; revision=42551
2012-05-05AFAICT '#include sys/types.h' is not needed for these files.Bill Meier15-60/+0
svn path=/trunk/; revision=42446