X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=options.h;h=07d57a4bc835c9686686ea0340ec4e094a980fdb;hp=558013bd90ea2b9000f04f99f2b0da095278dff5;hb=c114b1e380849d8377bc122687eee02831c59aeb;hpb=d4980027ea0ff55b01004cc19bed176cbb9e768e diff --git a/options.h b/options.h index 558013b..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; @@ -389,6 +389,7 @@ struct fw3_redirect const char *extra; + bool local; bool reflection; enum fw3_reflection_source reflection_src; }; @@ -513,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,