X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=options.h;h=202cd06f5636a73b8480b72b83d73d61cc60cce3;hp=10546585845f7620aa29cf2348c7850a4cc15f57;hb=61cc1d220c95168faf24bececc752a5af7ce6431;hpb=9d72f0ecb589960bfe21751fbef470116c041a3d diff --git a/options.h b/options.h index 1054658..202cd06 100644 --- a/options.h +++ b/options.h @@ -70,17 +70,20 @@ enum fw3_target FW3_TARGET_NOTRACK = 9, FW3_TARGET_DNAT = 10, FW3_TARGET_SNAT = 11, - FW3_TARGET_CUSTOM_CNS_V4 = 12, - FW3_TARGET_CUSTOM_CNS_V6 = 13, + FW3_TARGET_SRC_ACCEPT = 12, + FW3_TARGET_SRC_REJECT = 13, + FW3_TARGET_SRC_DROP = 14, + FW3_TARGET_CUSTOM_CNS_V4 = 15, + FW3_TARGET_CUSTOM_CNS_V6 = 16, }; enum fw3_default { FW3_DEFAULT_UNSPEC = 0, - FW3_DEFAULT_CUSTOM_CHAINS = 14, - FW3_DEFAULT_SYN_FLOOD = 15, - FW3_DEFAULT_MTU_FIX = 16, - FW3_DEFAULT_DROP_INVALID = 17, + FW3_DEFAULT_CUSTOM_CHAINS = 17, + FW3_DEFAULT_SYN_FLOOD = 18, + FW3_DEFAULT_MTU_FIX = 19, + FW3_DEFAULT_DROP_INVALID = 20, }; extern const char *fw3_flag_names[FW3_DEFAULT_DROP_INVALID + 1]; @@ -240,6 +243,7 @@ struct fw3_defaults bool disable_ipv6; uint32_t flags; + uint32_t running_flags; }; struct fw3_zone @@ -398,6 +402,7 @@ struct fw3_ipset const char *external; uint32_t flags; + uint32_t running_flags; }; struct fw3_include @@ -424,7 +429,6 @@ struct fw3_state struct list_head ipsets; struct list_head includes; - struct fw3_defaults running_defaults; struct list_head running_zones; struct list_head running_ipsets;