| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Escape all non-printable characters so that we generate valid PDML.
svn path=/trunk/; revision=31674
|
|
|
|
| |
svn path=/trunk/; revision=31648
|
|
|
|
|
|
|
| |
(enum constant names are part of the global name space).
(Fixes at least one gcc -Wshadow warning).
svn path=/trunk/; revision=31572
|
|
|
|
|
|
|
|
|
|
|
|
| |
packet #1 from the capture file]
This change keeps track of whether the <structure></structure> elements
and information in between have been shown yet, and if not, it shows them
once. The previous behavior would only show it if packet #1 from the
capture file was being shown.
svn path=/trunk/; revision=31395
|
|
|
|
|
|
|
|
|
|
|
| |
indicating whether the time should be shown as local time or UTC. For
now, always pass FALSE, meaning "show as local time".
Clean up some stuff in the SNMP dissector, use abs_time_secs_to_str()
for times with one-second resolution, and update a comment in various
macros in the WSP dissector, while we're at it.
svn path=/trunk/; revision=31227
|
|
|
|
| |
svn path=/trunk/; revision=30361
|
|
|
|
| |
svn path=/trunk/; revision=30298
|
|
|
|
| |
svn path=/trunk/; revision=30291
|
|
|
|
| |
svn path=/trunk/; revision=30164
|
|
|
|
| |
svn path=/trunk/; revision=30163
|
|
|
|
|
|
| |
Free ptr array allocated through proto_find_finfo()
svn path=/trunk/; revision=29654
|
|
|
|
|
|
| |
elsewhere.
svn path=/trunk/; revision=29490
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecates add_new_data_source(). This is based on the following observation:
1) The tvb + name (aka. data_source) is only used when the protocol tree is visible
The current implementation of add_new_data_source() doesn't take this into account and simply allocates a data_source regardless. This is what packet_add_new_data_source() tries to rectify.
A couple of dissectors have already been switched over to the new packet_add_new_data_source(). Many are still missing. Help appreciated!
svn path=/trunk/; revision=29427
|
|
|
|
|
|
| |
because proto_item is typedefed to proto_node. We shouldn't rely on this since this is an implementation detail.
svn path=/trunk/; revision=29354
|
|
|
|
|
|
|
|
|
| |
This patch optimizes the data source name processing in add_new_data_source()
by delaying it. We now simply store the constant string and lazily compute the
name when needed. This gives a performance boost because we only need the name
if we have multiple data sources.
svn path=/trunk/; revision=29066
|
|
|
|
| |
svn path=/trunk/; revision=28065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Enabled "Copy Description" in the main menu and gave it
accelerator key CTRL+SHIFT+D
- Added "Copy Fieldname" to copy the fieldname of the selected
field in the detail view (Acc.Key: CTRL+SHIFT+F)
- Added "Copy Value" to copy the value of the selected
field in the detail view (Acc.Key: CTRL+SHIFT+V)
- Updated documentation to reflect the changes
svn path=/trunk/; revision=28006
|
|
|
|
|
|
|
|
| |
Drop packet length in favor of frame length.
Clean up code / indentations / header fields.
Improve docsis preference description.
svn path=/trunk/; revision=27329
|
|
|
|
| |
svn path=/trunk/; revision=26850
|
|
|
|
|
|
| |
Check that tvb backing is available before accessing it.
svn path=/trunk/; revision=26393
|
|
|
|
|
|
| |
Add Wireshark version info to the page header.
svn path=/trunk/; revision=25901
|
|
|
|
|
|
|
|
|
| |
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=25223
|
|
|
|
|
|
|
|
|
| |
Attached is a patch to export packets data as "C Arrays". I often have
the need to [re]send data captured with wireshark using a raw/pf_packet socket.
Output format is one char[] per packet, it looks like almost the same as
the one produced by "Follow TCP stream".
svn path=/trunk/; revision=24604
|
|
|
|
|
|
| |
items. This is to help preserve the PDML schema, and is discussed in bug 2226.
svn path=/trunk/; revision=24281
|
|
|
|
| |
svn path=/trunk/; revision=24258
|
|
|
|
|
|
|
| |
Move some comments to make it a bit clearer what each branch of the if
handles.
svn path=/trunk/; revision=24161
|
|
|
|
|
|
|
|
|
|
|
| |
FT_NONE is
present. This way, scripts can check for the presence of this type of fields.
(fixes bug 2210)
svn path=/trunk/; revision=24158
|
|
|
|
|
|
|
|
| |
(self-closing) tags.
Fixes bug 2185.
svn path=/trunk/; revision=24069
|
|
|
|
|
|
|
| |
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.
svn path=/trunk/; revision=21253
|
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of the patch is to provide a new output format (so it is
independent of -V): single line record per-packet with the fields chosen by the
user, with configuration options to control separator, quoting and whether a
header line is printed. It also extends some existing options behaviour (-c and
-a:filesize) so that they affect reading a file as well as writing one, so that
only the first <n> packets or bytes are read).
svn path=/trunk/; revision=21211
|
|
|
|
|
|
|
| |
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
|
|
|
|
|
|
|
|
|
| |
32-bit numbers. Separate signed and unsigned accessors have been
added and used where appropriate.
Definitely not for 0.99.5.
svn path=/trunk/; revision=20472
|
|
|
|
|
|
|
|
|
| |
proto_can_match_selected() routines, to more clearly separate the two
functions - but have them both call the same underlying routine, so
they both make the same decisions as to whether a match-selected string
can be constructed or not.
svn path=/trunk/; revision=19976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
proto_construct_match_selected_string() to indicate what it does - and
have it return a Boolean indication of whether the string could be
built, returning the string through a pointer, and, if that pointer is
null, have it just return the Boolean and not construct the string.
Get rid of proto_can_match_selected() -
proto_construct_match_selected_string() can be used for that, which
means we have only one piece of code that knows whether a "match
selected" string can be constructed or not.
Have proto_construct_match_selected_string() support matching
zero-length FT_NONE (and FT_PCRE, but that shouldn't happen) fields even
if there's no epan_dissect_t, as such a match just checks whether the
field is present.
svn path=/trunk/; revision=19967
|
|
|
|
|
|
|
|
|
|
| |
was really a problem with bytes_repr_len() and zero-length FT_BYTES
fields, and it's not clear what to do about fields that have zero
length. (Put in a comment about that.)
Clean up indentation a bit.
svn path=/trunk/; revision=19864
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a field an empty string if the field is zero-length; for some reason,
the existing code doesn't handle that correctly.
Also, the NetPDL Visualization Extension:
http://www.nbee.org/Docs/NetPDL/NetPDLVisualization.htm
seems to imply that "value" has to be present, so display it even if the
field is zero-length.
svn path=/trunk/; revision=19862
|
|
|
|
| |
svn path=/trunk/; revision=19737
|
|
|
|
| |
svn path=/trunk/; revision=19660
|
|
|
|
| |
svn path=/trunk/; revision=19347
|
|
|
|
| |
svn path=/trunk/; revision=19334
|
|
|
|
| |
svn path=/trunk/; revision=18783
|
|
|
|
| |
svn path=/trunk/; revision=18235
|
|
|
|
| |
svn path=/trunk/; revision=18206
|
|
|
|
| |
svn path=/trunk/; revision=18197
|
|
|
|
|
|
|
|
|
|
|
|
| |
necessary for the switch to GTK 2.6 (at least on WIN32).
to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.
deleted related things from config.h.win32
As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.
svn path=/trunk/; revision=16403
|
|
|
|
| |
svn path=/trunk/; revision=15088
|
|
|
|
| |
svn path=/trunk/; revision=15015
|
|
|
|
|
|
|
| |
Fix interpretation of 'value' field.
Patch from Vasanth Manickam.
svn path=/trunk/; revision=14505
|
|
|
|
| |
svn path=/trunk/; revision=13724
|