summaryrefslogtreecommitdiff
path: root/iptables.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-04-13 18:41:06 +0200
committerSteven Barth <steven@midlink.org>2014-04-14 08:50:21 +0200
commit2f392a3b91c25c94abfc9a7862d908c923f7bf2b (patch)
treef13c752edad444580a25c3991eba2071c1608072 /iptables.h
parent1097a30f1d08c54e9483fb47fd4f25033e86d90d (diff)
downloadfirewall3-2f392a3b91c25c94abfc9a7862d908c923f7bf2b.tar.gz
Add support for device and direction parameters
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'iptables.h')
-rw-r--r--iptables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables.h b/iptables.h
index d0b42d8..872ee33 100644
--- a/iptables.h
+++ b/iptables.h
@@ -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);