The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / Makefile.common @ master

History | View | Annotate | Download (3.35 KB)

# Date Author Comment
1b420253 08/26/2014 12:30 AM Joerg Mayer

Whitespace fix

Change-Id: Ie42cc8df1066078d26966129fdd3e8b5643c722f
Reviewed-on: https://code.wireshark.org/review/3856
Reviewed-by: Jörg Mayer <>

bed29af4 08/20/2014 11:34 PM Roland Knall

Extcap Capture Interface

Extcap is a plugin interface, which allows for the usage
of external capture interfaces via pipes using a predefined
configuration language which results in a graphical gui.
This implementation seeks for a generic implementation,...
435e7c61 07/31/2014 08:30 PM Guy Harris

Move the AirPcap stuff into caputils.

Change-Id: I64b45dad36a3ec491aeb9de3439b4fe19b46f9d8
Reviewed-on: https://code.wireshark.org/review/3308
Reviewed-by: Guy Harris <>

fae3615c 07/15/2014 09:27 PM Guy Harris

Move the monitor-for-interface-list-changes stuff to the caputils library.

Change-Id: Ie0d4504688602c2aa8e9788643b079930ca7d305
Reviewed-on: https://code.wireshark.org/review/3076
Reviewed-by: Guy Harris <>

9e6487f2 07/04/2014 03:25 AM Guy Harris

Move utility routines for capturing into a libcaputils static library.

Some of those routines are used only in dumpcap; others are used in
TShark and Wireshark as well.

Change-Id: I9d92483f2fcff57a7d8b6bf6bdf2870505d19fb7
Reviewed-on: https://code.wireshark.org/review/2841...

edc67362 07/03/2014 05:09 AM Guy Harris

Add --help and --version support.

Make the output for them resemble the output for other programs.

Change-Id: I45dbee32ad403b8fedc2350ac9096ac1a5820cbe
Reviewed-on: https://code.wireshark.org/review/2799
Reviewed-by: Guy Harris <>

b4ce3525 07/03/2014 04:46 AM Guy Harris

Make --help and --version information a bit more uniform.

Have --version print the version number, the copyright information, the
"compiled with" information, the "running on/with" information, and the
compiler information.

Have --help print the version number, a one-line summary of what the...

c1d2b29d 06/30/2014 05:47 PM Guy Harris

Move filters.[ch] to libui.

Change-Id: I32f04016498dfe8f54b0480f30a84ffe5ef7868f
Reviewed-on: https://code.wireshark.org/review/2727
Reviewed-by: Guy Harris <>

5e283865 06/30/2014 05:37 PM Guy Harris

Move stat_menu.h to libui.

Change-Id: I7bed7f7931845bc41035535cc62e1fe17c71047d
Reviewed-on: https://code.wireshark.org/review/2726
Reviewed-by: Guy Harris <>

60d0faf9 06/30/2014 05:08 PM Guy Harris

Move proto_hier_stats.[ch] to libui.

Change-Id: Ib7c0617d88bf92cad0ac877176001d29960f1cd8
Reviewed-on: https://code.wireshark.org/review/2725
Reviewed-by: Guy Harris <>

ad1391aa 06/30/2014 01:38 AM Guy Harris

Move capture.[ch] to libui.

Change-Id: I86e7e781cc9e14abab0374a18b95438529b046f0
Reviewed-on: https://code.wireshark.org/review/2711
Reviewed-by: Guy Harris <>

b33512b7 06/30/2014 01:09 AM Guy Harris

Move capture_session.h to capchild; what it declares is defined there.

Change-Id: I8b1407839390b7ac0b45bf6f583c1a509073f002
Reviewed-on: https://code.wireshark.org/review/2709
Reviewed-by: Guy Harris <>

df583372 06/29/2014 09:36 PM Guy Harris

Move capture_ui_utils.[ch] to libui.

Change-Id: Id0f3d4d60a1acc7aa64fd3737b8f16df5bca4e5a
Reviewed-on: https://code.wireshark.org/review/2708
Reviewed-by: Guy Harris <>

