summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-03 02:16:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-03 02:16:52 +0000
commitb36a760feb7fec3e3975fd8b9a7e813afbaf6516 (patch)
tree6913377539eb0c6e6f0f40bdda5bb544a1fec396 /sys/netinet
parent42c11fbf7baba44829b8c25ba30b45b5ca31cb47 (diff)
indent
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_input.c42
-rw-r--r--sys/netinet/tcp_output.c14
2 files changed, 28 insertions, 28 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 1d8e1000554..9e16405039b 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.37 1999/07/02 20:39:07 cmetz Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.38 1999/07/03 02:16:51 deraadt Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -371,9 +371,9 @@ tcp_input(m, va_alist)
* and therefore are stripped off.
*/
#if defined(INET) && defined(INET6)
- switch(mtod(m, struct ip *)->ip_v) {
+ switch (mtod(m, struct ip *)->ip_v) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -432,9 +432,9 @@ tcp_input(m, va_alist)
* Checksum extended TCP header and data.
*/
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -524,9 +524,9 @@ tcp_input(m, va_alist)
*/
findpcb:
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -546,9 +546,9 @@ findpcb:
if (inp == 0) {
++tcpstat.tcps_pcbhashmiss;
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -667,9 +667,9 @@ findpcb:
#endif /* INET6 */
inp->inp_lport = th->th_dport;
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -717,9 +717,9 @@ findpcb:
!(m->m_flags & M_CONF))) {
#ifdef notyet
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -933,9 +933,9 @@ findpcb:
goto drop;
if (th->th_dport == th->th_sport) {
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -963,9 +963,9 @@ findpcb:
if (m->m_flags & (M_BCAST|M_MCAST))
goto drop;
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -989,9 +989,9 @@ findpcb:
goto drop;
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
@@ -2085,9 +2085,9 @@ dropwithreset:
if ((tiflags & TH_RST) || m->m_flags & (M_BCAST|M_MCAST))
goto drop;
#if defined(INET) && defined(INET6)
- switch(pf) {
+ switch (pf) {
#else /* defined(INET) && defined(INET6) */
- switch(-1) {
+ switch (-1) {
case -1:
#endif /* defined(INET) && defined(INET6) */
#ifdef INET
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 72192c5f81b..d8b685c59aa 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_output.c,v 1.18 1999/07/02 21:22:13 cmetz Exp $ */
+/* $OpenBSD: tcp_output.c,v 1.19 1999/07/03 02:16:51 deraadt Exp $ */
/* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */
/*
@@ -434,9 +434,9 @@ send:
optlen = 0;
#if defined(INET) && defined(INET6)
- switch(tp->pf) {
+ switch (tp->pf) {
#else /* defined(INET) && defined(INET6) */
- switch(0) {
+ switch (0) {
#endif /* defined(INET) && defined(INET6) */
case 0: /* If tp->pf is 0, then assume IPv4 unless not avail */
#ifdef INET
@@ -725,9 +725,9 @@ send:
/* Put TCP length in pseudo-header */
#if defined(INET) && defined(INET6)
- switch(tp->pf) {
+ switch (tp->pf) {
#else /* defined(INET) && defined(INET6) */
- switch(0) {
+ switch (0) {
#endif /* defined(INET) && defined(INET6) */
case 0:
#ifdef INET
@@ -853,9 +853,9 @@ send:
m->m_pkthdr.len = hdrlen + len;
#if defined(INET) && defined(INET6)
- switch(tp->pf) {
+ switch (tp->pf) {
#else /* defined(INET) && defined(INET6) */
- switch(0) {
+ switch (0) {
#endif /* defined(INET) && defined(INET6) */
case 0:
#ifdef INET