]> git.baikalelectronics.ru Git - kernel.git/commit
net: Identifier Locator Addressing module
authorTom Herbert <tom@herbertland.com>
Mon, 17 Aug 2015 20:42:27 +0000 (13:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:33:06 +0000 (21:33 -0700)
commitdf96e99b0e6861a207cfc1c1bfc2d2b69206bd1a
treee10beeab2d0b925502ef3d2d3fea169ace63b636
parentcb9cd9d89fc86a02e9929ccca4f4b5c9cae5ab6c
net: Identifier Locator Addressing module

Adding new module name ila. This implements ILA translation. Light
weight tunnel redirection is used to perform the translation in
the data path. This is configured by the "ip -6 route" command
using the "encap ila <locator>" option, where <locator> is the
value to set in destination locator of the packet. e.g.

ip -6 route add 3333:0:0:1:5555:0:1:0/128 \
      encap ila 2001:0:0:1 via 2401:db00:20:911a:face:0:25:0

Sets a route where 3333:0:0:1 will be overwritten by
2001:0:0:1 on output.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ila.h [new file with mode: 0644]
include/uapi/linux/lwtunnel.h
net/ipv6/Kconfig
net/ipv6/Makefile
net/ipv6/ila.c [new file with mode: 0644]