aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-assa_r3.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-16all:Bill Meier1-2/+957
Merge .h files into .c files since .h files unused elsewhere; Do whitespace, indentation & formatting cleanup. packet-acn.c: Fix 2 minor bugs wherein subtree not displayed in packet-details because tree variable used in proto_tree_add_text() always NULL. svn path=/trunk/; revision=42647
2012-05-07Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-17/+23
proto_tree_add_item() calls; for the items that don't actually have hf_ entries (which is a bug in the dissector!), assume the short fixed-length ones are integral and the "to the end of the packet" ones are byte arrays (hence ENC_NA). svn path=/trunk/; revision=42475
2012-04-18From Evan Huus: There were two cases where we could underflow an unsigned ↵Anders Broman1-6/+20
subtraction, leading to huge values and near-infinite loops. Catch them and add an expert_info warning that the packet is bad. Also fix some other expert_info messages to hang off of the right dissection tree. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7125 svn path=/trunk/; revision=42122
2012-03-06Fix benign issue: For FT_BOOLEAN fields with a zero bitmask, use BASE_NONE ↵Bill Meier1-5/+5
for 'display' svn path=/trunk/; revision=41385
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-56/+56
- 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 svn path=/trunk/; revision=39539
2011-10-23Fix a proto_tree_add_item() encoding arg.Bill Meier1-1/+1
svn path=/trunk/; revision=39527
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-6/+6
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
2011-10-10Comment out some unused hf[] entries;Bill Meier1-16/+18
Add notes about missing hf[] entries. svn path=/trunk/; revision=39344
2011-10-10Convert proto_tree_add_item() 'encoding' parameter as appropriate.Bill Meier1-42/+42
svn path=/trunk/; revision=39343
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-8/+8
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-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-353/+353
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
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-19/+19
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-08-31Second try to move crc routines to libwsutil.Stig Bjørlykke1-1/+1
This time keep the tvb routines in epan. Now we can use common crc routines outside epan. svn path=/trunk/; revision=38810
2011-08-30Revert r38800, as the crc routines contains some tvb functions.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=38803
2011-08-30Move all crc routines to libwsutil.Stig Bjørlykke1-1/+1
This way we can use the crc routines in wiretap. svn path=/trunk/; revision=38800
2011-04-22Found by clang 3.0 (built from trunk): various implicit conversion fromStephen Fisher1-7/+36
enumeration type 'xxx' to different enumeration type 'xxx' Fix: Create different structs based on the enum type contained within. svn path=/trunk/; revision=36814
2011-04-21Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=36764
2011-04-21Fix Dead Store (Dead nested assignment) Warning found by Clang Alexis La Goutte1-2/+1
svn path=/trunk/; revision=36753
2011-01-20Fix the dead initialization warnings found by clang's static analysisStephen Fisher1-2/+2
("Value stored to 'xxx' during its initialization is never read") svn path=/trunk/; revision=35598
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-12-06Fix various typos and spelling errors.Bill Meier1-3/+3
svn path=/trunk/; revision=35126
2010-11-01Use value_string_ext fcns when accessing value_string arrays.Bill Meier1-384/+420
svn path=/trunk/; revision=34744
2010-10-11Define some fcns & vars as static;Bill Meier1-1/+1
Minor whitespace and comments cleanup. svn path=/trunk/; revision=34477
2010-04-07Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=32414
2010-01-10Fix for Bug 4369:Gerasimos Dimitriadis1-4/+16
Use the correct function for adding an FT_STRING field and make some checks regarding the length of parameters in cmd_manageuser(). svn path=/trunk/; revision=31476
2010-01-10Partial fix for Bug 4369:Gerasimos Dimitriadis1-1/+13
Remove the possibility of infinite loop when counting items of length 0. svn path=/trunk/; revision=31475
2010-01-07Partial fix for Bug 4369:Gerasimos Dimitriadis1-2/+12
Remove the possibility of infinite loop when command length is 0. svn path=/trunk/; revision=31463
2009-11-28proto_reg_handoff...: if (!initialized) not req'd;Bill Meier1-86/+73
Remove unneeded #includes; Use true_false_string definitions from tfs.c when possible. svn path=/trunk/; revision=31106
2009-11-28From J.C. Wren:Jaap Keuter1-0/+5685
This patch adds protocol dissection support for the Assa Abloy R3 protocol. R3 is an electronic lock management protocol for configuring operational parameters, adding/removing/altering users, dumping log files, etc. svn path=/trunk/; revision=31105