aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ziop.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-2/+2
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-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-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-3/+3
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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-19Don't assign to an unused 'proto item *': Coverity 1033 & 906wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37308 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-21Remove unneeded #include <errno>,<math>,<ctype> & "isprint";wmeier1-32/+27
Do minoir whitespace & indentation cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36786 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-06Make some (preference) variables static.morriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35134 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-13As suggested in ↵morriss1-19/+14
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32790 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
2010-04-03Remove unneeded #include <stdio.h>wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-21Remove unneeded #includeskrj1-7/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29497 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-15Get rid of C++-style comment (and anglicize it).guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29105 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-14From Alvaro Vega Garcia via bug 3652:gerald1-126/+58
Patch with some improvements for packet ziop dissector following patch about MIOP dissector submitted by Kovarththanan Rajaratnam. From me: Add a link to the protocol specification. Don't tvb_memcpy over structs! Remove some more tvbuffs. Don't call proto_item_add_subtree if we're not going to use the trees. Call proto_tree_add_item instead of proto_tree_add_text Remove a bunch of unused ett_ variables and a few other now-unused variables. Register the field array with the correct length. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29095 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-05Remove stuff that's really "non-public" from .h files. wmeier1-15/+5
(Include in .c files as needed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27616 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-05Oops! Fix the fix wmeier1-8/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27613 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-05Minor rework of reg_handoff ...wmeier1-16/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27610 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-03From Alvaro Vega Garcia:etxrab1-0/+440
Support ZIOP and MIOP (specialized CORBA protocols). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3238 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27589 f5534014-38df-0310-8fa8-9805f1628bb7