aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-asf.c
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26Parse enterprise-numbers at run timeJoão Valverde1-2/+2
"enterprise-numbers" is converted to tab-separated values and renamed "enterprises". Unused fields are stripped. PENs are stored in a hash table loaded at run-time. User "enterprises" file is loaded from the personal config dir. Misc make-sminmpec.pl improvements and fixes. Note: names of type "Entity (formerly ...)" have the formerly part commented out for a cleaner output. Change-Id: I60c533afbe3e399077fbf432088064471ad3e1e2 Reviewed-on: https://code.wireshark.org/review/22246 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: João Valverde <j@v6e.pt>
2016-03-20Create call_data_dissector() to call data dissector.Michael Mann1-4/+1
This saves many dissectors the need to find the data dissector and store a handle to it. There were also some that were finding it, but not using it. For others this was the only reason for their handoff function, so it could be eliminated. Change-Id: I5d3f951ee1daa3d30c060d21bd12bbc881a8027b Reviewed-on: https://code.wireshark.org/review/14530 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09new_create_dissector_handle -> create_dissector_handle for dissector directory.Michael Mann1-1/+1
Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now. Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f Reviewed-on: https://code.wireshark.org/review/12484 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
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-10-04Add editor modelines; Reformat as appropriate.Bill Meier1-0/+13
Change-Id: I8e9c58b75eea85877d22024201e5d8d0e9a3dbfd Reviewed-on: https://code.wireshark.org/review/4459 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-1/+1
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.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-05-25Batch of filterable expert_infos.Michael Mann1-3/+12
svn path=/trunk/; revision=49581
2013-04-14Update some of the old FSF addresses caught by the new licensecheck buildbotEvan Huus1-2/+1
step. svn path=/trunk/; revision=48848
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-2/+0
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-04-17Flag too-short TLVs with an expert info item - and treat any TLV lengthGuy Harris1-18/+24
less than 4 as "too short", as the TLV length includes the type and length fields. svn path=/trunk/; revision=42115
2012-04-17From Evan Huus: Break from the loop if the length is zero. Fix [Bug 7120] ↵Anders Broman1-0/+2
ASF infinite loop https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7120 svn path=/trunk/; revision=42113
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-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-3/+3
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-19/+18
svn path=/trunk/; revision=39144
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
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-10-30Minor reformatting and whitespace cleanup.Bill Meier1-60/+65
svn path=/trunk/; revision=34716
2010-10-30The ASF dissector should be a new-style dissector, so its caller knowsGuy Harris1-2/+3
how much of the packet data it's consumed - but that means the dissector handle for it must be created with new_create_dissector_handle(). svn path=/trunk/; revision=34707
2010-10-30Fixed checkAPIs.pl warning, which I forgot to run earlier. Ugh.Chris Maynard1-1/+1
svn path=/trunk/; revision=34705
2010-10-29It never rejects a packet, so it's not a "new-style" dissector.Guy Harris1-2/+1
svn path=/trunk/; revision=34704
2010-10-29Fixes bug 974 by adding RSP trailer. Also resolves packet-asp "FIXME" forChris Maynard1-24/+249
IANA Enterprise ID as well as extended packet-asp decoding of authentication and integrity payloads using the sample capture file attached to the bug. Fuzz tested ~500 passes on that 3 packet capture file. svn path=/trunk/; revision=34701
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2008-04-14Add a FIXMEJörg Mayer1-0/+1
svn path=/trunk/; revision=25021
2007-10-15Fix col_add_str args; (I think this is correct)Bill Meier1-1/+1
svn path=/trunk/; revision=23194
2007-10-15Implement some of the minor possible speed improvment patches.Anders Broman1-1/+1
svn path=/trunk/; revision=23192
2006-06-22Initial fix for bug 974. It does implement RSP header decoding, it lacks RSP ↵Jaap Keuter1-2/+9
trailer decoding. ASF 2.0 messages added to ASF decoder . svn path=/trunk/; revision=18539
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-02-10ASF messages are in big-endian byte order, not little. From AlertTim Potter1-5/+5
Standard Format Specification, v2.0, p.51. svn path=/trunk/; revision=17242
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+146
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