fe42762f 06/29/2014 07:03 PM Guy Harris

Move some more stuff into wsutil.

Move the routines to parse numerical command-line arguments there.

Make cmdarg_err() and cmdarg_err_cont() routines in wsutil that just
call routines specified by a call to cmdarg_err_init(), and have
programs supply the appropriate routines to it....

213189ef 06/23/2014 07:58 PM Guy Harris

Move the routines to talk to dumpcap into a static libcapchild.

This pulls some stuff out of the top-level directory, and means we don't
have to build them once for every program using them.

Change-Id: I37b31fed20f2d5c3563ecd2bae9fd86af70afff5
Reviewed-on: https://code.wireshark.org/review/2591...

a1112249 06/21/2014 02:02 PM Guy Harris

Move get_os_version_info() to libwsutil.

This mean we also have to move CFString_to_C_string() there for OS X.

Change-Id: Ic91ad872e9d5290cf34f842503ededd5452e4337
Reviewed-on: https://code.wireshark.org/review/2511
Reviewed-by: Guy Harris <>

757aa332 03/31/2014 02:48 PM Alexis La Goutte

Continue to remove $Id$ from top of file

(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash)

Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd
Reviewed-on: https://code.wireshark.org/review/881
Reviewed-by: Anders Broman <>

f9669809 02/07/2014 06:03 PM Gerald Combs

Replace "svn" with "git" all over the place.

Rename "SVNPATH" to "GITBRANCH" since that seems more appropriate.
Rename "svnversion.h" to "version.h" as Evan suggested. Update some
URLs. In make-version.pl, make sure we don't set an improper upstream
branch name. Use the number of commits + short hash from `git describe`...

02b9cbb5 01/09/2014 06:02 AM Jörg Mayer

Move cfile.c into SHARK_COMMON_SRC (as was done in nmake)

svn path=/trunk/; revision=54678

658e0b30 01/08/2014 03:50 PM Guy Harris

At least some of the files in PLATFORM_CAPTURE_SRC are needed by
programs that use {lib,win}pcap but that don't capture traffic, such as
rawshark; rename it to PLATFORM_PCAP_SRC, to match CMake.

svn path=/trunk/; revision=54671

324a7c90 01/08/2014 03:22 PM Guy Harris

Rename PLATFORM_SRC to PLATFORM_CAPTURE_SRC, to match the CMake name.

svn path=/trunk/; revision=54669

bf284da2 01/07/2014 11:35 PM Michael Mann

TFShark (Terminal Fileshark) v.001. Bug 9607 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9607)

This is a VERY PRELIMINARY version of tfshark. It's an attempt to jumpstart FileShark and its architecture. Right now it's mostly just a very stripped down version of tshark with all of the necessary build modifications (including now building filetap library since tfshark depends on it)...

746ee393 12/21/2013 10:01 AM Jakub Zawadzki

Drop isprint.h use g_ascii_isprint() when this include hack was enabled.

svn path=/trunk/; revision=54327

e21fd7c0 12/12/2013 09:59 PM Guy Harris

Add a "captype" file that just reports the type of a capture file, based
on what libwiretap thinks it is.

Update some comments to reflect the death of the hack used to include
(libwiretap) plugin support in programs not built with libwireshark.

svn path=/trunk/; revision=54015

0cc1545d 12/02/2013 03:30 AM Guy Harris

Move most of the plugin code from epan to wsutil and remove all
knowledge of particular types of plugins. Instead, let particular types
of plugins register with the common plugin code, giving a name and a
routine to recognize that type of plugin.

In particular applications, only process the relevant plugin types....

2df54da6 08/01/2013 07:34 PM Jeff Morriss

Move a bunch of the crypt modules and pint.h into wsutil.

This means wsutil now links against libcrypt.

Protect a bunch of the crypt header files from multiple inclusion.

svn path=/trunk/; revision=51100

0a669967 07/15/2013 10:35 PM Jeff Morriss

Move merge.{h,c} into wiretap: these modules use wiretap to merge files.

svn path=/trunk/; revision=50656

