Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=33511
|
|
svn path=/trunk/; revision=33012
|
|
svn path=/trunk/; revision=32709
|
|
Also: use consistent indentation & remove any trailing blanks.
svn path=/trunk/; revision=32588
|
|
worse, has no include-once guards; include it only once.
svn path=/trunk/; revision=32110
|
|
Add a break statement where it appears to have been missing.
svn path=/trunk/; revision=32041
|
|
wtap_wtap_encap_to_pcap_encap() to wiretap/pcap-encap.h. Include it
where it's needed; don't include other Wiretap headers where they're not
needed.
Include pcapng.h in pcapng.c, to declare the functions defined in
pcapng.c. Add some casts to squelch some warnings, and add to a comment
to indicate one of the problems.
svn path=/trunk/; revision=31960
|
|
svn path=/trunk/; revision=31959
|
|
svn path=/trunk/; revision=31729
|
|
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display
the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL ==
(int)BASE_NONE, so there's no source or binary compatiblity issue,
although we might want to eliminate BASE_NONE at some point and have the
BASE_ values used with integral types start at 0, so that you can't
specify BASE_NONE for an integral field.
svn path=/trunk/; revision=31319
|
|
svn path=/trunk/; revision=30915
|
|
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.
svn path=/trunk/; revision=30370
|
|
svn path=/trunk/; revision=30073
|
|
svn path=/trunk/; revision=30068
|
|
frame_data_set_after_dissect().
svn path=/trunk/; revision=30066
|
|
add_packet_to_packet_list(). This is done in order to streamline add_packet_to_packet_list() with frame_data_init(). Hopefully we can switch to frame_data_init() soon
svn path=/trunk/; revision=30052
|
|
svn path=/trunk/; revision=30033
|
|
svn path=/trunk/; revision=30024
|
|
svn path=/trunk/; revision=30023
|
|
will be removed as part of this change
svn path=/trunk/; revision=30022
|
|
svn path=/trunk/; revision=30020
|
|
duplicating the code
svn path=/trunk/; revision=29803
|
|
svn path=/trunk/; revision=29767
|
|
free memory properly on shutdown.
This is an initial step. There's still some work to do.
svn path=/trunk/; revision=29754
|
|
initialise/cleanup stack allocated 'edt' structures. This should speed up dissection since we avoid some malloc traffic.
svn path=/trunk/; revision=29404
|
|
a protocol tree;
the column values.
This includes stats-tree listeners.
Have the routines to build the packet list, and to retap packets, honor
those requirements. This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.
This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.
While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.
Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.
Clean up some indentation and some gboolean vs. gint items.
svn path=/trunk/; revision=28645
|
|
svn path=/trunk/; revision=28334
|
|
svn path=/trunk/; revision=28065
|
|
svn path=/trunk/; revision=27919
|
|
function pointer (to main) to an argument to dladdr() is done in
init_progfile_dir() rather than its callers.
svn path=/trunk/; revision=27814
|
|
const void *.
svn path=/trunk/; revision=27813
|
|
it's available and works.
svn path=/trunk/; revision=27812
|
|
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
:-)). Have it use the report_err.c routines, so it works in
console-mode programs.
Clean up some comments while we're at it.
svn path=/trunk/; revision=27456
|
|
svn path=/trunk/; revision=27392
|
|
of the pipe to be opened in the messages.
Check whether strtol() succeeds.
Map DLT_ values to a WTAP_ENCAP_ value regardless of whether it comes
from linktype_name_to_val() or strtol().
Clean up indentation.
svn path=/trunk/; revision=27075
|
|
substitute our own (I wrote them all, so I can steal them from the
BSD-licensed libpcap if I want :-)). This means that
linktype_name_to_val() and linktype_val_to_name() are always available,
and we don't need to #ifdef use of them.
Use pcap_datalink_val_to_description() to get the description for a
particular DLT_ value, rather than mapping the DLT_ value to a
WTAP_ENCAP_ value and getting the description for the latter.
svn path=/trunk/; revision=27074
|
|
Do not pass automatic variable back into caller space.
svn path=/trunk/; revision=26425
|
|
That is: indent-tabs-mode: tabs --> indent-tabs-mode: t
Also: fix a typo: set-tabs-mode --> indent-tabs-mode
svn path=/trunk/; revision=26113
|
|
svn path=/trunk/; revision=26093
|
|
svn path=/trunk/; revision=25831
|
|
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
someone is compiling --without-plugins.
svn path=/trunk/; revision=25640
|
|
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
|
|
svn path=/trunk/; revision=25248
|
|
"frame.time_delta_displayed" is
used within a display filter.
(the usefullness of "frame.time_delta_displayed" in a display filter is very limited
since it bites it's own tail. Still, wireshark and tshark should at least show the
same behaviour)
svn path=/trunk/; revision=24708
|
|
set. From me: call get_credential_inf() at startup.
svn path=/trunk/; revision=24656
|
|
- Change apply / prepare / ... as filter to use the field's value, which
is now stored in fdata as well as cinfo. Now we don't have to reprocess
the entire packet list when using these features. This also prevents
the use of these features from overwriting custom column information.
(custom columns can now be used in apply / prepare ... as filter)
- Break col_expr and col_expr_val out into a struct that is included not only
in cinfo, but now also fdata.
- Have col_custom_set_fstr() quote FT_STRING & FT_STRINGZ when storing the
col_expr_val value (for filter creation).
svn path=/trunk/; revision=24511
|
|
svn path=/trunk/; revision=24443
|
|
than Ethernet work.
svn path=/trunk/; revision=24403
|
|
svn path=/trunk/; revision=24380
|
|
svn path=/trunk/; revision=24367
|