ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / net / ipv4 / netfilter / ip_fw_compat.h
1 #ifndef _LINUX_IP_FW_COMPAT_H
2 #define _LINUX_IP_FW_COMPAT_H
3
4 /* From ip_fw_compat_redir.c */
5 extern unsigned int
6 do_redirect(struct sk_buff *skb,
7             const struct net_device *dev,
8             u_int16_t redirpt);
9
10 extern void
11 check_for_redirect(struct sk_buff *skb);
12
13 extern void
14 check_for_unredirect(struct sk_buff *skb);
15
16 /* From ip_fw_compat_masq.c */
17 extern unsigned int
18 do_masquerade(struct sk_buff **pskb, const struct net_device *dev);
19
20 extern void check_for_masq_error(struct sk_buff **pskb);
21
22 extern unsigned int
23 check_for_demasq(struct sk_buff **pskb);
24
25 extern int __init masq_init(void);
26 extern void masq_cleanup(void);
27
28 #endif /* _LINUX_IP_FW_COMPAT_H */