Age | Commit message (Collapse) | Author | Files | Lines |
|
adding to DISSECTOR_SRC instead, and update it to mention
"Makefile.nmake" in the first instance.
svn path=/trunk/; revision=8966
|
|
printf's implement.
svn path=/trunk/; revision=8898
|
|
svn path=/trunk/; revision=8797
|
|
pointer arguments to "proto_tree_add_XXX" functions are copied - if you
allocated a buffer for one of them (e.g., a string), and you don't free
that buffer when you're done with it, you'll leak memory.
svn path=/trunk/; revision=8796
|
|
svn path=/trunk/; revision=8742
|
|
svn path=/trunk/; revision=8651
|
|
to avoid name collisions.
svn path=/trunk/; revision=8649
|
|
svn path=/trunk/; revision=8627
|
|
Wrap text to 80 columns.
Add myself to the authors list (e.g. for the portability section).
svn path=/trunk/; revision=8108
|
|
Besides "STRING", there is now "UNPARSED_STRING", where the distinction
is that "STRING" was a double-quoted string and "UNPARSED_STRING" is just
a sequence of characters that the scanner didn't know how to scan/parse,
so it's up to the Ftype to parse it.
This gives us more flexibility and prepares the dfilter parsing engine
for the upcoming addition of the "contains" operator.
In the process of doing this, I also re-did the double-quoted string
support in the scanner, so that instead of the naively-simple support we
used to have, double-quoted strings now can have embedded dobule-quotes,
embedded octal sequences, and embedded hexadecimal sequences:
"\"" embedded double-quote
"\110" embedded octal
"\x48" embedded hex
Enhance the dfilter unit test script to be able to run a single collection
of tests instead of having to run all of them all the time.
svn path=/trunk/; revision=8083
|
|
svn path=/trunk/; revision=7977
|
|
to indicate what you should avoid doing *and* to indicate what you still
have to do (i.e., call subdissectors).
svn path=/trunk/; revision=7864
|
|
- miscellaneous typos corrected
svn path=/trunk/; revision=7329
|
|
"close()", "read()", "write()", etc..
svn path=/trunk/; revision=7314
|
|
not using "%l[doux]" with guint32;
not including <unistd.h> without #ifdef HAVE_UNISTD_H;
not fopening binary files with "r", "w", etc., and not opening
them with "open()" without using O_BINARY.
svn path=/trunk/; revision=7302
|
|
svn path=/trunk/; revision=7115
|
|
to be using it for stuff that should be hex, and for stuff that should
be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should
be hex, and make it Boolean if it should be Boolean.
svn path=/trunk/; revision=7053
|
|
"prefs_register_XXX_preference" routines, to note that it should *NOT*
include the protocol name - the protocol name is automatically prepended
to it, with a "." separator, as the preference is registered in a module
whose name is that of the protocol.
svn path=/trunk/; revision=7031
|
|
svn path=/trunk/; revision=7003
|
|
svn path=/trunk/; revision=6805
|
|
svn path=/trunk/; revision=6769
|
|
of same.
svn path=/trunk/; revision=6594
|
|
Also, put him into the list of authors in the man page.
svn path=/trunk/; revision=6554
|
|
"strrchr()", not "index()" and "rindex()"; MSVC++ doesn't declare
"index()" or "rindex()" if you include <string.h>, and they're
non-standard routines (the ANSI C names for those functions are
"strchr()" and "strrchr()").
Add a bit more to the other portability note on the topic of
non-standard vs. ANSI standard functions.
svn path=/trunk/; revision=6539
|
|
svn path=/trunk/; revision=6446
|
|
svn path=/trunk/; revision=6088
|
|
equivalents in the READMEs and examples in the doc/ directory.
svn path=/trunk/; revision=5933
|
|
there rather than to the top-level tree, and use
"proto_tree_add_item()".
Add a description of PROTOSHORTNAME, and give an example of the way
PROTONAME, PROTOSHORTNAME, and PROTOABBREV would be set for a protocol.
svn path=/trunk/; revision=5877
|
|
svn path=/trunk/; revision=5852
|
|
svn path=/trunk/; revision=5851
|
|
pointer and using that pointer.
svn path=/trunk/; revision=5793
|
|
reality, and add a note on adding dissector *header* files.
svn path=/trunk/; revision=5780
|
|
Fix the argument lists of the "proto_tree_add_" routines to include the
tvbuff argument.
svn path=/trunk/; revision=5738
|
|
vs. "memset()"/"memcpy()"/"memmove()"/"memcmp()".
svn path=/trunk/; revision=5700
|
|
svn path=/trunk/; revision=5246
|
|
Fix some items on the tvbuff accessors for integers.
svn path=/trunk/; revision=4965
|
|
subset thereof).
svn path=/trunk/; revision=4953
|
|
svn path=/trunk/; revision=4845
|
|
"proto_item_append_text()" to use the right names.
svn path=/trunk/; revision=4838
|
|
for the item should reflect what's in the subtree.
svn path=/trunk/; revision=4832
|
|
"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
include directory).
Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").
svn path=/trunk/; revision=4587
|
|
items to the protocol tree; it's interpreted as "the rest of the data in
the tvbuff". This can be used if
1) the item covers the entire packet or the remaining payload in
the packet
or
2) the item's length won't be known until it's dissected, and
will be then set with "proto_item_set_len()" - if an
exception is thrown in the dissection, it means the item ran
*past* the end of the tvbuff, so saying it runs to the end of
the tvbuff is reasonable.
Convert a number of "proto_tree_add_XXX()" calls using
"tvb_length_remaining()", values derived from the result of
"tvb_length()", or 0 (in the case of items whose length is unknown) to
use -1 instead (using 0 means that if an exception is thrown, selecting
the item highlights nothing; using -1 means it highlights all the data
for that item that's available).
In some places where "tvb_length()" or "tvb_length_remaining()" was used
to determine how large a packet is, use "tvb_reported_length()" or
"tvb_reported_length_remaining()", instead - the first two calls
indicate how much captured data was in the packet, the latter two calls
indicate how large the packet actually was (and the fact that using the
latter could cause BoundsError exceptions to be thrown is a feature - if
such an exception is thrown, the frame really *was* short, and it should
be tagged as such).
Replace some "proto_tree_add_XXX()" calls with equivalent
"proto_tree_add_item()" calls.
Fix some indentation.
svn path=/trunk/; revision=4578
|
|
svn path=/trunk/; revision=4413
|
|
to reflect tvbuff-based access to packet data.
Update calls that deal with columns to pass "pinfo->cinfo" rather than
"pinfo->fd".
Update the example of preference registration to reflect the replacement
of the BXXP dissector with the BEEP dissector.
svn path=/trunk/; revision=4376
|
|
current calling sequence for "dissector_add()".
svn path=/trunk/; revision=4309
|
|
handle as an argument.
svn path=/trunk/; revision=4282
|
|
the raw frame data, it's the data that the dissector should look at).
svn path=/trunk/; revision=4278
|
|
svn path=/trunk/; revision=4199
|
|
"tvb_get_letohl()" to fetch IPv4 addresses.
svn path=/trunk/; revision=4110
|
|
conversation_add_proto_data, conversation_get_proto_data, and
conversation_delete_proto_data.
svn path=/trunk/; revision=4031
|