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

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

diff -u --recursive --new-file v2.3.14/linux/include/net/raw.h linux/include/net/raw.h
@@ -30,9 +30,13 @@
 #define RAWV4_HTABLE_SIZE	MAX_INET_PROTOS
 extern struct sock *raw_v4_htable[RAWV4_HTABLE_SIZE];
 
+extern rwlock_t raw_v4_lock;
 
-extern struct sock *raw_v4_lookup(struct sock *sk, unsigned short num,
-				  unsigned long raddr, unsigned long laddr,
-				  int dif);
+
+extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num,
+				    unsigned long raddr, unsigned long laddr,
+				    int dif);
+
+extern struct sock *raw_v4_input(struct sk_buff *skb, struct iphdr *iph, int hash);
 
 #endif	/* _RAW_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)