Re: [PATCH net-next v4 4/4] ila: Add generic ILA translation facility

2015-12-18 Thread David Miller
From: Florian Westphal Date: Fri, 11 Dec 2015 12:19:04 +0100 > So if we do ILA in init ns it & pass such skbs to other netns > it would be preferable to use nf_register_net_hooks in a namespace > once the first ila translation is added within that namespace. Right, the idea is that we want to do

Re: [PATCH net-next v4 4/4] ila: Add generic ILA translation facility

2015-12-11 Thread Florian Westphal
Tom Herbert wrote: > +static struct nf_hook_ops ila_nf_hook_ops[] __read_mostly = { > + { > + .hook = ila_nf_input, > + .pf = NFPROTO_IPV6, > + .hooknum = NF_INET_PRE_ROUTING, > + .priority = -1, [..] > +int ila_xlat_init(void) [..] > + for

[PATCH net-next v4 4/4] ila: Add generic ILA translation facility

2015-12-10 Thread Tom Herbert
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 rhasht