aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2013-05-24Use new expert info API in idl dissectors. These generated about 50% of the ↵Michael Mann4-2082/+2174
add_expert_info_format() calls. svn path=/trunk/; revision=49561
2013-05-24first batch of dissectors to use the new expert info API.Michael Mann3-99/+260
svn path=/trunk/; revision=49560
2013-05-24Add expert info configuration framework. Bug 2412 ↵Michael Mann5-11/+277
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2412). Expert info "fields" can now be registered/addressed by name. Right now, the basic framework allows expert info fields to become "display filters". However more could be done, like user preferences overriding default severity level, speeding up expert info dialog load time by not needing to redissect a file, etc. Long term goal is to have all expert_info filterable and have the functionality of expert_add_info_format() include the "registered index". expert_add_info_format_text() is the workaround until all current calls to expert_add_info_format() have been updated with either expert_add_info() or expert_add_info_format_text(). Then the remaining expert_add_info_format_text() will be renamed to expert_add_info_format(). svn path=/trunk/; revision=49559
2013-05-24How to mess with a keyboard...Pascal Quantin1-1/+1
svn path=/trunk/; revision=49558
2013-05-24One more compilation fix for gcc 4.3.2 ('toi' may be used uninitialized in ↵Pascal Quantin1-2/+2
this function) svn path=/trunk/; revision=49557
2013-05-24Remove unused function parameter, rename variable to avoid shadowing.Evan Huus3-8/+8
svn path=/trunk/; revision=49556
2013-05-24Overhauled the RMT dissectors. Not sure each needs its own file, but since ↵Michael Mann12-1860/+1177
this involves multiple RFCs, they remain split out by that. More are now a "pure" dissector and not a "decoding function hook". Some Notes: 1. Converted to "new style" dissectors with data being passed between dissectors 2. Combined header files into one since there wasn't much that should have really been in the header files. Implemented functionality is in c module of respective dissector. Not sure if LCT preferences should just be in the LCT dissector and not the RMT-ALC "parent", but kept for backwards compatibility. svn path=/trunk/; revision=49555
2013-05-24Add an optimization to req_resp_hdrs_do_reassembly that shaves about 20% offEvan Huus1-0/+23
the load time of one of my sample captures that is HTTP-but-not-really. Also add modelines. svn path=/trunk/; revision=49551
2013-05-23Fix computation of TP-User-Data-Length when SMS is coded with GSM 7 bit ↵Pascal Quantin1-7/+11
default alphabet and TP-User-Data-Header field is present svn path=/trunk/; revision=49546
2013-05-22Turn "packet_is_ssl()" into a general "does the packet whose dissectionGuy Harris2-0/+25
is in this epan_dissect_t contain the field whose name is passed as an argument" routine in libwireshark, and use it where we used packet_is_ssl(). (We should check to see if anything *else* could use it.) svn path=/trunk/; revision=49530
2013-05-22Support Raptor/Raptor-Q FEC in RMT dissector. Bug 8699 ↵Michael Mann2-9/+79
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8699) From Igor Slepchin. svn path=/trunk/; revision=49523
2013-05-22Do not stop dissection when there is no tree: otherwise it prevents ↵Pascal Quantin1-9/+0
successful reassembly of SMS fragments svn path=/trunk/; revision=49516
2013-05-22Minor refactor: make the framework responsible for allocating and freeing theEvan Huus9-65/+49
actual wmem_allocator_t structure. This simplifies the internal API and deduplicates a few alloc/free calls in the individual allocator implementations. I'd originally made the allocators responsible for this on purpose with the idea that they'd be able to optimize something clever based on the type of allocator, but that's clearly more work and complexity than it's worth given the small number of allocators we create/destroy. svn path=/trunk/; revision=49512
2013-05-21From Cal Tunney:Guy Harris1-21/+34
contify some arrays; don't complain about "print.command" on Windows, just ignore it, as it's valid on non-Windows platforms; fix some comparisons for preferences moved elsewhere; clean up some comments. svn path=/trunk/; revision=49485
2013-05-21Clean up white space.Guy Harris1-55/+56
svn path=/trunk/; revision=49484
2013-05-21From Michal Labedzki via ↵Michael Mann1-5/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8700 : Highlight correct bytes in some SDP trees. svn path=/trunk/; revision=49481
2013-05-21add a few filterable fields/expert infoMichael Mann1-32/+38
svn path=/trunk/; revision=49479
2013-05-21use ep_ allocated memory instead of g_ allocated.Michael Mann1-3/+1
svn path=/trunk/; revision=49478
2013-05-21- Move the export_pdu tap outside of if(tree)Anders Broman1-35/+35
- Have the diameter tap request a tree. svn path=/trunk/; revision=49475
2013-05-21Add missing element NSAP to IE Evolved Allocation/Retention Priority II.Anders Broman1-0/+3
svn path=/trunk/; revision=49474
2013-05-21DHCPv6 option 56, RFC 5908Michael Mann1-2/+62
Bug 8421 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8421) svn path=/trunk/; revision=49473
2013-05-21Use col_set_fence() functionality to remove an unnecessary global variable.Michael Mann1-12/+10
svn path=/trunk/; revision=49472
2013-05-21Minor cleanup. Removal of unnecessary packet_info* global variableMichael Mann1-171/+70
svn path=/trunk/; revision=49471
2013-05-21Fix format string typo.Evan Huus1-1/+1
svn path=/trunk/; revision=49470
2013-05-20add a few more filterable items.Michael Mann1-30/+135
svn path=/trunk/; revision=49469
2013-05-20Fix:Jeff Morriss1-10/+10
Error: the blurb for hf_048_030_WE ("asterix.048_030_WE") matches the field name in epan/dissectors/packet-asterix.c Also remove a few blurbs which aren't exact matches but are basically the same. svn path=/trunk/; revision=49468
2013-05-20More compiler warning fixes...Evan Huus1-2/+2
svn path=/trunk/; revision=49461
2013-05-20Third time lucky, hopefully fix the last of the compiler warnings...Evan Huus1-1/+1
svn path=/trunk/; revision=49460
2013-05-20Use doubles and FT_DOUBLE for better precision and to avoid a largeEvan Huus1-154/+149
number of compiler warnings for systems where floats are 32 bits, but floating-point literals default to 64-bit doubles. svn path=/trunk/; revision=49459
2013-05-20Fix some compile warnings, and spread a struct definition over multipleEvan Huus1-4/+9
lines to make it obvious where the 32-bit cast is needed, since it's not at all obvious to me... svn path=/trunk/; revision=49458
2013-05-20From Marko Hrastovec via ↵Evan Huus3-0/+5956
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8579 Dissector for ASTERIX (a radar data and air traffic controller protocol). svn path=/trunk/; revision=49457
2013-05-20From Tom Bottom:Anders Broman1-2/+11
Addition of STREAM_VLAN_ID field to GET_STREAM_INFO and SET_STREAM_INFO pdu in packet-ieee17221.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8698 svn path=/trunk/; revision=49450
2013-05-20Remove #if 0:ed code.Anders Broman1-26/+0
svn path=/trunk/; revision=49449
2013-05-20Add export_pdu_tap to packet-diameter.cAnders Broman1-0/+28
svn path=/trunk/; revision=49448
2013-05-20Make preparation to select which level tap is to be used.Anders Broman3-2/+9
svn path=/trunk/; revision=49446
2013-05-20From me via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8631Alexis La Goutte1-13/+30
Fix to honour the Response Bit/Opcode implementation, as e.g. a map response opcode is not 129 as per 1000 0001 but should be Response bit =1 / Opcode =1. * Rename opcode variable to ropcode (and pcp_ropcode_vals) * Use pcp_opcode for hf_pcp_opcode * Add hf for R item (and add tfs) * Fix bitmask for opcode Also fix warning found by encoding-args tool. svn path=/trunk/; revision=49445
2013-05-20Make the minimum supported GLib version 2.16.Gerald Combs5-56/+0
svn path=/trunk/; revision=49444
2013-05-20Fix typo s/ENCNA/ENC_NA/Evan Huus1-1/+1
svn path=/trunk/; revision=49442
2013-05-20Add Modelines Info and fix warning from fix-encoding-args toolsAlexis La Goutte1-7/+20
svn path=/trunk/; revision=49438
2013-05-20From david19801118 via ↵Alexis La Goutte1-15/+39
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8680 Add decryption for WPA eapol 4-way handshake Wireshark can't decode eapol packet which using WPA properly. (decode eapol packaet which using WPA2 is work well.) svn path=/trunk/; revision=49437
2013-05-20From Cal Turney:Anders Broman1-6/+8
When another profile is selected, its column.hidden preference is ignored. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8696 svn path=/trunk/; revision=49434
2013-05-19Don't access nbap_dch_chnl_info if the index is > maxNrOfDCHsAnders Broman1-57/+59
svn path=/trunk/; revision=49418
2013-05-19SCSI: Add support for report-one-command structure for REPORT SUPPORTED OPCODESRonnie Sahlberg1-2/+31
svn path=/trunk/; revision=49415
2013-05-19SCSI: REPORT SUPPORTED OPCODES print the reporing options in human readableRonnie Sahlberg1-1/+8
text. svn path=/trunk/; revision=49414
2013-05-19Fix a memory leak by using seasonal memory for building all parts of one ofEvan Huus1-1/+1
the address resolution tables. Showed up with https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8670 although I doubt it's the cause of the crash. svn path=/trunk/; revision=49413
2013-05-18Regenerate t124 dissectorPascal Quantin2-2/+2
svn path=/trunk/; revision=49411
2013-05-18distinguish between length and reported length when dissecting a packetMartin Kaiser1-4/+5
with DLT_USERxy with this fix, the user-encap dissector hands over truncated packets to the defined sub-dissector (the previous version would assume length==reported length and throw an execption for truncated packets) svn path=/trunk/; revision=49409
2013-05-18SCSI: Add dissection of REPORT SUPPORTED OPCODESRonnie Sahlberg7-8/+197
svn path=/trunk/; revision=49408
2013-05-18Do not display payload twice when using uncompressed profilePascal Quantin1-1/+3
svn path=/trunk/; revision=49407
2013-05-18Add some casts for C++ compatibility.Guy Harris1-6/+7
Make conv_get_fid() return a "const char *", as it can return a string constant, and they are usually *not* writable. svn path=/trunk/; revision=49400