summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
committerbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
commit113a24d243071d21a3c6113ce3024dbbf68fc5f6 (patch)
tree94e1ead13196636285fcd186a736f2f784654100 /sys/netinet/tcp_timewait.c
parenta98acddd049887630b40a28d26f92685a8f965c8 (diff)
downloadFreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.zip
FreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.tar.gz
Uniformized pr_ctlinput protosw functions. The third arg is now `void
*' instead of caddr_t and it isn't optional (it never was). Most of the netipx (and netns) pr_ctlinput functions abuse the second arg instead of using the third arg but fixing this is beyond the scope of this round of changes.
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index 7520d1b..c41e84c 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
- * $Id: tcp_subr.c,v 1.22 1995/11/14 20:34:41 phk Exp $
+ * $Id: tcp_subr.c,v 1.23 1995/12/05 17:46:43 wollman Exp $
*/
#include <sys/param.h>
@@ -444,11 +444,12 @@ tcp_notify(inp, error)
}
void
-tcp_ctlinput(cmd, sa, ip)
+tcp_ctlinput(cmd, sa, vip)
int cmd;
struct sockaddr *sa;
- register struct ip *ip;
+ void *vip;
{
+ register struct ip *ip = vip;
register struct tcphdr *th;
void (*notify) __P((struct inpcb *, int)) = tcp_notify;
OpenPOWER on IntegriCloud