aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glbp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-20Fix a typo.Bill Meier1-2/+2
svn path=/trunk/; revision=39489
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.Bill Meier1-213/+213
(Some minor whitespace cleanup). svn path=/trunk/; revision=39488
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-1/+1
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-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
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-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-12/+12
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-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriateJörg Mayer1-39/+39
svn path=/trunk/; revision=38746
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
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-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2009-07-08Readd the feature to skip the unknown/faulty remainderJörg Mayer1-0/+3
of an IE and still display the next one(s). svn path=/trunk/; revision=29023
2009-07-08Fix several dissector assertions.Gerald Combs1-20/+25
svn path=/trunk/; revision=29005
2009-07-06Shorten a few variables for values read from the packet.Jörg Mayer1-7/+7
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-06Fix for bug 3660: Length (guint32) could become 0 or very largeJörg Mayer1-14/+40
(overflow). svn path=/trunk/; revision=28948
2009-06-29Add value for vfstate: activeJörg Mayer1-1/+1
svn path=/trunk/; revision=28883
2009-06-22Lots of additional decoding, still quite a few things missing.Jörg Mayer1-56/+134
svn path=/trunk/; revision=28804
2009-06-20Lots of improvements to GLPB dissector - still lot of stuff missing.Jörg Mayer1-118/+252
svn path=/trunk/; revision=28781
2009-06-19The previous patch fixed only part of the problem,Jörg Mayer1-3/+1
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-19Moved setting of length2 to make it always set.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=28777
2009-06-19Add beginnings of Cisco's GLBP protocol. It's basedJörg Mayer1-0/+342
on the trace referred to by bug 3544 and the documentation URL given in the dissector. svn path=/trunk/; revision=28776