patch-2.0.30 linux/include/net/raw.h

Next file: linux/include/net/sock.h
Previous file: linux/include/net/ip_masq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.29/linux/include/net/raw.h linux/include/net/raw.h
@@ -31,4 +31,14 @@
 extern int 	raw_rcv(struct sock *, struct sk_buff *, struct device *, 
 			__u32, __u32);
 
+/* Note: v4 ICMP wants to get at this stuff, if you change the
+ *       hashing mechanism, make sure you update icmp.c as well.
+ */
+#define RAWV4_HTABLE_SIZE	MAX_INET_PROTOS
+extern struct sock *raw_v4_htable[RAWV4_HTABLE_SIZE];
+
+
+extern struct sock *raw_v4_lookup(struct sock *sk, unsigned short num,
+				  unsigned long raddr, unsigned long laddr);
+
 #endif	/* _RAW_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov