summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-01-07 05:52:26 +0000
committerderaadt <deraadt@openbsd.org>1999-01-07 05:52:26 +0000
commit90bb668e45ea9bc21935b4ab9a49f4208f23de0a (patch)
tree95c1d411aec1a8bc8b36e8028c9e0d37d445e86e /sys/netinet/tcp_usrreq.c
parentrename baddynamic() to in_baddynamic(), and export it (diff)
downloadwireguard-openbsd-90bb668e45ea9bc21935b4ab9a49f4208f23de0a.tar.xz
wireguard-openbsd-90bb668e45ea9bc21935b4ab9a49f4208f23de0a.zip
indent
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 7ed5d330fc4..77373050341 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.29 1998/11/17 19:23:02 provos Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.30 1999/01/07 05:52:26 deraadt Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -622,7 +622,7 @@ tcp_ident(oldp, oldlenp, newp, newlen)
return (EINVAL);
if (*oldlenp < sizeof(tir))
return (ENOMEM);
- if ((error = copyin (oldp, &tir, sizeof (tir))) != 0 )
+ if ((error = copyin(oldp, &tir, sizeof (tir))) != 0 )
return (error);
if (tir.faddr.sa_len != sizeof (struct sockaddr) ||
tir.faddr.sa_family != AF_INET)
@@ -630,12 +630,12 @@ tcp_ident(oldp, oldlenp, newp, newlen)
fin = (struct sockaddr_in *)&tir.faddr;
lin = (struct sockaddr_in *)&tir.laddr;
- s = splsoftnet ();
- inp = in_pcbhashlookup (&tcbtable, fin->sin_addr, fin->sin_port,
+ s = splsoftnet();
+ inp = in_pcbhashlookup(&tcbtable, fin->sin_addr, fin->sin_port,
lin->sin_addr, lin->sin_port);
if (inp == NULL) {
++tcpstat.tcps_pcbhashmiss;
- inp = in_pcblookup (&tcbtable, fin->sin_addr, fin->sin_port,
+ inp = in_pcblookup(&tcbtable, fin->sin_addr, fin->sin_port,
lin->sin_addr, lin->sin_port, 0);
}
if (inp != NULL && (inp->inp_socket->so_state & SS_CONNECTOUT)) {
@@ -648,7 +648,7 @@ tcp_ident(oldp, oldlenp, newp, newlen)
splx(s);
*oldlenp = sizeof (tir);
- error = copyout ((void *)&tir, oldp, sizeof (tir));
+ error = copyout((void *)&tir, oldp, sizeof (tir));
return (error);
}