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.wmeier1-1/+1
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-20Fix a typo.wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39489 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.wmeier1-213/+213
(Some minor whitespace cleanup). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39488 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39328 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriatejmayer1-39/+39
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38746 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <string.h> not needed.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32410 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-08Readd the feature to skip the unknown/faulty remainderjmayer1-0/+3
of an IE and still display the next one(s). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29023 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-08Fix several dissector assertions.gerald1-20/+25
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29005 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-06Shorten a few variables for values read from the packet.jmayer1-7/+7
Inspired by Kovarththanan Rajaratnam's patch for bug 3665 which in turn was a duplicate for the (fixed) bug 3660. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28960 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-06Fix for bug 3660: Length (guint32) could become 0 or very largejmayer1-14/+40
(overflow). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28948 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-29Add value for vfstate: activejmayer1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28883 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-22Lots of additional decoding, still quite a few things missing.jmayer1-56/+134
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28804 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-20Lots of improvements to GLPB dissector - still lot of stuff missing.jmayer1-118/+252
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28781 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-19The previous patch fixed only part of the problem,jmayer1-3/+1
as offset was only increased inside the if statement. Get rid of offset and put in the numeric value. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28778 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-19Moved setting of length2 to make it always set.stig1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28777 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-19Add beginnings of Cisco's GLBP protocol. It's basedjmayer1-0/+342
on the trace referred to by bug 3544 and the documentation URL given in the dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28776 f5534014-38df-0310-8fa8-9805f1628bb7