aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-6lowpan.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-30From Martin Kaiser:pascal1-3/+3
Fix some 'intermediate pointers must be const qualified' warnings https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215 svn path=/trunk/; revision=42355
2012-03-06Use tvb_new_subset_remaining() instead of tvb_new_subset();Bill Meier1-81/+145
Reformat some long lines. svn path=/trunk/; revision=41365
2012-03-02Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=41306
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-20/+20
- proto_tree_add_bits_item - proto_tree_add_bits_ret_val - proto_tree_add_bitmask - tvb_get_bits - tvb_get_bits16 - tvb_get_bits24 - tvb_get_bits32 - tvb_get_bits64 svn path=/trunk/; revision=39539
2011-07-31Restore saved 'pinfo->fragmented' as appropriate;Bill Meier1-0/+4
Fixes gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. svn path=/trunk/; revision=38297
2011-07-29From Owen Kirby via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6147Alexis La Goutte1-47/+117
6LoWPAN: Support for IP-in-IP tunnelingy svn path=/trunk/; revision=38258
2011-05-27From Colin O'Flynn:Jaap Keuter1-0/+5
Avoid processing tvb when fragment dissection didn't create one. svn path=/trunk/; revision=37426
2011-05-16From beth.tridium [At] gmail.com: 6LoWPAN dissector selects wrong byte for ↵Bill Meier1-1/+1
HC_UDP Encoding subtree https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5926 svn path=/trunk/; revision=37194
2011-04-27From Yaniv Kaul: some 'set but not used' compilation fixes.Bill Meier1-2/+0
svn path=/trunk/; revision=36888
2011-04-04Don't assign to a proto_item * if the value won't be used: Coverity 820/821;Bill Meier1-7/+4
Also: #include <stdio.h> & <string.h> not required; svn path=/trunk/; revision=36447
2011-02-23Forward port r36036 from trunk-1.4: Make sure we ep_allocate enoughGerald Combs1-9/+14
memory. svn path=/trunk/; revision=36037
2011-02-23From Alexis La Goutte:Anders Broman1-2/+2
Cleanup packet-ipv6.h and dependency. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5713 svn path=/trunk/; revision=36031
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=35705
2010-10-26From Fred Fierling:Anders Broman1-4/+4
Multi-key Support and Extended Address Mapping for ZigBee Dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5331 svn path=/trunk/; revision=34647
2010-10-24Back out 34627 and friends again.Anders Broman1-4/+4
svn path=/trunk/; revision=34633
2010-10-24From Fred Fierling:Anders Broman1-4/+4
Multi-key Support and Extended Address Mapping for ZigBee Dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5331 svn path=/trunk/; revision=34627
2010-09-30Initialize length.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34293
2010-09-30From Colin O'Flynn / Owen Kirby:Jaap Keuter1-147/+206
The 6LoWPAN dissector had as a TODO the 'stateful address compression' mode. This patch fixes that TODO, up to HC-13. This patch also updates to HC-08, where the PANID is no longer used in forming the short address. svn path=/trunk/; revision=34290
2010-07-26From John Sucaet:Anders Broman1-2/+4
The committed changes in 33624 did not include all fixes of the previous patch file - Please add the fix for the field description of the 8-bit Deep Hops Left field Attached file contains this fix (+as well as small correction to the field descriptions of V and F flags, according to the terminology of RFC 4944) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5047 svn path=/trunk/; revision=33630
2010-07-23From John Sucaet:Jaap Keuter1-45/+56
packet-6lowpan.c dissects the non-compressed ipv6 fields in an order different from the one specified in RFC 4944 §10.3.1. The patch fixes the wrong order and an additional problem with the dissection of the mesh header: support for the Deep Hops Left field (RFC 4944 §5.2) svn path=/trunk/; revision=33624
2010-07-23From Jan van den Boom:Jaap Keuter1-4/+4
Correct the V and F flag interpretation in the Mesh Addressing Type and Header for correct address interpretation. svn path=/trunk/; revision=33623
2010-04-07Squelch some compiler warnings (including warnings about the last memberGuy Harris1-26/+30
of a structure being an empty array; that is *not* supported by all the compilers that can be used to build Wireshark). svn path=/trunk/; revision=32412
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-03-10From Colin O'Flynn:Jaap Keuter1-4/+16
This is a minor change between the version in SVN which is hc-05, and the latest which is hc-06. svn path=/trunk/; revision=32163
2010-03-10Add a sanity check in dissect_6lowpan_hc1() for the datagram length. Guy Harris1-6/+14
Fail, and add an expert item, for invalid lengths. Having done that, add some casts to squelch compiler warnings. svn path=/trunk/; revision=32160
2010-03-10From Owen Kirby:Jaap Keuter1-3/+3
I've come across a bug in the 6LoWPAN header decompression code that incorrectly computes the length of IPv6 extension headers by adding the protocol and length fields twice. svn path=/trunk/; revision=32157
2010-03-09From Owen Kirby:Jaap Keuter1-123/+265
This patch fixes 6LoWPAN fragmentation to comply with RFC4944. I also happened across a problem with the derivations of interface identifiers from 16-bit IEEE 802.15.4 addresses, which should also be fixed in my patch. svn path=/trunk/; revision=32155
2010-03-01from Colin O'Flynn:Anders Broman1-1/+1
6lowpan dissector: copy/paste error results in 64-bit source & 16-bit dest failing https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4545 svn path=/trunk/; revision=32065
2010-02-12From Owen Kirby:Jaap Keuter1-29/+36
This patch fixes a bug in the 6LoWPAN dissectors that corrupts addresses when multicast address compression is used. Testing this fix also uncovered a bug in the computation of the length of the extension headers. And some typos. svn path=/trunk/; revision=31870
2010-02-09From Owen Kirby:Jaap Keuter1-0/+8
This patch fixes a bug in the 6LoWPAN dissector where link-local addresses created from an EUI-64 address do not correctly invert the universal/local bit as recommended by section 4 of RFC2464. svn path=/trunk/; revision=31843
2010-02-06Renamed some reassembled data texts.Stig Bjørlykke1-2/+2
Removed some check_col(). svn path=/trunk/; revision=31809
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-1/+6
reassembly. svn path=/trunk/; revision=31767
2010-01-13From Didier Gautheron:Anders Broman1-7/+8
Fix a memory leak. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917 svn path=/trunk/; revision=31511
2009-11-25From Beth Tridium:Jaap Keuter1-1/+1
When a 6lowpan message has a compressed UDP length (i.e. the length must be calculated, not read from the headers), the 6lowpan dissector correctly reports that the UDP length is compressed, but it may try to read the length from the headers anyway. svn path=/trunk/; revision=31075
2009-11-09Removed an unused assignment.Stig Bjørlykke1-1/+0
svn path=/trunk/; revision=30895
2009-11-06Add parentheses to satisfy the compiler.Jaap Keuter1-1/+1
svn path=/trunk/; revision=30842
2009-11-05From Owen Kirby:Jaap Keuter1-35/+35
We've discovered a number of bugs in the 6LoWPAN dissector, and have fixed them in the following patch. The fixed bugs include: - Incorrect UDP Checksum calculation. - Incorrect link-local prefix when decompressing IPHC headers. - Incorrect parsing of the UDP port numbers when not 8-byte aligned. - Overflow of the datagram offset field when reassembling fragmented packets. svn path=/trunk/; revision=30840
2009-10-08Fix code so it actually pads a length to an 8 byte boundary.Bill Meier1-1/+1
svn path=/trunk/; revision=30406
2009-10-041. There doesn't seem to be a need for a separate .h file;Bill Meier1-24/+160
2. Move prototype declarations to after the struct declarations used by the prototypes. 3. Fix some typos. svn path=/trunk/; revision=30310
2009-10-04We don't use preferences so if (!init) not requiredKovarththanan Rajaratnam1-9/+4
svn path=/trunk/; revision=30278
2009-10-03Fix a couple (false) uninitialized variable warnings.Jeff Morriss1-11/+5
svn path=/trunk/; revision=30271
2009-10-03Make gcc happy.Michael Tüxen1-1/+1
svn path=/trunk/; revision=30269
2009-10-03From Owen Kirby:Jaap Keuter1-0/+2111
The attached patch adds a dissector for IPv6 over IEEE 802.15.4 (aka 6LoWPAN). The protocol is specified in RFC 4944. This dissector also processes the 6LoWPAN draft header compression scheme in draft-ietf-6lowpan-hc-05. svn path=/trunk/; revision=30268