aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmpv6.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-07-31 17:16:52 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-07-31 17:16:52 +0000
commite761d193c9f43cff724531333092db3c78f81224 (patch)
tree04f2674594a0c1f33c3468713358313bb94f3016 /epan/dissectors/packet-icmpv6.c
parent57110f6e6158e70c980f32905f41718ba54e5886 (diff)
Update ICMPv6 to last IANA Parameters (2012-07-18)
Add draft-irtf-rrg-ilnp-icmpv6-06: ICMP Locator Update message for ILNPv6 ID (Conflit with draft-ietf-6lowpan-nd-18...) svn path=/trunk/; revision=44160
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r--epan/dissectors/packet-icmpv6.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index 2048cf5e52..b6604e9f43 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -84,8 +84,9 @@
* RFC 6496: Secure Proxy ND Support for SEND
* RFC 6550: RPL: IPv6 Routing Protocol for Low power and Lossy Networks
* RFC 6554: An IPv6 Routing Header for Source Routes with RPL
+ * draft-irtf-rrg-ilnp-icmpv6-06: ICMP Locator Update message for ILNPv6
* draft-ietf-6lowpan-nd-18: Neighbor Discovery Optimization for Low Power and Lossy Networks (6LoWPAN)
- * http://www.iana.org/assignments/icmpv6-parameters (last updated 2012-03-28)
+ * http://www.iana.org/assignments/icmpv6-parameters (last updated 2012-07-18)
*/
static int proto_icmpv6 = -1;
@@ -537,7 +538,8 @@ static dissector_handle_t data_handle;
#define ICMP6_MCAST_ROUTER_TERM 153
#define ICMP6_FMIPV6_MESSAGES 154
#define ICMP6_RPL_CONTROL 155
-#define ICMP6_6LOWPANND_DAR 156 /* Pending IANA assignment */
+#define ICMP6_ILNPV6 156 /* Pending IANA assignment */
+#define ICMP6_6LOWPANND_DAR 158 /* Pending IANA assignment */
#define ICMP6_6LOWPANND_DAC 157 /* Pending IANA assignment */
@@ -577,6 +579,7 @@ static const value_string icmpv6_type_val[] = {
{ ICMP6_MCAST_ROUTER_TERM, "Multicast Router Termination" }, /* [RFC4286] */
{ ICMP6_FMIPV6_MESSAGES, "FMIPv6" }, /* [RFC5568] */
{ ICMP6_RPL_CONTROL, "RPL Control" }, /* [RFC6550] */
+ { ICMP6_ILNPV6, "Locator Update"}, /* draft-irtf-rrg-ilnp-icmpv6-06.txt Pending IANA */
{ ICMP6_6LOWPANND_DAR, "Duplicate Address Request"}, /* draft-ietf-6lowpan-nd-18.txt Pending IANA */
{ ICMP6_6LOWPANND_DAC, "Duplicate Address Confirmation"}, /* draft-ietf-6lowpan-nd-18.txt Pending IANA */
{ 200, "Private experimentation" }, /* [RFC4443] */
@@ -3692,7 +3695,11 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset = dissect_rpl_control(tvb, offset, pinfo, icmp6_tree, icmp6_type, icmp6_code);
break;
}
-
+ case ICMP6_ILNPV6: /* Locator Update (156 Pending IANA) */
+ {
+ /*TODO Add support of Locator Update : draft-irtf-rrg-ilnp-icmpv6-06 */
+ break;
+ }
case ICMP6_6LOWPANND_DAR:
case ICMP6_6LOWPANND_DAC:
{