summaryrefslogtreecommitdiffstats
path: root/include/net/ila.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-12-16 00:41:38 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-16 05:25:20 +0100
commit7f00feaf107645d95a6d87e99b4d141ac0a08efd (patch)
tree207ff2184419083aa1a70fc37ba8a5ce54135ae9 /include/net/ila.h
parentnetlink: add a start callback for starting a netlink dump (diff)
downloadlinux-7f00feaf107645d95a6d87e99b4d141ac0a08efd.tar.xz
linux-7f00feaf107645d95a6d87e99b4d141ac0a08efd.zip
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>
Diffstat (limited to 'include/net/ila.h')
-rw-r--r--include/net/ila.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/net/ila.h b/include/net/ila.h
new file mode 100644
index 000000000000..9f4f43e94ae4
--- /dev/null
+++ b/include/net/ila.h
@@ -0,0 +1,18 @@
+/*
+ * ILA kernel interface
+ *
+ * Copyright (c) 2015 Tom Herbert <tom@herbertland.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ */
+
+#ifndef _NET_ILA_H
+#define _NET_ILA_H
+
+int ila_xlat_outgoing(struct sk_buff *skb);
+int ila_xlat_incoming(struct sk_buff *skb);
+
+#endif /* _NET_ILA_H */