bool custom_chains;
bool auto_helper;
+ bool flow_offloading;
+ bool flow_offloading_hw;
bool disable_ipv6;
struct list_head cthelpers;
- bool log;
+ int log;
struct fw3_limit log_limit;
bool custom_chains;
const char *external;
+ struct list_head entries;
+ const char *loadfile;
+
uint32_t flags[2];
};
const char *module;
const char *description;
enum fw3_family family;
- struct fw3_protocol proto;
+ struct list_head proto;
struct fw3_port port;
};
+struct fw3_setentry
+{
+ struct list_head list;
+ const char *value;
+};
+
struct fw3_state
{
struct uci_context *uci;
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);