aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-05-04Fix indentation.Guy Harris1-3/+3
svn path=/trunk/; revision=42408
2012-05-04Partial fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221Jeff Morriss1-2/+3
(emem alignment problems on SPARC) : Add the room for the pointer to the next (from r31577) *before* calculating the canary+pad: that way the complete allocation (allocation+canary_ptr+canary+pad) will end on an 8-byte boundary (as was the case before r31577). This only solves the alignment problem when using canaries (i.e., not, by default, se_ allocations). (And, yes, this is ignoring the 16-byte alignment requirements of long doubles.) svn path=/trunk/; revision=42407
2012-05-03Don't use spaces before (and after) packet-waveagent.c entryBill Meier1-1/+1
svn path=/trunk/; revision=42406
2012-05-03General cleanup including:Bill Meier3-202/+162
- remove unneeded #includes; - remove "boilerplate" coments; - reformat long lines; - whitespace changes. svn path=/trunk/; revision=42405
2012-05-03More whitespace cleanup;Bill Meier1-117/+117
svn path=/trunk/; revision=42404
2012-05-03General cleanup:Bill Meier1-259/+297
- use gboolean instead of gint8 for a TRUE/FALSE flag; - remove unneeded #includes; - remove "boilerplate" comments; - reformat hf[] entries; - whitespace fixes. svn path=/trunk/; revision=42403
2012-05-03General cleanup to include:Bill Meier12-4402/+5226
- remove unneeded includes; - remove "boilerplate" comments; - reformat hf[] entries; - reformat long lines; - unneeded use of check_col(); - whitespace fixes. svn path=/trunk/; revision=42402
2012-05-03Fix a typo.Anders Broman1-1/+1
svn path=/trunk/; revision=42401
2012-05-03Fix a typo.Anders Broman1-1/+1
svn path=/trunk/; revision=42400
2012-05-03Fix Coverity CID 280809 (formerly CID 809): Uninitialized scalar variable.Chris Maynard2-3/+5
svn path=/trunk/; revision=42399
2012-05-03Delete extraneous return statement, which effectively made the entire ↵Chris Maynard1-1/+1
dissect_ieee_802_3_tlv() function dead code. Fixes Coverity CID 281470 (formerly CID 1470). [I guess the new Coverity version does cross-reference the CID's after all.] svn path=/trunk/; revision=42398
2012-05-03Regenerated the file.Chris Maynard1-3/+3
svn path=/trunk/; revision=42397
2012-05-03Add back the missing line of code to increment the offset.Chris Maynard1-0/+1
svn path=/trunk/; revision=42396
2012-05-03Fix logic bug. I'm sure this was something Coverity found and I fixed but ↵Chris Maynard1-3/+3
forgot to commit it. Unfortunately Coverity has upgraded to Scan 5.5 and things are different now so I can't cross reference which CID this was anymore. svn path=/trunk/; revision=42395
2012-05-03Add Klaus Heckelmann to the list of Wireshark authors for his contribution ↵Chris Maynard1-0/+1
to resolving bug 7221. svn path=/trunk/; revision=42394
2012-05-03From Klaus Heckelmann via ↵Chris Maynard5-21/+27
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221: Avoid wireshark crash on platforms where an 8 byte alignment is required by changing the resp_time field in the icmp_transaction_t from a double to an nstime_t. svn path=/trunk/; revision=42393
2012-05-02Attempt to fix clang warnings (dead assignment, dereference of null pointer, ↵pascal2-19/+13
branch condition evaluates to a garbage value) svn path=/trunk/; revision=42392
2012-05-02Add a file_skip() routine to skip N bytes forward in the file - it'sGuy Harris2-7/+19
currently just a wrapper around file_seek(), but could be implemented by reading forward if, for example, we add support for reading (sequentially only!) from a pipe. Sort the declarations of file-reading routines into one block. svn path=/trunk/; revision=42391
2012-05-02Put all the comments about the "don't check the CRC" flag together, andGuy Harris1-11/+10
expand the resulting comment a bit. svn path=/trunk/; revision=42390
2012-05-02Attempt to fix clang warnings (dead assignment and dereference of null pointer)pascal1-8/+7
svn path=/trunk/; revision=42389
2012-05-02Properly decrypt user-password according to ↵Chris Maynard1-38/+44
http://tools.ietf.org/html/rfc2865#section-5.2 This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6779 #BACKPORT svn path=/trunk/; revision=42388
2012-05-02Remove most blurbs (they do not have any added value) and fix a few typo errorspascal1-17/+17
svn path=/trunk/; revision=42387
2012-05-02Add missing updated file from previous commit.Anders Broman1-0/+1
svn path=/trunk/; revision=42386
2012-05-02From "oss.2nerds":Anders Broman4-3/+464
IEEE P802.1aq/D3.6 and the corresponding IETF draft (http://tools.ietf.org/html/draft-ietf-isis-ieee-aq-05) defines a series of new ISIS TLVs for the shortest-path-bridging protocol. The attached patch file contains a simple dissector for one such TLV (the MT-Port-Cap TLV) and several corresponding sub-TLVs (mcid, aux_mcid, digest, and b-vid). The digest sub-TLV dissector has not been exercised because no suitable capture files are available (the digest sub-TLV seems not to be widely implemented at this point in time). Note that the codepoints mentioned in the IETF draft have changed. The IANA-assigned codepoints are further described in these pages: http://www.ietf.org/mail-archive/web/spb-isis/current/msg00007.html http://www.iana.org/assignments/isis-tlv-codepoints/isis-tlv-codepoints.xml#tlv-143 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7154 svn path=/trunk/; revision=42385
2012-05-02From Jim Wright:Anders Broman2-46/+146
Add decoding of ACS to packet-dtn.c - Changed to use proto_tree_add_item(); https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7220 svn path=/trunk/; revision=42384
2012-05-02From Evan Huus:Anders Broman3-0/+996
Given the problems with the original attempt, and the fact that there's a new version of the protocol spec out (v1.1), I took a crack at writing a new dissector from scratch. It doesn't decode the fields within the message parameters (there are far too many to bother with for an initial draft), but it decodes everything else. Even though it's not complete, I feel it's worth checking in as an intermediate step (assuming it passes review), since it's still far better than nothing, and adding full parameter-field decoding is going to take a lot of time simply for transcribing all the different fields. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1957 svn path=/trunk/; revision=42383
2012-05-02From Gabor Somlai:Anders Broman1-0/+1
Decoding DOCSIS 3.0 Isolation DATA frames (FC_TYPE=10). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7214 svn path=/trunk/; revision=42382
2012-05-02From David Wei:Anders Broman2-16/+111
Change GTP and GTPv2 dissectors for pre-Rel7 UEs that do not support bitrates higher than 16 Mbps. svn path=/trunk/; revision=42381
2012-05-02Rename the NetMon 802.11 radio header and radiotap 802.11 radio headerGuy Harris9-19/+19
dissector source files to match the "packet-ieee80211-XXX" pattern used for other 802.11 radio header dissectors. svn path=/trunk/; revision=42380
2012-05-02Use WTAP_ENCAP_IEEE_802_11_xxx for all the "802.11 plus radio header"Guy Harris14-106/+184
encapsulations. For pre-V9 AiroPeek captures, leave the radio information in the packet data, just as we do with the Prism, AVS, radiotap, and NetMon headers. Add a dissector for it. svn path=/trunk/; revision=42379
2012-05-02Reflect the rename of packet-airopeek.c to packet-peekremote.c.Guy Harris1-1/+1
svn path=/trunk/; revision=42378
2012-05-02Rename packet-airopeek.c to packet-peekremote.c, and rename the protocolGuy Harris3-143/+157
as well, as it may also be used by OmniPeek. Add some comments about it. svn path=/trunk/; revision=42377
2012-05-01Remove unnecessary null-pointer check.Guy Harris1-4/+2
svn path=/trunk/; revision=42376
2012-05-01Add copyright notices. Fix SVN properties on svnadd.Jeff Morriss4-8/+68
svn path=/trunk/; revision=42375
2012-05-01Fix 2 redundant redeclaration warnings and a bug where logical AND (&&) was ↵Chris Maynard1-4/+1
incorrectly used where bit-wise AND (&) was meant. svn path=/trunk/; revision=42373
2012-05-01Add new HTTP Status Codes from RFC 6585;Bill Meier1-7/+15
Also: Add codes 226 & 426 as specified in the IANA HTTP Status Code Registry svn path=/trunk/; revision=42372
2012-05-01Indicate why the flags have a field width of 6.Guy Harris1-6/+8
Add the RFC numbers for the BFD RFCs, and a URL for the last I-D that discussed version 0. svn path=/trunk/; revision=42371
2012-05-01Forgot to commit this change with r42341 which initializes 'type' to 0 to ↵Chris Maynard1-1/+1
avoid a clang warning. svn path=/trunk/; revision=42370
2012-04-30No C++-style comments, please; some C compilers reject them.Guy Harris1-6/+6
svn path=/trunk/; revision=42368
2012-04-30The message length isn't needed in cmd_sched_rep() - it's just theGuy Harris1-8/+0
containing packet length, so if we go past it, we'll get an exception thrown. Get rid of it. The answer to "Should msglen be returned instead of offset?" is "no" - the command dissectors return the new offset. Get rid of an unused - and unnecessary - variable. svn path=/trunk/; revision=42367
2012-04-30Add some initializations to squelch (bogus) warnings (either the versionGuy Harris1-11/+11
is 0 or it isn't, so the variables are not, in fact, used uninitialized). svn path=/trunk/; revision=42366
2012-04-30Try to fix some Logic error (Function call argument is an uninitialized ↵Alexis La Goutte1-23/+23
value ) Warning found by Clang svn path=/trunk/; revision=42365
2012-04-30Rework code slightly:Bill Meier1-237/+219
- use proto_tree_add_item() istead of tvb_get...()/proto_tree_add_uint() in a few cases; - misc ... Also: Whitespace cleanup and reformatting of hf[] entries. svn path=/trunk/; revision=42364
2012-04-30Switch to UTF-8 for remote encodings to match what the IEEE SA isGerald Combs2-102/+106
almost-but-not-quite sending. Add a link to a page with common character encoding errors. svn path=/trunk/; revision=42363
2012-04-30Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte8-73/+121
svn path=/trunk/; revision=42362
2012-04-30Parenthesize an expression to prevent a possible overflow resulting an ↵Bill Meier1-1/+1
incorrect result. svn path=/trunk/; revision=42361
2012-04-30Remove unused variable not found by MSVC2010EE but found by OSX buildbot.Chris Maynard1-1/+0
svn path=/trunk/; revision=42360
2012-04-30Add Selective Directed Broadcast (RFC 1770) IP option dissection support.Chris Maynard1-3/+40
svn path=/trunk/; revision=42359
2012-04-30Fix a couple of clang warnings and adjust capitalization.Gerald Combs1-3/+3
svn path=/trunk/; revision=42358
2012-04-30Don't use tabs in string constants;Bill Meier4-15/+15
svn path=/trunk/; revision=42357