X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=options.h;h=15cd504faef277c120a040f050912653868c7de1;hb=35b3e74a184b709b8ddfaaa094919a656a6ec059;hp=84bafed59d374a7722adfd7e8d46b6a35f039f75;hpb=f50a524847a0ac74ef8cc74011d3cc46e9269c6b;p=project%2Ffirewall3.git diff --git a/options.h b/options.h index 84bafed..15cd504 100644 --- a/options.h +++ b/options.h @@ -289,6 +289,8 @@ struct fw3_defaults bool custom_chains; bool auto_helper; + bool flow_offloading; + bool flow_offloading_hw; bool disable_ipv6; @@ -324,7 +326,7 @@ struct fw3_zone struct list_head cthelpers; - bool log; + int log; struct fw3_limit log_limit; bool custom_chains; @@ -495,6 +497,9 @@ struct fw3_ipset const char *external; + struct list_head entries; + const char *loadfile; + uint32_t flags[2]; }; @@ -525,6 +530,12 @@ struct fw3_cthelper struct fw3_port port; }; +struct fw3_setentry +{ + struct list_head list; + const char *value; +}; + struct fw3_state { struct uci_context *uci; @@ -593,6 +604,7 @@ bool fw3_parse_mark(void *ptr, const char *val, bool is_list); bool fw3_parse_setmatch(void *ptr, const char *val, bool is_list); bool fw3_parse_direction(void *ptr, const char *val, bool is_list); bool fw3_parse_cthelper(void *ptr, const char *val, bool is_list); +bool fw3_parse_setentry(void *ptr, const char *val, bool is_list); bool fw3_parse_options(void *s, const struct fw3_option *opts, struct uci_section *section);