diff options
author | Steven Barth <steven@midlink.org> | 2014-04-13 18:41:06 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-04-14 08:50:21 +0200 |
commit | 2f392a3b91c25c94abfc9a7862d908c923f7bf2b (patch) | |
tree | f13c752edad444580a25c3991eba2071c1608072 /iptables.h | |
parent | 1097a30f1d08c54e9483fb47fd4f25033e86d90d (diff) | |
download | firewall3-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |