patch-2.1.28 linux/include/net/udp.h
Next file: linux/kernel/sched.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Mar 3 09:37:44 1997
- Orig file:
v2.1.27/linux/include/net/udp.h
- Orig date:
Thu Dec 12 06:54:21 1996
diff -u --recursive --new-file v2.1.27/linux/include/net/udp.h linux/include/net/udp.h
@@ -24,6 +24,15 @@
#include <linux/udp.h>
+#define UDP_HTABLE_SIZE 128
+
+/* udp.c: This needs to be shared by v4 and v6 because the lookup
+ * and hashing code needs to work with different AF's yet
+ * the port space is shared.
+ */
+extern struct sock *udp_hash[UDP_HTABLE_SIZE];
+
+extern unsigned short udp_good_socknum(void);
#define UDP_NO_CHECK 0
@@ -39,7 +48,6 @@
extern int udp_rcv(struct sk_buff *skb, unsigned short len);
extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
-extern void udp_cache_zap(void); /* Remove udp last socket cache */
/* CONFIG_IP_TRANSPARENT_PROXY */
extern int udp_chkaddr(struct sk_buff *skb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov