aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-capwap.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-10From Dirk:etxrab1-1/+5
CAPWAP dissector tries to allocate -1 bytes of memory during reassembly. - changed to return offset. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39779 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-28Fix Dead Store (Dead assignement/Dead increment) Warning found by Clangalagoutte1-3/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39654 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-24Fix encoding arg for various fcn calls:wmeier1-3/+3
- proto_tree_add_bits_item - proto_tree_add_bits_ret_val - proto_tree_add_bitmask - tvb_get_bits - tvb_get_bits16 - tvb_get_bits24 - tvb_get_bits32 - tvb_get_bits64 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39539 f5534014-38df-0310-8fa8-9805f1628bb7
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-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.wmeier1-3/+3
(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-14/+14
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-2/+2
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-24/+24
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-07-31Restore saved 'pinfo->fragmented' as appropriate;wmeier1-1/+4
Fixes gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38297 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-11From qgj:etxrab1-133/+133
when dissect the capwap control header,the sequence's value is decoded improperly,it tooks the wrong offset value,so the control messages' sequence is showed improperly. Changed to uset proto_add_item and encoding type changed from FALSE to ENC_BIG_ENDIAN. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37962 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-08Add FT_EUI64 Field Typealagoutte1-1/+1
* Remove proto_tree_add_eui64 function from 802.15.4 Dissector * Replace print_eui64/print_eui64 by eui64_to_str/get_eui64_name * Update Documentation (README.dev) * Add new function in libwireshark.def * Support of encoding for tvb_eui64_to_str * Use FT_EUI64 for ICMPv6, CAPWAP, Zbee ... dissector git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37015 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.stig1-0/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35705 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵morriss1-20/+20
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34165 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-17Use val_to_str_ext() & friends to access sminmpec_values[];wmeier1-5/+5
Also: packet-nhrp.c: #include sminmpec.h not req'd; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34143 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
2010-02-06Renamed some reassembled data texts.stig1-3/+3
Removed some check_col(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31809 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-02Introduce "Reassembled length" filter element for all protocols doingstig1-0/+6
reassembly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31767 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-29Small fix for "Flag C" filter.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31121 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-29From Alexis La Goutte:jake1-97/+895
Based from a Cisco Sample (Thanks Tanmay) Changelog : * Fix a error about value of wbid * Support of CAPWAP fragmentation * Add proper handling of the alignment stuff from the RFC for Radio MAC and Wireless specific information * Add more support of Messages Element Type * Add a option to dissector Cisco Sample (Cisco Controler use a old draft) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31114 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-05Changed type for "Wireless data" to FT_BYTES.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29725 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-19As pointed out by Alexis La Goutte via PM, r29474 didn'tjmayer1-1/+17
support the different MAC formats (eui48 and eui64) properly. Now, eui48 is printed as mac, the rest is still handled as blob. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29476 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-19Add support for Radio Mac/Wireless Specific Information optionaljmayer1-1/+49
header fields. This patch lacks handling of padding since a) I don't have a trace containing padding and b) I don't understand the wording in the rfc (it's to ambigous for my liking). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29474 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-1/+1
(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
2009-06-02Remove the module globals.jake1-277/+257
Clean up the source code. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28615 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-02Do find_dissector_handles once-only in proto_reg_handoff... wmeier1-11/+11
lenght ==> length in a few places; git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28610 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-02From Alexis La Goutte via bug 3488:stig1-0/+1375
Add support for decoding CAPWAP Control Packet (RFC5415) From me: Adjusted some names. Some space cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28603 f5534014-38df-0310-8fa8-9805f1628bb7