aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-asap.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-13- [-Wmissing-prototypes]Anders Broman1-0/+3
- explicit casts. svn path=/trunk/; revision=48282
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-7/+8
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-04-16From Evan Huus:Anders Broman1-1/+0
Duplicate and misplaced 'break' statements. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7106 svn path=/trunk/; revision=42091
2011-11-15tvb_[reported_]length_remaining can return -1Bill Meier1-2/+2
svn path=/trunk/; revision=39870
2011-11-12Fix 2 typosBill Meier1-2/+2
svn path=/trunk/; revision=39806
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-5/+5
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-09-26Get rid of check_col() and use ENC_BIG_ENDIAN.Anders Broman1-2/+2
svn path=/trunk/; revision=39144
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-6/+4
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-05-24Refer to the endianness arguments as "encoding" rather thanGuy Harris1-42/+42
"representation" - we already use "representation" to refer to the text representation of fields. Change some routines with an endianness argument to make it a representation argument instead; svn path=/trunk/; revision=32929
2010-05-13Create a new REP_NA value for fields where there are no representationsGuy Harris1-1/+1
from which to choose; use that for protocol fields in some protocols (modify the CORBA generator to use it, and manually update the generated CORBA dissectors accordingly). svn path=/trunk/; revision=32777
2010-05-12Instead of using private #defines for the last argument toGuy Harris1-42/+41
proto_tree_add_item(), use the new REP_BIG_ENDIAN and REP_LITTLE_ENDIAN values. Use those #defines in variables that represent the byte order, as well. svn path=/trunk/; revision=32776
2010-01-13From Didier Gautheron:Anders Broman1-1/+1
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-15/+15
svn path=/trunk/; revision=29446
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-4/+4
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-43/+43
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-12-31From Thomas Dreibholz:Anders Broman1-51/+97
Improvements for the ASAP and ENRP dissectors. svn path=/trunk/; revision=27141
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=26646
2008-06-21From Thomas Dreibholz:Anders Broman1-47/+64
Improvements for the ASAP dissector: - Support for the "Handle Resolution Option" defined in draft-dreibholz-rserpool-asap-hropt-01.txt has been added. This option is used in all ASAP Handle Resolution messages of the RSPLIB Open Source RSerPool implementation (http://tdrwww.exp-math.uni-essen.de/dreibholz/rserpool/). - Made parameter naming consistent. Example: A Pool Handle Parameter is now also named "Pool Handle Parameter" instead of "Pool handle" only, because it contains a field "Pool Handle" which actually contains the PH byte vector. All parameters are now named "<name> Parameter". - Made other strings consistent, as in the Internet Drafts. Example: "Pool element identifier" -> "Pool Element Identifier". Each word begins with capitalized letter now. svn path=/trunk/; revision=25510
2007-12-22Add handling of "Rejected due to security considerations" error cause.Michael Tüxen1-19/+23
Reported by Holger Epper. svn path=/trunk/; revision=23939
2007-12-21Fix the handling of error parameters. Reported by Holger Eppert.Michael Tüxen1-8/+8
svn path=/trunk/; revision=23932
2007-11-20Update to draft-ietf-rserpool-common-param-15.txt. (WillMichael Tüxen1-31/+73
be published soon...) svn path=/trunk/; revision=23520
2007-04-16Use recent IANA port assignments.Michael Tüxen1-3/+1
svn path=/trunk/; revision=21449
2007-03-07Add support for draft-ietf-rserpool-policies-04.txt.Michael Tüxen1-19/+83
svn path=/trunk/; revision=20996
2006-05-31Editorial fixes from Thomas Dreibholz.Michael Tüxen1-16/+16
svn path=/trunk/; revision=18265
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-12Fix handling of ASAP_ENDPOINT_KEEP_ALIVE message.Michael Tüxen1-1/+1
svn path=/trunk/; revision=15302
2005-08-06Update toMichael Tüxen1-75/+167
* http://www.ietf.org/internet-drafts/draft-ietf-rserpool-common-param-09.txt * http://www.ietf.org/internet-drafts/draft-ietf-rserpool-enrp-12.txt * http://www.ietf.org/internet-drafts/draft-ietf-rserpool-asap-12.txt svn path=/trunk/; revision=15243
2004-07-25Added support for registered UDP port.Michael Tüxen1-0/+9
svn path=/trunk/; revision=11522
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+665
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410