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