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 / dftest.c @ master

History | View | Annotate | Download (5.19 KB)

# Date Author Comment
97546165 08/24/2014 04:04 AM Graham Bloice

Modify includes of config.h so that out-of-tree builds, i.e. CMake
don't pick up the in-tree copy.

Change-Id: I7ec473876cdba1a025c52362d7f6adc62d24ce71
Reviewed-on: https://code.wireshark.org/review/3798
Petri-Dish: Graham Bloice <>...

29659139 03/04/2014 09:27 AM Alexis La Goutte

Remove all $Id$ from top of file

(Using sed : sed -i '/^ \* \$Id\$/,+1 d')

Fix manually some typo (in export_object_dicom.c and crc16-plain.c)

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

125a17f8 12/05/2013 04:30 AM Guy Harris

Initialize the error-reporting routines before scanning for plugins, as
the code to scan for them uses those routines.

This means epan_init() no longer takes those routines as arguments -
which is just as well, given that the mechanism in question is no longer...

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....

db25270d 11/16/2013 09:55 PM Guy Harris

Move the epan/filesystem.c routines to wsutil; they're not specific to
packet dissection, they're specific to the entire Wireshark suite of
programs.

svn path=/trunk/; revision=53377

3551a86c 09/19/2012 09:29 PM Jeff Morriss

We always HAVE_CONFIG_H so don't bother checking whether we have it or not.

svn path=/trunk/; revision=45015

1cb4b7e0 07/23/2012 01:10 PM Gilbert Ramirez

Combine the two display filter README's into one,
and add a lot of explanation about how the display filter
engine works.

Modify dftest.c to remove printing of the dfilter_t pointer,
which has absolutely no value for the user.

svn path=/trunk/; revision=43941

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

3814106d 06/25/2012 05:05 PM Anders Broman

From Michael Mann:
generic preferences implementation

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

svn path=/trunk/; revision=43484

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...

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

Start moving files to ui/ and ui/cli/

svn path=/trunk/; revision=41047

8443bbbf 06/28/2011 05:00 AM Stig Bjørlykke

Replace all strerror() with g_strerror().
Remove our local strerror implementation.
Mark strerror as locale unsafe API.

This fixes bug 5715.

svn path=/trunk/; revision=37812

ede51600 04/04/2011 11:31 AM Bill Meier

Don't assign to a variable if the value won't be used: Coverity 817-821.

svn path=/trunk/; revision=36446

a87bdf96 09/16/2010 03:20 PM Gerald Combs

Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().

svn path=/trunk/; revision=34137

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

Move some code (including the optional objects) into libwsutil

svn path=/trunk/; revision=33012

1bcecb4b 05/07/2010 02:35 AM Stig Bjørlykke

Set default seconds type in rawshark and dftest.

svn path=/trunk/; revision=32709

e4d6610b 01/29/2010 11:09 AM Bill Meier

Fix various gcc -Wshadow warnings.

svn path=/trunk/; revision=31729

0fb1a3ec 09/09/2009 12:38 PM Kovarththanan Rajaratnam
  • Free dfilter on shutdown
  • Remove unused packet_info variable

svn path=/trunk/; revision=29824

c73ab7df 03/22/2009 02:53 AM Guy Harris

Change the signature of init_progfile_dir() so the casting of the
function pointer (to main) to an argument to dladdr() is done in
init_progfile_dir() rather than its callers.

svn path=/trunk/; revision=27814

6f059e8c 03/22/2009 02:38 AM Guy Harris

In Solaris, the second argument to dladdr() is just a void *, not a
const void *.

svn path=/trunk/; revision=27813

7c6e2155 03/21/2009 08:42 PM Guy Harris

Attempt to use dladdr() to get the pathname of the executable image if
it's available and works.

svn path=/trunk/; revision=27812

ace4af44 02/15/2009 04:47 PM Guy Harris

Add a routine to report write errors to the list of failure-reporting
routines handled by epan/report_err.c.

