summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_var.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-02-14 18:15:53 +0000
committerwollman <wollman@FreeBSD.org>1997-02-14 18:15:53 +0000
commit731964886006c63acb149497e458d29a68368332 (patch)
tree41d6953fc4c7a2929081f52e766fbc604285351b /sys/netinet/udp_var.h
parent936314fb4096f9ce1eb390ac682800ecdb6cdc5a (diff)
downloadFreeBSD-src-731964886006c63acb149497e458d29a68368332.zip
FreeBSD-src-731964886006c63acb149497e458d29a68368332.tar.gz
Fix the mechanism for choosing wehether to save the slow-start threshold
in the route. This allows us to remove the unconditional setting of the pipesize in the route, which should mean that SO_SNDBUF and SO_RCVBUF should actually work again. While we're at it: - Convert udp_usrreq from `mondo switch statement from Hell' to new-style. - Delete old TCP mondo switch statement from Hell, which had previously been diked out.
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r--sys/netinet/udp_var.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h
index 4c5bc10..4076094 100644
--- a/sys/netinet/udp_var.h
+++ b/sys/netinet/udp_var.h
@@ -92,12 +92,11 @@ struct udpstat {
extern struct inpcbhead udb;
extern struct inpcbinfo udbinfo;
extern struct udpstat udpstat;
+extern struct pr_usrreqs udp_usrreqs;
void udp_ctlinput __P((int, struct sockaddr *, void *));
void udp_init __P((void));
void udp_input __P((struct mbuf *, int));
-int udp_usrreq __P((struct socket *,
- int, struct mbuf *, struct mbuf *, struct mbuf *));
#endif
#endif
OpenPOWER on IntegriCloud