56735f8c 07/15/2013 10:04 PM Jeff Morriss

Move u3.{h,c} and g711.{h,c} into wsutil.

Project g711.h against multiple inclusion and add C++ compatibility wrapper.

svn path=/trunk/; revision=50654

2d30d5be 07/15/2013 09:16 PM Jeff Morriss

Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specific
there and moving it avoids having to recompile the file for use in editcap
and mergecap (which don't link against libwireshark).

svn path=/trunk/; revision=50650

4dcc156c 07/11/2013 11:50 PM Jeff Morriss

Move the print modules into epan.

svn path=/trunk/; revision=50526

16206348 07/11/2013 09:40 PM Jeff Morriss

Move disabled_protos.{h,c} into epan.

svn path=/trunk/; revision=50521

45449ce1 07/11/2013 07:57 PM Jeff Morriss

Move some more modules into epan.

svn path=/trunk/; revision=50517

ce81449e 07/11/2013 01:47 AM Jakub Zawadzki

packet dissection now takes pointer to tvb instead of guint8 data
implement frame_tvbuff, right now almost a copy of 'real' tvb.

svn path=/trunk/; revision=50497

d602662b 07/10/2013 12:18 PM Chris Maynard

Add strnatcmp by Martin Pool for 'natural order' string comparisons, and make use of it in editcap and mergecap for listing encapsulation types. For example:
Before:
user0 - USER 0
user1 - USER 1
user10 - USER 10
user11 - USER 11
user12 - USER 12...

500d3993 06/25/2013 10:12 PM Jeff Morriss

Move tap-*-common.{h,c} into ui/ since that's the home for common UI functions.

svn path=/trunk/; revision=50165

bbf6a376 06/25/2013 09:14 PM Jeff Morriss

Move tempfile.{h,c} into wsutil.

svn path=/trunk/; revision=50163

a441793c 06/25/2013 06:02 PM Jeff Morriss

Move a couple of time-related modules into wsutil.

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

fd95d841 06/25/2013 03:51 PM Jeff Morriss

Allow the Gtk+ and Qt versions to be built simultaneously (with autotools).

./configure now accepts:
--with-gtk2 : enabled by default; exclusive of --with-gtk3
--with-gtk3 : disabled by default; exclusive of --with-gtk2
--with-qt : disabled by default, can be specified with gtk...

8596d17d 05/22/2013 03:44 AM Guy Harris

Pull the capture-session state information out of capture_opts and put
it into a separate capture_session structure. capture_opts should
contain only user-specified option information (and stuff directly
derived from it, such as the "capturing from a pipe" flag)....

c1d34d4b 05/21/2013 09:19 PM Guy Harris

On OS X, get the interface type from the System Configuration framework.

svn path=/trunk/; revision=49486

adad131c 05/12/2013 04:41 PM Jörg Mayer

Tiny whitespace change

svn path=/trunk/; revision=49262

39779a7b 04/25/2013 01:47 AM Guy Harris

Send the output of the -D and -L options to the standard output rather
than the standard error.

In Wireshark on Windows, create a console before doing so and destroy it
before exiting. Don't do that in TShark or dumpcap, as those are
console-mode programs on Windows....

1826e2f2 02/28/2013 10:27 AM Balint Reczey

Add ws_symbol_export.h WIRESHARK_COMMON_INCLUDES to fix failing distcheck

svn path=/trunk/; revision=47941

4d85cfee 02/01/2013 11:49 PM Guy Harris

Move recent.c to the ui directory, as we did with its header file.

svn path=/trunk/; revision=47438

2440176c 12/21/2012 09:34 AM Michael Tüxen

Use pcapio routines. This concludes the preperation for
adding pcapng support.

svn path=/trunk/; revision=46673

bd976ae6 11/22/2012 01:02 AM Guy Harris

On UN*X, if an interface has a description, use it as the "friendly
name". If it doesn't have a description, on OS X, use the System
Configuration framework to attempt to get a "friendly name" for
interfaces.

If a loopback device doesn't have a friendly name, give it "Loopback" as...

60fb6378 09/24/2012 06:23 AM Martin Mathieson

From Jim Young, bug 7745.

Add Makefile support for reordercap.

svn path=/trunk/; revision=45090

bf81b42e 06/28/2012 06:56 PM Jakub Zawadzki

Update Free Software Foundation address.

(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536

1d1391ed 06/28/2012 12:21 PM Guy Harris

From Pontus Fuchs:

Add an interface monitor that, on Linux distributions with libnl,
watches for interfaces to appear or disappear and, on such an event,
causes windows showing interface lists to update.

svn path=/trunk/; revision=43521

17a63f9c 06/24/2012 03:38 PM Jörg Mayer

Build Wireshark with ws80211_utils.c

svn path=/trunk/; revision=43463

64621268 06/20/2012 02:45 PM Jörg Mayer

Makefile.common:
- ws80211_utils.c is only needed to build dumpcap, not to build wireshark.
If it were different it would probably indicate a bad api design.
ui/gtk/Makefile.common:
- Sort in the toolbar in the right place (alphabetically)

svn path=/trunk/; revision=43415

9ee113d3 06/20/2012 12:05 PM Anders Broman

Add ws80211_utils.[ch] of bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973
sligtly modified to compile on Windows. See if it breaks any other platform.

svn path=/trunk/; revision=43410

07adfa88 03/18/2012 07:52 PM Guy Harris

Remove ui/qt/main.cpp from the list of source files for Wireshark, for
now.

svn path=/trunk/; revision=41650

994d2b54 03/18/2012 07:35 PM Guy Harris

Add automake support for Qt - use --with-qt as a configure script
argument.

svn path=/trunk/; revision=41647

9e79ec13 03/08/2012 12:30 PM Guy Harris

Move alert_box.c to the ui directory.

svn path=/trunk/; revision=41436

2ae289a6 02/19/2012 02:01 PM Guy Harris

Build the TShark taps into a static libcliui library in the ui/cli
directory, and link TShark with that; let's see if this fixes the
Windows buildbots.

svn path=/trunk/; revision=41070

9dc2cbde 02/19/2012 12:57 AM Guy Harris

Move dftest.c back to the top-level directory; that way, all of the
stuff in ui/cli can be stuffed into a libcliui library to link with
TShark, and all of the source files containing main() (except for
Wireshark) are in the top-level directory (dftest isn't any more special...

530c8c53 02/18/2012 06:55 PM Guy Harris

Create a libui (static) library in the ui directory, which contains the
object files from all the source files in the ui directory (but not in
its subdirectories), and link the programs that need it with them.

This cleans things up a little bit, and may also fix the Windows build....

3eec40b8 02/17/2012 01:23 PM Jörg Mayer

Fix a typo that broke compilation on all platforms

svn path=/trunk/; revision=41055

d2050853 02/17/2012 11:59 AM Jörg Mayer

Trying to fix the compile of ui/util.c on Windows by moving the
source file directly into the sources variable - there seems to
be a subtle difference between ui/util.c and epan/crypt/md5.c

svn path=/trunk/; revision=41052

35508464 02/17/2012 07:30 AM Jörg Mayer

Start moving files to ui/ and ui/cli/

svn path=/trunk/; revision=41047

8d4f6fc7 02/05/2012 05:39 AM Anders Broman

From QA Cafe:
Add support to follow UDP and TCP streams like wireshark does. UDP streams are
selected with IP address/port pairs. TCP stream are selected with either the
stream index or IP address/port pairs.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6684...

b5193096 01/18/2012 02:47 PM Guy Harris

Add some files that didn't get checked in.

svn path=/trunk/; revision=40562

dacb4133 01/18/2012 02:38 PM Guy Harris

Restructure the recent file code so that recent.c is GUI-independent;
move it to the top-level source directory for now, and move
ui/gtk/recent.h to the ui directory.

svn path=/trunk/; revision=40561

31badaca 01/15/2012 10:23 PM Guy Harris

Move alert_box.c back up to the top-level directory for now, to fix the
Windows build. We probably want to construct a "ui" (static) library
the same way we construct the libwireshark (dynamic) library, out of
stuff in the ui directory and the relevant subdirectories....

d7b2aad0 01/15/2012 08:07 PM Guy Harris

Move some headers for UI stuff, and the alert_box.c UI-specific file, to
the ui directory. (Perhaps some other files that would be used by all
flavors of Wireshark, for any GUI toolkit or for someting such as
ncurses, and not for any command-line tool such as TShark, should be...

20979125 01/15/2012 07:29 AM Jörg Mayer

Rename crypt-xxx to xxx

svn path=/trunk/; revision=40511

781f71c3 01/03/2012 12:37 AM Guy Harris

Move capture_sync.h as well.

svn path=/trunk/; revision=40359

08e0793d 01/03/2012 12:33 AM Guy Harris

capture_sync.c is another file common to all programs that capture
traffic by running dumpcap (not surprising, as it's the file with all
the "run dumpcap" routines).

svn path=/trunk/; revision=40358

7e531049 12/29/2011 06:09 PM Guy Harris

Swallow cant_load_winpcap_err() up into capture-wpcap.c, so that
anything that uses WinPcap can use that message text in its error
messages.

svn path=/trunk/; revision=40335

a0f61449 09/15/2011 06:30 AM Martin Mathieson

Add a tap for showing all expert items.

svn path=/trunk/; revision=39010

092b161d 07/14/2011 01:07 PM Martin Mathieson

Add LTE RLC stats tap to tshark.

svn path=/trunk/; revision=38019

a7fac381 07/14/2011 09:39 AM Martin Mathieson

Add LTE MAC statistics to tshark.

svn path=/trunk/; revision=38016

4c219ee8 06/21/2011 08:45 AM Anders Broman

From Stéphane Gorse:

The menu gets a new item (Statistics -> RTSP -> Packet Counter).

Like HTTP, filter can be set and then the dialog windows shows the result of the RTSP analysis.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6042

svn path=/trunk/; revision=37741

c9b9dd69 04/26/2011 10:54 PM Guy Harris

Create a new frame_data_sequence data type; it represents a dense
sequence of frame_data structures, indexed by the frame number. Extract
the relevant bits of the capture_file data structure and move them to
the frame_data_sequence, and move the relevant code from cfile.c and...

5abfa495 04/11/2011 01:42 PM Chris Maynard

Add conversation tracking and tshark tap support to ICMPv6. Fixes bug 5810.
TODO: Add a Wireshark tap or look into possibly using the stats tree instead.
Also, like ICMP, the ICMPv6 payload appears to carry the sender's timestamp, so
it might be possible to make use of this information to estimate the total SRT....

595e5e1c 04/05/2011 04:21 PM Chris Maynard

Add ICMP tap support, and add a tshark tap to measure such things as: * Number of ICMP echo requests, replies, lost replies and percent loss. * Min, Max, Average SRT (Service Response Time), and standard deviation.
(This is my first tap, so hopefully I didn't miss something, but we'll see ...)...

941666d5 03/27/2011 12:06 PM Gerald Combs

Add "-z hosts", which dumps name resolution information in hosts format.

svn path=/trunk/; revision=36372

eda0f472 11/27/2010 07:15 PM Stephen Fisher

Move u3 code to top-level directory since it's not GTK specific

svn path=/trunk/; revision=35046

a4cc25f8 11/27/2010 04:50 PM Guy Harris

Move main_statusbar.h to the top-level directory; none of its routines
use GTK+ data types, so, at least in theory, it could be implemented
atop another toolkit.

Make statusbar_push_temporary_msg() take a format string and format
arguments. Use it instead of simple_status(), and change one call to...

9d3d2922 09/17/2010 09:03 PM Jeff Morriss

From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5223 :

I would like to contribute iSCSI SRT tap, 'tap-scsistat.c' for tshark.

The output exactly matches that of the Wireshark's iSCSI(disk) SRT dialog.

From me: a couple of small changes to make it compile without warnings....

ad273c35 06/01/2010 07:27 PM Gerald Combs

From Michael Bernhard via bug 3398 with minor fixups:

I've created a ASN.1 dissector for the IEC 61850 Sampled Values protocol. It
dissects ethernet frames of the IEC 61850-9-2LE specification form the UCA
International User Group.

There is also a new TAP for tshark (-R sv) which extracts the important...

47e2d758 05/28/2010 04:19 PM Jeff Morriss

Move some code (including the optional objects) into libwsutil

svn path=/trunk/; revision=33012

13bf4a0c 05/07/2010 04:40 AM Guy Harris

Add routines vfprintf_stderr() and fprintf_stderr() to print to the
standard error and, in Wireshark on Windows, create a console if
necessary. Have the cmdarg_err routines use them.

Use *fprintf_stderr() to print the output of -L, rather than using
cmdarg_err_cont(), so that we don't get extra newlines in the output (it...

1a855bfd 03/06/2010 03:54 PM Anders Broman

From Andrej Kuehnal:
New feature: extract specified diameter AVPs from large capture files.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4560

svn path=/trunk/; revision=32132

167ab3a9 03/03/2010 08:12 PM Guy Harris

In Wireshark and TShark, run dumpcap to get interface lists and lists of
link-layer header types for interfaces; if special privileges are
necessary to open capture devices, Wireshark and TShark shouldn't have
those privileges, but dumpcap should.

svn path=/trunk/; revision=32104

98024a00 10/06/2009 12:01 PM Stig Bjørlykke

Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370

974849a9 08/31/2009 03:47 PM Kovarththanan Rajaratnam

Remove strcasecmp. We use g_ascii_strcasecmp exclusively

svn path=/trunk/; revision=29643

72a20c16 07/02/2009 01:20 PM Gerald Combs

Pull mkstemp() into tempfile.c. That's the only place we use it now, and
it's arguably the only place we should use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.

(This still doesn't work on IE 8 / Vista here. IE gives an access denied...

fcd9a561 05/20/2009 01:07 PM Gerald Combs

From Vincenzo Condoleo via bug 2589:

Add IP packet comparison statistics.

svn path=/trunk/; revision=28426

da3d52d1 12/31/2008 05:04 PM Guy Harris

Add tap-megaco-common.h, so it'll show up in the distribution tarball.

svn path=/trunk/; revision=27145

ae511239 12/31/2008 12:47 PM Balint Reczey

Service response time statistics for MEGACO (CLI part).
Refactored GUI part to avoid code duplication.

svn path=/trunk/; revision=27143

83f9ecf9 06/30/2008 01:16 PM Jeff Morriss

Move privileges.c and unicode-utils.c from epan to wsutil (so things like
capinfos and dumpcap don't need to depend on libwireshark nor directly pull
in those modules). Because capinfos and editcap were only being linked with
privileges.c if we had plugins, this allows those programs to be linked when...

74e44668 06/21/2008 09:31 AM Bill Meier

Revert incorrect change which killed *nix buuilds...

svn path=/trunk/; revision=25504

7ed148d6 06/21/2008 09:03 AM Bill Meier

Fix editcap Windows build problem.....

svn path=/trunk/; revision=25501

70ec244f 06/21/2008 05:45 AM Sake Blok

From Ken Smith (bug 2574): Allow editcap to parse files into even time intervals

A few changes from me:
- make use of nstime_set_unset and nstime_is_unset i.s.o. extra variable first_pass
- change 'if' to 'while' to allow intervals with no packets
- remove 'unused' variable current_pkt_ts...

1f8e6c08 04/12/2008 07:34 PM Ulf Lamping

various code cleanup

svn path=/trunk/; revision=24964

d2784de2 04/12/2008 05:36 PM Stig Bjørlykke

And remove tap_dfilter_dlg.h

svn path=/trunk/; revision=24959

d5f1f866 04/12/2008 04:16 PM Stig Bjørlykke

Removed menu.h

svn path=/trunk/; revision=24955

72faa680 04/12/2008 11:55 AM Ulf Lamping

move statusbar related code from main.c into it's own main_statusbar.c

svn path=/trunk/; revision=24937