git: d174534a273d - main - tcp: Remove unused v6 state definitions

Mark Johnston markj at FreeBSD.org
Fri Aug 27 12:48:43 UTC 2021


The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=d174534a273d1b5a603656dbaf6b03a34a09273e

commit d174534a273d1b5a603656dbaf6b03a34a09273e
Author:     Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-08-27 12:31:32 +0000
Commit:     Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-08-27 12:31:32 +0000

    tcp: Remove unused v6 state definitions
    
    These are supposedly for compatibility with KAME, but they are
    completely unused in our tree and don't exist in OpenBSD or NetBSD.
    
    Reviewed by:    kbowling, bz, gnn
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D31700
---
 sys/netinet/tcp_fsm.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/sys/netinet/tcp_fsm.h b/sys/netinet/tcp_fsm.h
index 8bd129f613cf..ecef72fef26e 100644
--- a/sys/netinet/tcp_fsm.h
+++ b/sys/netinet/tcp_fsm.h
@@ -59,20 +59,6 @@
 #define	TCPS_FIN_WAIT_2		9	/* have closed, fin is acked */
 #define	TCPS_TIME_WAIT		10	/* in 2*msl quiet wait after close */
 
-/* for KAME src sync over BSD*'s */
-#define	TCP6_NSTATES		TCP_NSTATES
-#define	TCP6S_CLOSED		TCPS_CLOSED
-#define	TCP6S_LISTEN		TCPS_LISTEN
-#define	TCP6S_SYN_SENT		TCPS_SYN_SENT
-#define	TCP6S_SYN_RECEIVED	TCPS_SYN_RECEIVED
-#define	TCP6S_ESTABLISHED	TCPS_ESTABLISHED
-#define	TCP6S_CLOSE_WAIT	TCPS_CLOSE_WAIT
-#define	TCP6S_FIN_WAIT_1	TCPS_FIN_WAIT_1
-#define	TCP6S_CLOSING		TCPS_CLOSING
-#define	TCP6S_LAST_ACK		TCPS_LAST_ACK
-#define	TCP6S_FIN_WAIT_2	TCPS_FIN_WAIT_2
-#define	TCP6S_TIME_WAIT		TCPS_TIME_WAIT
-
 #define	TCPS_HAVERCVDSYN(s)	((s) >= TCPS_SYN_RECEIVED)
 #define	TCPS_HAVEESTABLISHED(s)	((s) >= TCPS_ESTABLISHED)
 #define	TCPS_HAVERCVDFIN(s)	\


More information about the dev-commits-src-all mailing list