summaryrefslogtreecommitdiff
path: root/epan/dissectors
AgeCommit message (Collapse)AuthorFilesLines
2014-04-16USB: fix 'Decode As' by USB Device functionalityPascal Quantin1-1/+1
Change-Id: I22a997939f456dd4c4baecd7dd1aedc3ffefcc82 Reviewed-on: https://code.wireshark.org/review/1173 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-16Added David Miller and Philip Rosenberg-Watt to file info.Philip Rosenberg-Watt1-0/+3
Change-Id: I5f9248d58a4e809ed2fffd714411ab2e0fcc283d Reviewed-on: https://code.wireshark.org/review/1171 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-16Fix packet-maccontrol.c:147: warning: format not a string literal and noAndersBroman1-4/+2
format arguments Change-Id: I57305c7c6be86a706f10ac2c08f6576bd41eac94 Reviewed-on: https://code.wireshark.org/review/1172 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Philip Rosenberg-Watt <p.rosenberg-watt@cablelabs.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-16Add missing MPCP messages as per IEEE 802.3 StandardPhilip Rosenberg-Watt1-26/+134
Added following message types: * GATE * REPORT * REGISTER REQ * REGISTER * REGISTER ACK Change-Id: I005d92289cf3a8d46f3786184d18ce500863541e Reviewed-on: https://code.wireshark.org/review/1128 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-16From Martin Mathieson:AndersBroman1-5/+38
For S1AP PDUs that contain a cause, show that cause in the Info column. Change-Id: Icecb8da278c16e0d47395b17b54dee6ebd7be646 Reviewed-on: https://code.wireshark.org/review/1170 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-16Fix typo in openflow dissector.Selva1-1/+1
Change-Id: Ic702cc804b0d8757f284e64d35e449ed233149d3 Reviewed-on: https://code.wireshark.org/review/1169 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-16Fetch fields in NBDS as we add them to the protocol tree.Guy Harris1-65/+93
That way, we don't throw an exception until we actually try to fetch a field that's not present, so that fields we *do* successfully fetch show up in the protocol tree. While we're at it, convert some proto_tree_add_text() fields to named fields. Change-Id: I22877dfaa0fe53c44f66e8f150a9f31ccd5aba37 Reviewed-on: https://code.wireshark.org/review/1168 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-16Fix "might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]" warning ↵Bill Meier4-5/+5
from gcc 4.9. Change-Id: I8495d746f47c0e2528f88295771f86197d22d159 Reviewed-on: https://code.wireshark.org/review/1166 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-04-16Get rid of another g_assert().Guy Harris1-1/+1
Change-Id: I7eb5177864d683cf722f877336f787b392e707e6 Reviewed-on: https://code.wireshark.org/review/1165 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-16Fix FSF address.Guy Harris1-1/+1
Change-Id: Id4a7b4ff8167c4691cf3b2c6273e29d1b00f79cf Reviewed-on: https://code.wireshark.org/review/1163 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-16Squelch some warnings:Guy Harris1-8/+10
The dictionary_id member of a spdy_conv_t is only used if we have libz; put it inside the #ifdef. That also lets us give it a type of uLong, from libz, which avoids it being 32 bits when the type returned by adler32() is 64 bits. (The *value returned by adler32()* might always fit in 32 bits, but this is arguably cleaner than throwing a cast at the problem.) The third argument to adler32() is a uInt; cast sizeof to uInt to avoid other 32-bit-vs-64-bit warnings. (It should have been size_t, but maybe libz antedated size_t's availability in all the compilers that were used to compile it.) The buffer size in spdy_decompress_header_block() is always 16K; just make it a #define that is *not* size_t, so that we avoid other 32-bit-vs-64-bit warnings. Use DISSECTOR_ASSERT_NOT_REACHED() for "this can't happen" - it's marked as "doesn't return", so we don't get "variable is unassigned" warnings (at least not from the Clang I'm using), and also means we wouldn't get a crash if it *does* happen (we just get a warning on the console and in the protocol tree). Change-Id: I55945b69b7485a02f3f623b21f671ed2915d453d Reviewed-on: https://code.wireshark.org/review/1162 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-15Add SPDY dissector (from SPDYSHARK)Michael Mann2-0/+1940
Porting SPDYSHARK Plugin ( http://code.google.com/p/spdyshark/) to built-in dissector Closed-bug: 9821 Change-Id: I3169ab49e67f67a17e4094a289f4d3a389d610bc Reviewed-on: https://code.wireshark.org/review/767 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-15start a dissector for Ethernet Local Management InterfaceMartin Kaiser2-0/+126
Change-Id: I332bd690be67c908067c12e570f993565de98aed Reviewed-on: https://code.wireshark.org/review/1159 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-15remove unused variable 'tree'Martin Kaiser1-1/+1
Change-Id: Icd39b32aa61fd9fc39c7a15d22134350582b9de6 Reviewed-on: https://code.wireshark.org/review/1160 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-15Cleanup Alljoyn dissector.Michael Mann1-795/+404
Change-Id: I8de7a196ad068506f8e7312021879d20be4063d2 Reviewed-on: https://code.wireshark.org/review/1156 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Joe Huffman <jhuffman@codeaurora.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-15Bug 8214. Don't let array ett_ variables limit the number of array elements ↵Michael Mann1-9/+98
dissected. Also add support for set and bag dissection. Change-Id: I11059ec313aba7d289ce06e38b4992429f2fd999 Reviewed-on: https://code.wireshark.org/review/1123 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-15Fix check*.pl errorsMichael Mann1-11/+8
Change-Id: Id0526cd9b6b724a8f125574507f9ce6302db540d Reviewed-on: https://code.wireshark.org/review/1129 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-15Fix "might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]" warning ↵Bill Meier1-5/+5
from gcc 4.9. Change-Id: I0d8f2a03d615840a1733602d0a5a6524caba6ff5 Reviewed-on: https://code.wireshark.org/review/1152 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-04-15LTE RRC: break the sr-configIndex down into periodicity and subframe offsetMartin Mathieson1-12/+70
Change-Id: I5e153ebba9957f3dc5551f540cf333a1d0ff89f7 Reviewed-on: https://code.wireshark.org/review/1141 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-15Fix typo in packet-openflow_v1 and v5Shu Shen2-2/+2
Change-Id: Iefc02123447edecbd02cd9a31fff0f412edc8461 Signed-off-by: Shu Shen <shu.shen@gmail.com> Reviewed-on: https://code.wireshark.org/review/1148 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-04-15Fix typo for packet-openflow_v4.c, Unknown Message TypeShu Shen1-1/+1
Change-Id: I6b416785f99c9a333d799188f06637d6643b4a38 Signed-off-by: Shu Shen <shu.shen@gmail.com> Reviewed-on: https://code.wireshark.org/review/1147 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-04-14Put the system ID in the top-level items for neighbors.Guy Harris3-6/+8
Add a tvb_print_system_id() routine, and use that in various ISIS dissectors, while we're at it. Change-Id: I31b6b9ea8faf2b4849f974ec7ed27fbdd14b91ef Reviewed-on: https://code.wireshark.org/review/1145 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-14Call each item in the Extended IS Reachability CLV an "IS Neighbor".Guy Harris1-11/+9
This makes it a bit more like the (un-extended) Reachability CLVs. Also, just make the top-level items just a text field, just like the top-level items for neighbors in the (un-extended) Reachability CLVs. Rename the system IDs to be "... neighbor ID", not just "neighbor"; the top-level items hold all the information for the neighbor, and the system ID for the neighbor is just one of those pieces of information. Change-Id: I72182dea496f8cfa6048cff3b0d2474df8f31282 Reviewed-on: https://code.wireshark.org/review/1144 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-14You can't use proto_item_set_len() to make an item unknown-length.Guy Harris1-3/+7
You also shouldn't use an item for one *element* of a structure to represent the entire structure. Fix both of those. Change-Id: Id1711238ebec02f135c404ac001aa51d783b3c69 Reviewed-on: https://code.wireshark.org/review/1142 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-14Fix warning found by -Wunused-const-variable (Clang 3.5)Alexis La Goutte1-29/+14
Change-Id: I246aa28be28194576b4bd58714b2e6ac36f7a29a Reviewed-on: https://code.wireshark.org/review/1121 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-14Addition of AllJoyn packet dissector. Bug 9361Joseph Huffman2-0/+2537
Change-Id: Ia582732ee27ce9c1e4280afef5a6b3e3be959d23 Reviewed-on: https://code.wireshark.org/review/1127 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-14Add support of RFC 6514 PMSI bgp attribute and tunnel ID decodingMatthieu Texier3-50/+312
Change-Id: Ia170002fb5af5f6548595688956cc01ec4a72298 Reviewed-on: https://code.wireshark.org/review/960 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-14Fixed deprecated tvb_length and tvb_length_remaining.Philip Rosenberg-Watt2-12/+12
Change-Id: Icb7b703319f2d76383fe0a52294ca8c2d06bef84 Reviewed-on: https://code.wireshark.org/review/1118 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-14no need for if(tree)Martin Kaiser1-37/+30
Change-Id: I90a9d2f31c479d1e13f5842be944b67ef67ed6a7 Reviewed-on: https://code.wireshark.org/review/1117 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14TABs -> spacesMartin Kaiser1-128/+142
add modelines Change-Id: Iae34900e61c2b1f58e48d5ec2d2a303b00beb137 Reviewed-on: https://code.wireshark.org/review/1116 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14always get the transfer type from the conversationMartin Kaiser1-3/+3
Change-Id: Iadd45be615053cd070f69cd836d2a4abb2d5588f Reviewed-on: https://code.wireshark.org/review/1115 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14check for is_setup, not for the value of the setup flagMartin Kaiser1-4/+4
Change-Id: I9fe0f2e180a3ccf13a4db13918a73b1999e29ade Reviewed-on: https://code.wireshark.org/review/1114 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14remove device_address parameter from try_dissect_next_protocol()Martin Kaiser1-8/+8
read the transfer type from the usb conversation instead Change-Id: I91b835aea32edbf7916c392afc0eb14e711f1baf Reviewed-on: https://code.wireshark.org/review/1113 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14remove bus_id parameter from try_dissect_next_protocol()Martin Kaiser1-8/+9
read the transfer type from the usb conversation instead Change-Id: I246a64f72b8c38b98337f463ee137e30fc9b504d Reviewed-on: https://code.wireshark.org/review/1112 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14remove type parameter from try_dissect_next_protocol()Martin Kaiser1-6/+6
read the transfer type from the usb conversation instead Change-Id: Iec4866ac9c58bf576422f4bcb3bc8947bca27f06 Reviewed-on: https://code.wireshark.org/review/1111 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-14Fix no previous prototype warnings.AndersBroman13-2/+36
Change-Id: I859597ebc957a58f659800ef63318f94e80feabf Reviewed-on: https://code.wireshark.org/review/1104 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-14Bluetooth: ATT: Add missing offset calculationsMichal Labedzki1-2/+5
Change-Id: Ia0fe426bff7d48a45d915a18aa679bb8978d2fca Reviewed-on: https://code.wireshark.org/review/1095 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-14Fix infinite loop. Bug 9986Michael Mann1-0/+3
Change-Id: Idbd22522918f0db131945d2a39f38b963ca3e0c2 Reviewed-on: https://code.wireshark.org/review/1093 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-13MBIM: fix dissection of ENVELOPE Sim Toolkit messagesPascal Quantin1-8/+8
Change-Id: I3e6567e8ebfe83f12a0e2cbb2998b2e43ad2277a Reviewed-on: https://code.wireshark.org/review/1092 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-13MBIM: add decoding of text based CDMA SMSPascal Quantin1-21/+92
Change-Id: Id2497597660bffeff2d98087d6511b91bfd93b1a Reviewed-on: https://code.wireshark.org/review/1091 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-13Add ENC_ASCII_7BITS encodingPascal Quantin1-112/+7
Change-Id: I01ec87ff4181afb5b2de487fd5f5200f8d62f17d Reviewed-on: https://code.wireshark.org/review/1088 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-12Get rid of more tvb_get_nstringz* calls.Guy Harris9-89/+72
Add an FT_STRINGZPAD type, for null-padded strings (typically fixed-length fields, where the string can be up to the length of the field, and is null-padded if it's shorter than that), and use it. Use IS_FT_STRING() in more cases, so that less code needs to know what types are string types. Add a tvb_get_stringzpad() routine, which gets null-padded strings. Currently, it does the same thing that tvb_get_string_enc() does, but that might change if we don't store string values as null-terminated strings. Change-Id: I46f56e130de8f419a19b56ded914e24cc7518a66 Reviewed-on: https://code.wireshark.org/review/1082 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-12Update E.212 list to Operational Bulletin No. 1047 (1.III.2014)Pascal Quantin1-9/+28
Change-Id: I6eddb03a0ef541f94fc166a03417a91bb219e235 Reviewed-on: https://code.wireshark.org/review/1081 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-04-12no need for if(tree)Martin Kaiser1-23/+19
Change-Id: Ic74a8f080628dc200fe1f5a4d34ff5f9bb60e232 Reviewed-on: https://code.wireshark.org/review/1079 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-12TABs -> spacesMartin Kaiser1-96/+109
add editor modelines Change-Id: Ieee4ea5c5043c519c465a4b0570357f2c22e311c Reviewed-on: https://code.wireshark.org/review/1078 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2014-04-12Fix packet-vp8.c:168:6: warning: redundant redeclaration of ↵Alexis La Goutte1-2/+0
'proto_reg_handoff_vp8' [-Wredundant-decls] packet-vp8.c:30:6: note: previous declaration of 'proto_reg_handoff_vp8' was here Change-Id: Ibbae1eeffaa672224e5ea77bda8e207d077b7262 Reviewed-on: https://code.wireshark.org/review/1071 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-12Fixes for numerous fuzz crashes - bug 9962.David Ameiss2-47/+160
Change-Id: I34fb09b62e79bfadd362c0ade81bec80dd0f14e0 Reviewed-on: https://code.wireshark.org/review/1058 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-12Adding message type to COL_INFO for multipart messagesShu Shen1-0/+6
Change-Id: I0ae84101c71f31e2d6ab91c7f7b74da81865b8f3 Signed-off-by: Shu Shen <shu.shen@gmail.com> Reviewed-on: https://code.wireshark.org/review/1075 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-11Fix compilation if not HAVE_LIBGNUTLS and not HAVE_LIBGCRYPTStig Bjørlykke1-2/+2
This was introduced in the previous compilation fix. Change-Id: I4ec652a2708d90f35f3f00ec2c3261acb3e68397 Reviewed-on: https://code.wireshark.org/review/1074 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-04-11Fix compilation if HAVE_LIBGNUTLS but not HAVE_LIBGCRYPT.Stig Bjørlykke2-2/+4
Also fixed a comment for a #endif for the same defines. Change-Id: Icbbf619dbaeb1d4d154a5f1a8273f252d35c6981 Reviewed-on: https://code.wireshark.org/review/1070 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>