aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isl.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.wmeier1-4/+4
(Some minor whitespace cleanup). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39488 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-10 Convert '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_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-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-10/+10
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
2010-10-08Restore pinfo->private_data after an exception was thrown by a subdissector.morriss1-3/+11
This is necessary in case a subdissector had changed it but was unable to restore it (due to the exception). Remove check_col(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34436 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.morriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34227 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-19Use top level tree when using dissectors from "eth.trailer" heuristics.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33255 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-05Terminate value_string user_vals.stig1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31448 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-05More updates to the ISL dissector:sfisher1-17/+22
1) Rollback r14139 in two parts: a) Change user priority back to what Cisco's ISL documentation states that the values mean instead of the 802.1Q CoS values (see also note below). b) Change the destination address back to type FT_ETHER since the ISL-Frame values were added to manuf/wka.tmpl in r16741 with a /40 mask. 2) Add 03-00-0C-00-00/40 to manuf/wka.tmpl for ISL over Token Ring. 3) Move the type and user fields to a tree elow the destination address since that is where the values come from. NOTE: Regarding change 1a, I noticed in the Wiki's isl-2-dot1q.cap sample capture file that bit #2 is being set to 1 when bits 0 and 1 are set to 1. When bits 0 and 1 are both set to 0, bit 2 is not set. I cannot find a reference to this bit being used in Cisco's documentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31446 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-05Minor updates to ISL dissector:sfisher1-18/+9
- Bring URLs at top of file up to date. - Replace redundant true false string (bpdu_tfs) with built-in one (tfs_yes_no) - Change VLAN ID representations from hex to decimal - Change description (but not filter name) for BPDU indicator to indicate that, per Cisco documentation, it is set when it is not only a BPDU frame but also set for CDP and VTP frames. - Add "(Color)" to VLAN ID field descriptions for nostalgic reasons :) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31444 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29344 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-4/+4
(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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-22From Peter (bug 2942):stig1-1/+1
Allow optimalization with -ftracer. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26822 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-15Fix some of the Errors/warnings detected by checkapi.wmeier1-3/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25305 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-16Big 2104 - From Benn Bollay:sake1-1/+1
This patch adds a heuristic dissector to the ethernet trailer under the keystring "eth.trailer". This allows for other protocol plugins which coopt the ethernet trailer for their own devices to register for trailer traffic without requiring any further changes to the executable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23880 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-17Move a pile of protocol-related headers from the top-level sourceguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15844 f5534014-38df-0310-8fa8-9805f1628bb7
2005-05-30From Steve Grubb: Initialize some variables. Fixes part of bug 217.gerald1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14497 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-21Add a tvb_ensure_bytes_exist(). Fixes bug 68 and its many duplicates.gerald1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14158 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-19From Peter Johansson:gerald1-6/+11
My patch changes the decoding of the Destination address to conform with the spec found at http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm#xtocid75 and adds decoding of user field values 4-7 while updating the description of user field values 0-3 according to IEEE 802.1D-2004, annex G. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14139 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-16throw the new FieldError exception, if a dissector tries to add a field with ↵ulfl1-1/+1
invalid parameters add a message parameter to the show_exception function git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13074 f5534014-38df-0310-8fa8-9805f1628bb7
2004-11-24Export two versions of the Ethereal dissector, for use with encapsulatedguy1-53/+113
Ethernet frames, one for encapsulated frames that include an FCS and one for encapsulated frames that don't include an FCS. Use the appropriate versions. In the ISL dissector, do the same sort of processing we do in the Ethernet dissector to figure out whether the frame has a trailer or not and whether it has an FCS or not. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12593 f5534014-38df-0310-8fa8-9805f1628bb7
2004-11-03Add a new URL for ISL information.guy1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12483 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+341
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7