From ddde05db837207181b71a9bd4585186bb2e65f56 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 8 Sep 2017 15:04:51 -0600 Subject: [PATCH] 6LoWPAN: I believe, based on RFC review, that with the last multicast change, the NuttX 6LoWPAN is now compliant with RFC 6282. --- net/sixlowpan/sixlowpan_hc06.c | 14 +++++++++++--- net/sixlowpan/sixlowpan_input.c | 2 +- net/sixlowpan/sixlowpan_internal.h | 11 +++++++++-- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/net/sixlowpan/sixlowpan_hc06.c b/net/sixlowpan/sixlowpan_hc06.c index a50eeebe6bf..69a37d7f3c0 100644 --- a/net/sixlowpan/sixlowpan_hc06.c +++ b/net/sixlowpan/sixlowpan_hc06.c @@ -1,6 +1,7 @@ /**************************************************************************** * net/sixlowpan/sixlowpan_hc06.c - * 6lowpan HC06 implementation (draft-ietf-6lowpan-hc-06) + * 6lowpan HC06 implementation (draft-ietf-6lowpan-hc-06, updated to RFC + * 6282) * * Copyright (C) 2017, Gregory Nutt, all rights reserved * Author: Gregory Nutt @@ -611,8 +612,15 @@ void sixlowpan_hc06_initialize(void) * This function is called by the 6lowpan code to create a compressed * 6lowpan packet in the frame buffer from a full IPv6 packet. * - * HC-06 (draft-ietf-6lowpan-hc, version 6) - * http://tools.ietf.org/html/draft-ietf-6lowpan-hc-06 + * HC-06: + * + * Originally draft-ietf-6lowpan-hc, version 6: + * http://tools.ietf.org/html/draft-ietf-6lowpan-hc-06, + * + * Updated to: + * + * RFC 6282: + * https://tools.ietf.org/html/rfc6282 * * NOTE: sixlowpan_compresshdr_hc06() does not support ISA100_UDP header * compression diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c index 3af9ea86e7b..2b9da05d59d 100644 --- a/net/sixlowpan/sixlowpan_input.c +++ b/net/sixlowpan/sixlowpan_input.c @@ -1,6 +1,6 @@ /**************************************************************************** * net/sixlowpan/sixlowpan_input.c - * 6LoWPAN implementation (RFC4944 and draft-ietf-6LoWPAN-hc-06) + * 6LoWPAN implementation (RFC 4944 and RFC 6282) * * Copyright (C) 2017, Gregory Nutt, all rights reserved * Author: Gregory Nutt diff --git a/net/sixlowpan/sixlowpan_internal.h b/net/sixlowpan/sixlowpan_internal.h index ce207be14d7..c4fccf84d3f 100644 --- a/net/sixlowpan/sixlowpan_internal.h +++ b/net/sixlowpan/sixlowpan_internal.h @@ -424,8 +424,15 @@ void sixlowpan_hc06_initialize(void); * 6lowpan packet in the packetbuf buffer from a full IPv6 packet in the * uip_buf buffer. * - * HC-06 (draft-ietf-6lowpan-hc, version 6) - * http://tools.ietf.org/html/draft-ietf-6lowpan-hc-06 + * HC-06: + * + * Originally draft-ietf-6lowpan-hc, version 6: + * http://tools.ietf.org/html/draft-ietf-6lowpan-hc-06, + * + * Updated to: + * + * RFC 6282: + * https://tools.ietf.org/html/rfc6282 * * NOTE: sixlowpan_compresshdr_hc06() does not support ISA100_UDP header * compression