patch-2.1.28 linux/include/net/rawv6.h

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

diff -u --recursive --new-file v2.1.27/linux/include/net/rawv6.h linux/include/net/rawv6.h
@@ -2,6 +2,14 @@
 #define _NET_RAWV6_H
 
 #ifdef __KERNEL__
+
+#define RAWV6_HTABLE_SIZE	MAX_INET_PROTOS
+extern struct sock *raw_v6_htable[RAWV6_HTABLE_SIZE];
+
+
+extern struct sock *raw_v6_lookup(struct sock *sk, unsigned short num,
+				  struct in6_addr *loc_addr, struct in6_addr *rmt_addr);
+
 extern int			rawv6_rcv(struct sk_buff *skb, 
 					  struct device *dev,
 					  struct in6_addr *saddr, 

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