6lowpan: IPv6 link local address
commit06a4c1c55dbe5d9f7a708e8f1a52fd2ac8e5874f
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Thu, 10 May 2012 03:25:52 +0000 (10 03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 03:38:22 +0000 (10 23:38 -0400)
treee118ac25a92ffae751709da562b59ea02e242184
parent76e3cc126bb223013a6b9a0e2a51238d1ef2e409
6lowpan: IPv6 link local address

According to the RFC4944 (Transmission of IPv6 Packets over
IEEE 802.15.4 Networks), chapter 7:

The IPv6 link-local address [RFC4291] for an IEEE 802.15.4 interface
is formed by appending the Interface Identifier, as defined above, to
the prefix FE80::/64.

  10 bits            54 bits                  64 bits
+----------+-----------------------+----------------------------+
|1111111010|         (zeros)       |    Interface Identifier    |
+----------+-----------------------+----------------------------+

This patch adds IPv6 address generation support for the 6lowpan
interfaces.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c