patch-2.1.28 linux/include/net/raw.h
Next file: linux/include/net/rawv6.h
Previous file: linux/include/net/inet_common.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Mar 3 09:37:44 1997
- Orig file:
v2.1.27/linux/include/net/raw.h
- Orig date:
Thu Dec 12 06:54:21 1996
diff -u --recursive --new-file v2.1.27/linux/include/net/raw.h linux/include/net/raw.h
@@ -21,7 +21,17 @@
extern struct proto raw_prot;
-extern int raw_err(struct sock *, struct sk_buff *);
+extern void raw_err(struct sock *, struct sk_buff *);
extern int raw_rcv(struct sock *, struct sk_buff *);
+
+/* 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