Merge pull request #1789 from tidyjiang8/tidy.0718

Update comments: RFC3513 is obsoleted by RFC4921
This commit is contained in:
George Oikonomou 2016-07-24 15:18:56 +01:00 committed by GitHub
commit 9d3e4bc591
3 changed files with 6 additions and 6 deletions

4
core/net/ip/uip-debug.c Normal file → Executable file
View file

@ -56,7 +56,7 @@ uip_debug_ipaddr_print(const uip_ipaddr_t *addr)
#if NETSTACK_CONF_WITH_IPV6
if(ip64_addr_is_ipv4_mapped_addr(addr)) {
/*
* Printing IPv4-mapped addresses is done according to RFC 3513 [1]
* Printing IPv4-mapped addresses is done according to RFC 4291 [1]
*
* "An alternative form that is sometimes more
* convenient when dealing with a mixed environment
@ -67,7 +67,7 @@ uip_debug_ipaddr_print(const uip_ipaddr_t *addr)
* low-order 8-bit pieces of the address (standard
* IPv4 representation)."
*
* [1] https://tools.ietf.org/html/rfc3513#page-5
* [1] https://tools.ietf.org/html/rfc4291#page-4
*/
PRINTA("::FFFF:%u.%u.%u.%u", addr->u8[12], addr->u8[13], addr->u8[14], addr->u8[15]);
} else {

6
core/net/ip/uip.h Normal file → Executable file
View file

@ -2012,7 +2012,7 @@ CCIF extern uip_lladdr_t uip_lladdr;
(((a)->u8[15]) == 0x02))
/**
* \brief is addr (a) a link local unicast address, see RFC3513
* \brief is addr (a) a link local unicast address, see RFC 4291
* i.e. is (a) on prefix FE80::/10
* a is of type uip_ipaddr_t*
*/
@ -2036,7 +2036,7 @@ CCIF extern uip_lladdr_t uip_lladdr;
} while(0)
/**
* \brief is addr (a) a solicited node multicast address, see RFC3513
* \brief is addr (a) a solicited node multicast address, see RFC 4291
* a is of type uip_ipaddr_t*
*/
#define uip_is_addr_solicited_node(a) \
@ -2097,7 +2097,7 @@ CCIF extern uip_lladdr_t uip_lladdr;
#endif /*UIP_CONF_LL_802154*/
/**
* \brief is address a multicast address, see RFC 3513
* \brief is address a multicast address, see RFC 4291
* a is of type uip_ipaddr_t*
* */
#define uip_is_addr_mcast(a) \

2
doc/uip6-doc.txt Normal file → Executable file
View file

@ -339,7 +339,7 @@ We will soon support RFC4944 transmission of IPv6 packets over 802.15.4\n
\li Path MTU Discovery RFC 1981 (SHOULD): no support
\li Jumbograms RFC 2675 (MAY): no support
\li ICMPv6 RFC 4443 (MUST): full support
\li IPv6 addressing architecture RFC 3513 (MUST): full support
\li IPv6 addressing architecture RFC 4291 (MUST): full support
\li Privacy extensions for address autoconfiguration RFC 3041 (SHOULD): no support.
\li Default Address Selection RFC 3484 (MUST): full support.
\li MLDv1 (RFC 2710) and MLDv2 (RFC 3810) (conditional MUST applying here): no support. As we run IPv6 over Multicast or broadcast capable links (Ethernet or 802.15.4), the conditional MUST applies. We should be able to send an MLD report when joining a solicited node multicast group at address configuration time. This will be available in a later release.