summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-24 19:48:33 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-24 19:48:33 +0000
commit1253b7d2d25cd9bfbba59b451260cf9e1ce478dd (patch)
tree8ce714306f7f49a5396e765f7c396bf2be33e64d /sys/netinet
parentec8b8e37b2177d2b6911ecc80da5c5211d200380 (diff)
Remove {tcp/udp}6_usrreq(); Since the normal ones now
take a proc argument, theres no need for these, since they are just wrappers. OK claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_usrreq.c15
-rw-r--r--sys/netinet/tcp_var.h6
-rw-r--r--sys/netinet/udp_usrreq.c16
-rw-r--r--sys/netinet/udp_var.h4
4 files changed, 4 insertions, 37 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index c0918876e48..00997e16a02 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.98 2008/05/23 15:51:12 thib Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.99 2008/05/24 19:48:32 thib Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -125,19 +125,6 @@ struct inpcbtable tcbtable;
int tcp_ident(void *, size_t *, void *, size_t, int);
-#ifdef INET6
-int
-tcp6_usrreq(so, req, m, nam, control, p)
- struct socket *so;
- int req;
- struct mbuf *m, *nam, *control;
- struct proc *p;
-{
-
- return tcp_usrreq(so, req, m, nam, control, p);
-}
-#endif
-
/*
* Process a TCP user request for TCP tb. If this is a send request
* then m is the mbuf chain of send data. If this is a timer expiration
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index c707e1499bd..d197b088401 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.88 2008/05/23 15:51:12 thib Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.89 2008/05/24 19:48:32 thib Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -595,10 +595,6 @@ void tcp_trace(short, short, struct tcpcb *, caddr_t, int, int);
struct tcpcb *
tcp_usrclosed(struct tcpcb *);
int tcp_sysctl(int *, u_int, void *, size_t *, void *, size_t);
-#if defined(INET6) && !defined(TCP6)
-int tcp6_usrreq(struct socket *,
- int, struct mbuf *, struct mbuf *, struct mbuf *, struct proc *);
-#endif
int tcp_usrreq(struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *, struct proc *);
void tcp_xmit_timer(struct tcpcb *, int);
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 088d9d50e3f..1d1838878c2 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.120 2008/05/23 15:51:12 thib Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.121 2008/05/24 19:48:32 thib Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -1001,20 +1001,6 @@ release:
return (error);
}
-#ifdef INET6
-/*ARGSUSED*/
-int
-udp6_usrreq(so, req, m, addr, control, p)
- struct socket *so;
- int req;
- struct mbuf *m, *addr, *control;
- struct proc *p;
-{
-
- return udp_usrreq(so, req, m, addr, control, p);
-}
-#endif
-
/*ARGSUSED*/
int
udp_usrreq(so, req, m, addr, control, p)
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h
index eaba606ca7f..5241be127db 100644
--- a/sys/netinet/udp_var.h
+++ b/sys/netinet/udp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_var.h,v 1.18 2008/05/23 15:51:12 thib Exp $ */
+/* $OpenBSD: udp_var.h,v 1.19 2008/05/24 19:48:32 thib Exp $ */
/* $NetBSD: udp_var.h,v 1.12 1996/02/13 23:44:41 christos Exp $ */
/*
@@ -105,8 +105,6 @@ extern struct udpstat udpstat;
#if defined(INET6) && !defined(TCP6)
void udp6_ctlinput(int, struct sockaddr *, void *);
int udp6_input(struct mbuf **, int *, int);
-int udp6_usrreq(struct socket *,
- int, struct mbuf *, struct mbuf *, struct mbuf *, struct proc *);
#endif /* INET6 && !TCP6 */
void *udp_ctlinput(int, struct sockaddr *, void *);
void udp_init(void);