X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=options.h;h=07d57a4bc835c9686686ea0340ec4e094a980fdb;hp=33c5d1449c2346ac97dc08cd7a9b2e70cb32e892;hb=c114b1e380849d8377bc122687eee02831c59aeb;hpb=3a3d85b3c787271e4860ca590d716cf557c1fb7e diff --git a/options.h b/options.h index 33c5d14..07d57a4 100644 --- a/options.h +++ b/options.h @@ -267,7 +267,7 @@ struct fw3_defaults struct fw3_limit syn_flood_rate; bool tcp_syncookies; - bool tcp_ecn; + int tcp_ecn; bool tcp_window_scaling; bool accept_redirects; @@ -381,6 +381,7 @@ struct fw3_redirect struct fw3_address ip_redir; struct fw3_port port_redir; + struct fw3_limit limit; struct fw3_time time; struct fw3_mark mark; @@ -388,6 +389,7 @@ struct fw3_redirect const char *extra; + bool local; bool reflection; enum fw3_reflection_source reflection_src; }; @@ -512,7 +514,7 @@ bool fw3_parse_monthdays(void *ptr, const char *val, bool is_list); bool fw3_parse_mark(void *ptr, const char *val, bool is_list); bool fw3_parse_setmatch(void *ptr, const char *val, bool is_list); -void fw3_parse_options(void *s, const struct fw3_option *opts, +bool fw3_parse_options(void *s, const struct fw3_option *opts, struct uci_section *section); const char * fw3_address_to_string(struct fw3_address *address,