mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
19 lines
385 B
Diff
19 lines
385 B
Diff
|
--- /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));
|
||
|
+}
|