aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipv6.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-3/+2
svn path=/trunk/; revision=38413
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-4/+1
svn path=/trunk/; revision=37716
2011-06-09From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5980Alexis La Goutte1-3/+121
Add draft-ietf-6man-rpl-routing-header-03 Support (RH4 RPL Routing Header) From me : * Display Bytes of Address and Full Address (Generated) * Fix some Whitespace and minor enhance... svn path=/trunk/; revision=37632
2011-05-12Prefix "fragments" with IPv6, as is done with IPv4.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=37071
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+7
svn path=/trunk/; revision=35705
2011-01-16Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure theJeff Morriss1-2/+2
return string is NULL terminated. There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). svn path=/trunk/; revision=35548
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-15/+15
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-09-23Fix for bug 5252:Jaap Keuter1-2/+5
Use real IPv6 destination address when RH0 has 0 segments left. svn path=/trunk/; revision=34199
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵Jeff Morriss1-4/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. svn path=/trunk/; revision=34165
2010-08-28Display 6to4 gateway IPv4 addresses and SLA IDs.Gerald Combs1-86/+152
svn path=/trunk/; revision=33984
2010-08-28De-obfuscate the Teredo client address and add a de-obfuscated port.Gerald Combs1-8/+43
svn path=/trunk/; revision=33982
2010-08-27Display Teredo encapsulated IPv4 server and client addresses.Gerald Combs1-1/+61
svn path=/trunk/; revision=33959
2010-08-24Display ISATAP encapsulated IPv4 addresses.Gerald Combs1-2/+33
svn path=/trunk/; revision=33900
2010-08-21Add a "summary in tree" option similar to v4.Gerald Combs1-4/+20
svn path=/trunk/; revision=33878
2010-08-21If we have something that looks like a stateless autoconfigurationGerald Combs1-0/+42
address, add the corresponding MAC address to the tree. svn path=/trunk/; revision=33870
2010-07-18Use correct length for the IPv6 item.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=33565
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32411
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-02-03Changed "reassembled_length" -> "reassembled.length".Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31776
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-0/+7
reassembly. svn path=/trunk/; revision=31767
2009-12-10From Clif Bratcher:Jaap Keuter1-0/+6
Add a tap hook to the IPv6 dissector. svn path=/trunk/; revision=31230
2009-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis1-1/+1
svn path=/trunk/; revision=30995
2009-11-13From Ivan Sy:Jaap Keuter1-3/+87
Patch for IPv6 dissector to support the ff: - RFC 2460 sec 3, particularly Traffic Class field's 6-bit DSCP and 2-bit ECN - RFC 2474 sec 3, copied implementation of ip.c to determine DSCP codepoints - RFC 3168 sec 5, for ECN's ECT and CE bits - changed the comment svn path=/trunk/; revision=30957
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-2/+1
* Remove check_col guards svn path=/trunk/; revision=30127
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=29446
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
2009-08-08From Ivan Sy:Jaap Keuter1-0/+3
Fixed IPv6 malformed packet when ip6_nxt (Next Header) is equal to "59". as per section 4.7 RFC 2460. svn path=/trunk/; revision=29334
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-39/+38
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-19Update IP protocol numbers according to current IANA registery.Jaap Keuter1-0/+2
svn path=/trunk/; revision=28408
2009-05-08FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...Bill Meier1-14/+4
Also: Use global tfs_yes_no TFS structure in two cases (packet-ipv6.c) svn path=/trunk/; revision=28311
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-11-07Clean up indentation (just use two spaces in the big case statement forGuy Harris1-88/+94
extension headers, just as is used elsewhere). Add some blank lines to make that case statement a bit easier to read. Fix typo. svn path=/trunk/; revision=26724
2008-11-07Oops, barked at the wrong tree ;-)Sake Blok1-1/+1
svn path=/trunk/; revision=26723
2008-11-07Skip to next extension header when there is an unknown header extensionSake Blok1-0/+46
svn path=/trunk/; revision=26722
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=26647
2008-07-31From Erik Bray:Anders Broman1-50/+42
Incorrect dissasembly of IPv6 packets with extension headers after the fragment header svn path=/trunk/; revision=25882
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. Guy Harris1-2/+3
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not ready to enable that warning by default yet. Throw in some casts to handle GLib routines that take arbitrary non-const pointers (they can later return the pointers, and some callers might want to modify or free up those pointers in cases where they're known to be writable or allocated). Use ep_tvb_memdup() rather than a combination of ep_alloc() and tvb_memcpy(). Clean up some indentation. svn path=/trunk/; revision=25601
2008-05-15Fix some of the Errors/warnings detected by checkapi.Bill Meier1-1/+2
svn path=/trunk/; revision=25305
2007-11-23Fix bug 2007 (a loop in IPv6).Gerald Combs1-107/+116
svn path=/trunk/; revision=23555
2007-11-18fix bug 1459: make the filter string "ip.version == 6" possible, by adding a ↵Ulf Lamping1-2/+15
"pseudo" field svn path=/trunk/; revision=23483
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-2/+2
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-07-17Fix for bug 1616:Jaap Keuter1-0/+3
ICMPv6 & UDP w/IPv6 checksum with a routing header fixed using the routing header address now. svn path=/trunk/; revision=22331
2007-05-08Fix for bug 1103:Jaap Keuter1-11/+13
1. in dissect_routing6() if (rt.ip6r_type == 2) set pinfo->dst to the Home Address. 2. dissect_mipv6_hoa() set the pinfo->src to the Home Address. svn path=/trunk/; revision=21732
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesSebastien Tandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC svn path=/trunk/; revision=21431
2007-04-12From Matthijs Mekking : Sebastien Tandel1-12/+836
New dissector support, SHIM6 checked in with the following modifications : - use of proto_tree_add_item whenever possible (addition of several hf_items), - use distinct subtree idx for each subtree, - addition of some subtrees, - split shim_opts in several functions, - accurate incrementation of offset in locator preferences (in case of option length > 3) - add true_false_string for critical options and protocol differentiation (hip, shim6) - add ipv6.shim6.checkksum_good, ipv6.shim6.checkksum_bad, cksum expert info section added to AUTHORS svn path=/trunk/; revision=21390
2007-04-03minor changes in constants namesSebastien Tandel1-8/+8
svn path=/trunk/; revision=21322
2007-03-30- use of proto_tree_add_item whenever possibleSebastien Tandel1-146/+237
- follows the same rules as the one in ipv4 dissector for ipv6_[src|dst|addr][_host] items. - use proto_tree_add_item for displaying the name of the parsed options. - added header type value_string - add an expert info for invalid jumbo value and invalid router alert length. - correction of invalid jumbo payload length - get rid of variable declaration after statement svn path=/trunk/; revision=21283
2006-08-03Fix bug 1027: pinfo.iplen should contain option length as wellJaap Keuter1-1/+1
svn path=/trunk/; revision=18830
2006-06-25Fix Ethereal bug 1004. Make UDP dissector work on top of IPv6 by filling in ↵Jaap Keuter1-3/+6
pinfo fields correctly. svn path=/trunk/; revision=18574