ubus: store rule origin as comment
[project/firewall3.git] / iptables.h
index 3c52942..872ee33 100644 (file)
@@ -46,6 +46,7 @@
        __ipt_module(icmp)                      \
        __ipt_module(icmp6)                     \
        __ipt_module(limit)                     \
+       __ipt_module(connlimit)                 \
        __ipt_module(mac)                       \
        __ipt_module(mark)                      \
        __ipt_module(set)                       \
@@ -58,7 +59,6 @@
        __ipt_module(LOG)                       \
        __ipt_module(MARK)                      \
        __ipt_module(MASQUERADE)        \
-       __ipt_module(NOTRACK)           \
        __ipt_module(REDIRECT)          \
        __ipt_module(REJECT)            \
        __ipt_module(SET)                       \
@@ -143,6 +143,8 @@ void fw3_ipt_rule_src_dest(struct fw3_ipt_rule *r,
 void fw3_ipt_rule_sport_dport(struct fw3_ipt_rule *r,
                               struct fw3_port *sp, struct fw3_port *dp);
 
+void fw3_ipt_rule_device(struct fw3_ipt_rule *r, const char *device, bool out);
+
 void fw3_ipt_rule_mac(struct fw3_ipt_rule *r, struct fw3_mac *mac);
 
 void fw3_ipt_rule_icmptype(struct fw3_ipt_rule *r, struct fw3_icmptype *icmp);