ICMPv6: Add option to send Router Advertisement Messages.

This commit is contained in:
Gregory Nutt
2015-02-05 09:28:00 -06:00
parent 6f3f43d930
commit da1d1d7139
3 changed files with 105 additions and 0 deletions
+5
View File
@@ -112,6 +112,11 @@ const net_ipv6addr_t g_ipv6_allrouters = /* All link local routers */
HTONS(0x0002)
};
/* Link-Local Address: Link-local addresses have "1111 1110 10" for the
* first ten bits followed by 54 zeroes and then the 64 bit interface
* identifier (typically derived from the data link layer address).
*/
const net_ipv6addr_t g_ipv6_llnetmask = /* Netmask for local link address */
{
0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000