Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _IP_NAT_RULE_H |
| 2 | #define _IP_NAT_RULE_H |
| 3 | #include <linux/netfilter_ipv4/ip_conntrack.h> |
| 4 | #include <linux/netfilter_ipv4/ip_tables.h> |
| 5 | #include <linux/netfilter_ipv4/ip_nat.h> |
| 6 | |
| 7 | #ifdef __KERNEL__ |
| 8 | |
| 9 | extern int ip_nat_rule_init(void) __init; |
| 10 | extern void ip_nat_rule_cleanup(void); |
| 11 | extern int ip_nat_rule_find(struct sk_buff **pskb, |
| 12 | unsigned int hooknum, |
| 13 | const struct net_device *in, |
| 14 | const struct net_device *out, |
| 15 | struct ip_conntrack *ct, |
| 16 | struct ip_nat_info *info); |
| 17 | |
| 18 | extern unsigned int |
| 19 | alloc_null_binding(struct ip_conntrack *conntrack, |
| 20 | struct ip_nat_info *info, |
| 21 | unsigned int hooknum); |
| 22 | #endif |
| 23 | #endif /* _IP_NAT_RULE_H */ |