Age | Commit message (Collapse) | Author | Files | Lines |
|
specifc. This finalizes the change of the infrastructure.
This patch is based on work by Irene Ruengeler.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37794 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
title of the wireshark main window.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37289 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Addresses Coverity 598
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36295 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
I'm missing something or the MSVC++ code analyzer doesn't realize that
in
if (XXX)
dereference XXX
will not dereference XXX if it's null - maybe "if (XXX != NULL)" will do
the trick (if so, the code analyzer is buggy, because "if (XXX !=
NULL)", "if (XXX != 0)", and "if (XXX)" mean the exact same thing if XXX
is a pointer-valued expression, really, truly, even if a null pointer
isn't represented as all zero bits or if it's wider than an int).
Clean up indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35973 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32390 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
we can use it in the main window title during and after capture. Add a
"-X" option for providing a description for stdin.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32357 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32105 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32104 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31966 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to a long, and check whether it fits in a gint before returning it as a
gint.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25418 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25417 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Set linktype history for each interface so we don't mix them.
Fixed some indents.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25411 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
On non-win32 also display the interface name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25114 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Added a function to check for hidden devices, which also work correctly
for plumbed devices on solaris.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24231 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- retrieving the list of remote PCAP interfaces
- password authentication support
- UDP data fransfer
- packet sampling (available in WinPcap 4.x)
etc.
fix problem if non-default rpcap port is used
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23750 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23691 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
segfault when doing Statistics->Summary when you didn't capture anything (but rather read in a file)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22788 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Don't get to the point where we may do a strcmp() with a null value.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22697 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
be, for example, called once a second while a capture is in progress.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22643 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22588 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Try to call get_interface_descriptive_name() as little as possible (storing
the result in capture_opts) to avoid a performance hit during live capture
(especially if you have lots of interfaces) and to avoid leaking memory.
One issue with this is that capture_opts.c cannot (without adding significant
dependencies) set the iface_descr so readers of that field (only gtk/main.c
and tshark.c) use a macro to (set if not already set and) get the value of
that field.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22587 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
as an argument, and, on an error, if they have an error message, have
them set that "gchar *" to point to a g_malloc()ed string containing the
error message, rather than taking a pointer to a buffer for that message
as an argument. That's more like what's done in Wiretap, and doesn't
impose an upper limit on the lengths of those error messages. If that
pointer is null, don't allocate the message string and return it.
Have that error message already have the "cant_get" processing applied
to it, so nobody other than those routines need to call the "cant_get"
routines to process the error messages.
Have get_airpcap_interface_list() explicitly set "*err" to the
appropriate error code.
Clean up indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20521 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
dumpcap in addition to the things already done now
various dumpcap related code cleanup: mainly #include's and capture engine related stuff
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17327 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
warnings.
Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations
of data structures for headers in libpcap files. This lets us remove
the includes of "wiretap/libpcap.h from files including
"capture_loop.h".
Make "log_func_ignore()" in "tethereal.c" static, and declare some of
its arguments unused. Also get rid of an unused variable.
Include <pcap.h> before including "wiretap/wtap-capture.h", to declare
"struct pcap_pkthdr".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16791 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16785 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
this way, the capture prefix will "logically" group the files together and file browsers will also group them
we may want to move the files into a subdir capture later
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16691 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
-always show descriptive string in combo box
-correct the initialization, so cancelling the option dialog won't make trouble
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14144 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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 .
So do that, too.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13389 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
in there is for UI functions including, but not limited to, the combo
box in capture dialogs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13061 f5534014-38df-0310-8fa8-9805f1628bb7
|