Commit | Line | Data |
---|---|---|
5b1158e9 JK |
1 | #ifndef _NF_NAT_RULE_H |
2 | #define _NF_NAT_RULE_H | |
3 | #include <net/netfilter/nf_conntrack.h> | |
4 | #include <net/netfilter/nf_nat.h> | |
5 | #include <linux/netfilter_ipv4/ip_tables.h> | |
6 | ||
5b1158e9 JK |
7 | extern int nf_nat_rule_init(void) __init; |
8 | extern void nf_nat_rule_cleanup(void); | |
9 | extern int nf_nat_rule_find(struct sk_buff **pskb, | |
10 | unsigned int hooknum, | |
11 | const struct net_device *in, | |
12 | const struct net_device *out, | |
ba4c7cba | 13 | struct nf_conn *ct); |
5b1158e9 JK |
14 | |
15 | extern unsigned int | |
ba4c7cba | 16 | alloc_null_binding(struct nf_conn *ct, unsigned int hooknum); |
5b1158e9 JK |
17 | |
18 | extern unsigned int | |
ba4c7cba | 19 | alloc_null_binding_confirmed(struct nf_conn *ct, unsigned int hooknum); |
5b1158e9 | 20 | #endif /* _NF_NAT_RULE_H */ |