]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: IPv6 link local address
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Thu, 10 May 2012 03:25:52 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 03:38:22 +0000 (23:38 -0400)
commit1d4e1a73fb3b01d0d3b5af6ae36a344c22d7c7ca
treee118ac25a92ffae751709da562b59ea02e242184
parent18702793428e3f922f5d288dcca8399a5c290ca4
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