Move copy_binary_file() in file.c to epan/filesystem.c, and rename it to
copy_file_binary_mode() (to clarify that it can copy text files;
arguably, all files are "binary" unless you're on, say, an IBM 1401...

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...

ab5a09f4 05/25/2007 04:03 PM Guy Harris

No need to call init_plugin_dir() - it gets called, if necessary, by
get_plugin_dir().

Add checks for the success or failure of init_progfile_dir() in dftest.

svn path=/trunk/; revision=21942

a3d3282e 05/21/2007 04:31 PM Guy Harris

Have init_progfile_dir() also check whether
WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set and, if so and we weren't run
with special privileges, set the running_in_build_directory_flag. Have
it do the same if it finds ".libs" in the pathname of the program and we...

cf56e76b 05/07/2007 01:55 PM Graeme Lunt

Updated splash screen for Wireshark that shows the initialisation progress.
The splash screen shows a progress bar and a percentage complete - like the progress dialog.
As dissectors are initialised and handed off the name is shown. However, the names of plugin dissectors are not shown....

44c0624b 01/02/2007 01:49 AM Guy Harris

Add a WIRESHARK_RUN_FROM_BUILD_DIRECTORY environment variable on UN*X;
if set, and if the program isn't running with additional privileges,
it'll treat the directory in which the program is found as the data
directory.

If, on Windows, the version-number subdirectory of {data...

ba593256 11/20/2006 07:36 PM Guy Harris

Use the <name> convention for command-line arguments in the usage
message.

svn path=/trunk/; revision=19941

89f022b1 05/21/2006 01:12 AM Ronnie Sahlberg

name change

svn path=/trunk/; revision=18197

2f42327a 04/06/2006 04:07 PM Guy Harris

Handle a filter that evaluates to an empty "matches everything" filter.

svn path=/trunk/; revision=17835

0a19b80f 02/08/2006 05:22 AM Guy Harris

Call "get_credential_info()", so any later calls to privileges.c
routines will have the UID info (not that it matters in this case,
but...).

svn path=/trunk/; revision=17216

723c80ea 08/25/2005 05:29 PM Ulf Lamping

timestamp display precision:

- automatic adjustment depending on file format
- manual adjustment through menu items

save the setting in the recent file

svn path=/trunk/; revision=15534

f3294ee4 02/12/2005 07:10 PM Lars Roland

change nmake makefiles in /trunk and /trunk/epan so that
object code for libethereal.dll isn't generated by the
makefile in /trunk.

Having no code in /trunk linked into libethereal.dll
anymore, the definition of the macro NEED_VAR_IMPORT
can be moved from various source files in /trunk to /trunk/Makefile.nmake ....

5a89cfc0 12/25/2004 01:35 PM Ulf Lamping

Again, some warnings removed.

svn path=/trunk/; revision=12834

d7467c07 10/01/2004 09:53 PM Guy Harris

From Lars Roland: define NEED_VAR_IMPORT in dftest.c to make linking
with libethereal.dll work again.

svn path=/trunk/; revision=12180

bbe7f897 09/27/2004 06:55 PM Guy Harris

Move prefs.c and prefs.h into the epan subdirectory.

svn path=/trunk/; revision=12115

8a8b8834 07/17/2004 08:24 PM Guy Harris

Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on...

64e86789 04/16/2004 09:05 PM Guy Harris

Update to handle the changed epan_init() API, with a "general failure"
routine added. Add a missing newline to the end of read failure
messages.

svn path=/trunk/; revision=10619

121f06fa 03/23/2004 04:19 PM Guy Harris

Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the...

11f92323 03/18/2004 02:04 PM Olivier Biot

From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.

This is a move towards a real libethereal shared library.

svn path=/trunk/; revision=10402

05be09a8 02/21/2004 05:00 PM Guy Harris

Get rid of some "#if 0"ed out #includes.

Define "report_open_failure()" and "report_read_failure()", so that
dissectors can report file open and read errors.

svn path=/trunk/; revision=10171

0353c582 01/18/2004 10:46 PM Ulf Lamping

move timestamp format options from "View->Options" dialog into
menuitems under "View->Time Display Format".
renamed timestamp enum items e.g. from ABSOLUTE to TS_ABSOLUTE,
to prevent conflicting definitions with MSVC

svn path=/trunk/; revision=9729

c927dec3 08/18/2003 02:35 PM Guy Harris

Add checks for read errors in "read_prefs()".

svn path=/trunk/; revision=8183

7c4176d8 08/28/2002 05:04 PM Jörg Mayer

Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117

77fa06b8 07/16/2002 08:43 PM Guy Harris

From Joerg Mayer:

dftest.c:
Remove #if-0-ed includes
packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c,
packet-wtp.c, ethereal_gen.py:
Remove redundant include varargs (already in snprintf.h,
and required only for snprintf.h)...
ee5ca25d 01/21/2002 02:37 AM Guy Harris

Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level...

f5cf9c8d 04/01/2001 08:38 PM Ed Warnicke

Added two new arguments to epan_init() and proto_init() to
allow the passing of register_all_protocols() and
register_all_protocol_handoffs() through epan_init() to proto_init().
This allows the removal of the compile time dependence of proto.c
on register.h. Modified dftest.c, tethereal.c, and gtk/main.c to...

8f1fff2e 02/01/2001 03:21 PM Gilbert Ramirez

Create a more modular type system for the FT_* types. Put them
into epan/ftypes.

Re-write display filter routines using Lemon parser instead of yacc.
Besides using a different tool, the new grammar is much simpler, while
the display filter engine itself is more powerful and more easily extended....