aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ancp.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier2011-10-151-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
* Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier2011-10-101-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
* Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier2011-10-061-32/+32
| | | | | | | | | | | | | | | | | | | | | | | 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_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
* Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang Alexis La Goutte2011-04-181-5/+1
| | | | svn path=/trunk/; revision=36707
* Don't assign to a proto_item * if the value won't be used: Coverity 832-834.Bill Meier2011-04-041-68/+68
| | | | | | Also: white space cleanup. svn path=/trunk/; revision=36459
* Rename the routines that handle dissector tables with unsigned integerGuy Harris2010-12-201-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
* Skip reserved word in ANCP OAM-Loopback-Test-Parameters TLV.Jaap Keuter2010-11-151-0/+1
| | | | svn path=/trunk/; revision=34879
* From Aniruddha A: ANCP (Access Node Control Protocol) Dissector.Bill Meier2010-04-011-0/+951
see: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4590 From me: A few minor changes: - Make ancp_info a local variable rather than a static global variable; - Use Stats ! ANCP rather than Stats ! ANCP ! Packet Types. svn path=/trunk/; revision=32353