diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-14 05:37:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-14 05:37:13 +0000 |
commit | ad0f9a8681b3d0b7801ce90f0b65b4d45451447b (patch) | |
tree | ea1870f3bcb05be1d337a63195468e6927a91800 /sys | |
parent | 7d418ff61c90cc55554e0441b8722acbd1710b1b (diff) |
TCP/IP Illustrated Vol.2", pg 1005 + 1090, exercise 29.5; fixes
simultaneous close extra packet exchange; frueauf@ira.uka.de, checked
by Andreas.Gunnarsson@emw.ericsson.se
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_fsm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h index 5c4d2a170cb..9a13762b020 100644 --- a/sys/netinet/tcp_fsm.h +++ b/sys/netinet/tcp_fsm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_fsm.h,v 1.2 1997/02/24 14:06:45 niklas Exp $ */ +/* $OpenBSD: tcp_fsm.h,v 1.3 1997/06/14 05:37:12 deraadt Exp $ */ /* $NetBSD: tcp_fsm.h,v 1.6 1994/10/14 16:01:48 mycroft Exp $ */ /* @@ -52,7 +52,7 @@ #define TCPS_CLOSE_WAIT 5 /* rcvd fin, waiting for close */ /* states > TCPS_CLOSE_WAIT are those where user has closed */ #define TCPS_FIN_WAIT_1 6 /* have closed, sent fin */ -#define TCPS_CLOSING 7 /* closed xchd FIN; await FIN ACK */ +#define TCPS_CLOSING 7 /* closed xchd FIN; await ACK */ #define TCPS_LAST_ACK 8 /* had fin and close; await FIN ACK */ /* states > TCPS_CLOSE_WAIT && < TCPS_FIN_WAIT_2 await ACK of FIN */ #define TCPS_FIN_WAIT_2 9 /* have closed, fin is acked */ @@ -72,7 +72,7 @@ u_char tcp_outflags[TCP_NSTATES] = { TH_RST|TH_ACK, 0, TH_SYN, TH_SYN|TH_ACK, TH_ACK, TH_ACK, - TH_FIN|TH_ACK, TH_FIN|TH_ACK, TH_FIN|TH_ACK, TH_ACK, TH_ACK, + TH_FIN|TH_ACK, TH_ACK, TH_FIN|TH_ACK, TH_ACK, TH_ACK, }; #endif |