Jeff Morriss
2552c750e5
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki
5a8783f5b1
Initial commit to support yet another method of passing data between dissectors.
...
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL
svn path=/trunk/; revision=44860
2012-09-10 21:40:21 +00:00
Pascal Quantin
765c81a932
Revert r44441: pinfo may be NULL only when pi is not NULL
...
svn path=/trunk/; revision=44445
2012-08-11 17:57:18 +00:00
Jörg Mayer
f0486d582a
After commit r44435: pinfo -> NULL
...
svn path=/trunk/; revision=44441
2012-08-11 07:10:40 +00:00
Bill Meier
859affc2bd
Don't call subdissectors / expert...() / col...() under 'if (tree)'
...
Also:
Remove some uneeded initializers;
Do some whitespace cleanup and re-formatting.
svn path=/trunk/; revision=43681
2012-07-12 17:22:47 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier
05b50ef697
Fix a typo.
...
svn path=/trunk/; revision=39489
2011-10-20 14:11:32 +00:00
Bill Meier
d65261d344
Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.
...
(Some minor whitespace cleanup).
svn path=/trunk/; revision=39488
2011-10-20 14:07:54 +00:00
Bill Meier
126aa85393
Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, FT_STRINGZ, FT_UINT_STRING as follows:
...
1. If there's no character encoding (ENC_ASCII, ...) specified
then use ENC_ASCII.
2. For all but FT_UINT_STRING, always use ENC_NA
(replacing any existing True/1/FALSE/0
/ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN).
svn path=/trunk/; revision=39426
2011-10-15 18:46:26 +00:00
Bill Meier
67ee5049d4
Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
...
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_BOOLEAN
FT_IPv4
FT_EUI64
FT_GUID
FT_UINT_STRING
Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260 )
svn path=/trunk/; revision=39328
2011-10-10 00:39:31 +00:00
Bill Meier
94f36ca4ff
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
...
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
2011-10-04 22:44:31 +00:00
Jörg Mayer
18735eaba5
Replace TRUE/FALSE with the new ENCAP stuff where appropriate
...
svn path=/trunk/; revision=38746
2011-08-26 17:02:33 +00:00
Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Bill Meier
055dd62063
#include <string.h> not needed.
...
svn path=/trunk/; revision=32410
2010-04-06 21:14:01 +00:00
Jörg Mayer
8daca54c04
Readd the feature to skip the unknown/faulty remainder
...
of an IE and still display the next one(s).
svn path=/trunk/; revision=29023
2009-07-08 15:26:04 +00:00
Gerald Combs
98c1ca42c9
Fix several dissector assertions.
...
svn path=/trunk/; revision=29005
2009-07-08 00:28:54 +00:00
Jörg Mayer
162f9ef199
Shorten a few variables for values read from the packet.
...
Inspired by Kovarththanan Rajaratnam's patch for bug 3665
which in turn was a duplicate for the (fixed) bug 3660.
svn path=/trunk/; revision=28960
2009-07-06 17:49:33 +00:00
Jörg Mayer
0a48757c84
Fix for bug 3660: Length (guint32) could become 0 or very large
...
(overflow).
svn path=/trunk/; revision=28948
2009-07-06 13:00:04 +00:00
Jörg Mayer
dcd823565b
Add value for vfstate: active
...
svn path=/trunk/; revision=28883
2009-06-29 20:35:47 +00:00
Jörg Mayer
abdbac3ec6
Lots of additional decoding, still quite a few things missing.
...
svn path=/trunk/; revision=28804
2009-06-22 06:28:10 +00:00
Jörg Mayer
631380a950
Lots of improvements to GLPB dissector - still lot of stuff missing.
...
svn path=/trunk/; revision=28781
2009-06-20 16:07:01 +00:00
Jörg Mayer
4be57a71e6
The previous patch fixed only part of the problem,
...
as offset was only increased inside the if statement.
Get rid of offset and put in the numeric value.
svn path=/trunk/; revision=28778
2009-06-19 06:14:29 +00:00
Stig Bjørlykke
b3e10e559a
Moved setting of length2 to make it always set.
...
svn path=/trunk/; revision=28777
2009-06-19 05:45:40 +00:00
Jörg Mayer
ea64b28267
Add beginnings of Cisco's GLBP protocol. It's based
...
on the trace referred to by bug 3544 and the documentation
URL given in the dissector.
svn path=/trunk/; revision=28776
2009-06-19 05:29:20 +00:00