summaryrefslogtreecommitdiff
path: root/package/network/utils/iptables/patches/800-flowoffload_target.patch
blob: c6fe65cd3e0475806816044f6af455c88f35d06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- /dev/null
+++ b/extensions/libxt_FLOWOFFLOAD.c
@@ -0,0 +1,15 @@
+#include <xtables.h>
+
+static struct xtables_target offload_tg_reg[] = {
+	{
+		.family        = NFPROTO_UNSPEC,
+		.name          = "FLOWOFFLOAD",
+		.revision      = 0,
+		.version       = XTABLES_VERSION,
+	},
+};
+
+void _init(void)
+{
+	xtables_register_targets(offload_tg_reg, ARRAY_SIZE(offload_tg_reg));
+}