ila: Add generic ILA translation facility
authorTom Herbert <tom@herbertland.com>
Tue, 15 Dec 2015 23:41:38 +0000 (15:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:25:20 +0000 (23:25 -0500)
commit7f00feaf107645d95a6d87e99b4d141ac0a08efd
tree207ff2184419083aa1a70fc37ba8a5ce54135ae9
parentfc9e50f5a5a4e1fa9ba2756f745a13e693cf6a06
ila: Add generic ILA translation facility

This patch implements an ILA tanslation table. This table can be
configured with identifier to locator mappings, and can be be queried
to resolve a mapping. Queries can be parameterized based on interface,
direction (incoming or outoing), and matching locator.  The table is
implemented using rhashtable and is configured via netlink (through
"ip ila .." in iproute).

The table may be used as alternative means to do do ILA tanslations
other than the lw tunnels

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