aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rfid-mifare.c
AgeCommit message (Collapse)AuthorFilesLines
2015-06-20[mifare] make the payload of the write command filterableMartin Kaiser1-16/+5
use an FT_BYTES variable instead of passing it to the data dissector Change-Id: Ia52cba24dedec13c9842109d45b3a277ee627f42 Reviewed-on: https://code.wireshark.org/review/8994 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2015-06-20[mifare] minor cleanupMartin Kaiser1-34/+18
remove the if(tree) so that we fill the info column regardless of the tree clear the info column first, then append our data remove an unnecessary initializer Change-Id: I0e9e9582f360dd929e422f994c3d4a644c602642 Reviewed-on: https://code.wireshark.org/review/8993 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-1/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-13Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...Bill Meier1-1/+1
(for some dissectors which fetch all other integral fields using ENC_BIG_ENDIAN). Change-Id: Ic18e3172aad76af12b12d6732c88497be22aed56 Reviewed-on: https://code.wireshark.org/review/5748 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-12remove unused dissector tablesMartin Kaiser1-4/+0
http://www.wireshark.org/lists/wireshark-dev/201312/msg00137.html svn path=/trunk/; revision=53977
2013-12-12- Forward declaration of register functions.Anders Broman1-0/+3
svn path=/trunk/; revision=53963
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-13Minor cleanup:Bill Meier1-73/+72
- Remove set but unused variable; - Fix indentation to match that specified by the Editor Modelines svn path=/trunk/; revision=40485
2011-11-14Remove uneeded #includes, forward refs & check_col();Bill Meier1-23/+18
tvb_reported_length_remaining() can return -1; Localize a variable. svn path=/trunk/; revision=39836
2011-11-06Attempt to fix the RCS ID.Guy Harris1-7/+7
NULL out blurbs that just give the field name. This is C code, so it shouldn't be executable; get rid of svn:executable. svn path=/trunk/; revision=39747
2011-11-06From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6161Alexis La Goutte1-0/+246
Dissector for the NXP MiFare Protocol I've just finished writing a dissector for the NXP-proprietary MiFare Protocol, as used alongside ISO 14443-A by a popular range of contactless (not-so-smart) cards, and various emulations, variants and clones thereof. It currently supports all of the commands listed in http://www.nxp.com/documents/data_sheet/MF1S703x.pdf that also happen to be supported by LibNFC (http://code.google.com/p/libnfc/) - modulo the "NAK" and CRC bytes, since I haven't found examples of their usage in my USB traces, and I didn't want to hand-craft (probably incorrect) examples for testing. From me: * Fix Clang Warning * Remove trailing whitespace from lines; * Added packet-rfid-mifare to Makefile.common and CMakeLists.txt * Add Modelines information svn path=/trunk/; revision=39746