patch-pre2.0.5 linux/include/net/ip_masq.h
Next file: linux/include/net/netlink.h
Previous file: linux/include/linux/tty.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri May 17 15:10:53 1996
- Orig file:
pre2.0.4/linux/include/net/ip_masq.h
- Orig date:
Tue Apr 23 13:57:14 1996
diff -u --recursive --new-file pre2.0.4/linux/include/net/ip_masq.h linux/include/net/ip_masq.h
@@ -84,7 +84,7 @@
/*
* functions called from ip layer
*/
-extern void ip_fw_masquerade(struct sk_buff **, struct device *);
+extern int ip_fw_masquerade(struct sk_buff **, struct device *);
extern int ip_fw_demasquerade(struct sk_buff **, struct device *);
/*
@@ -149,6 +149,7 @@
* service routine(s).
*/
extern struct ip_masq * ip_masq_out_get_2(int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port);
+extern struct ip_masq * ip_masq_in_get_2(int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port);
/*
* /proc/net entry
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this