From 7bfc76d946b6c3f02fc32831ddc282ac2816d5ed Mon Sep 17 00:00:00 2001 From: Nick Brown Date: Mon, 19 Apr 2021 16:41:56 -0700 Subject: De-duplicate TCP state in TCPEndpointState vs tcp.endpoint This change replaces individual private members in tcp.endpoint with a single private TCPEndpointState member. Some internal substructures within endpoint (receiver, sender) have been broken into a public substructure (which is then copied into the TCPEndpointState returned from completeState()) alongside other private fields. Fixes #4466 PiperOrigin-RevId: 369329514 --- pkg/tcpip/stack/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/tcpip/stack/BUILD') diff --git a/pkg/tcpip/stack/BUILD b/pkg/tcpip/stack/BUILD index d19b879dc..2bd6a67f5 100644 --- a/pkg/tcpip/stack/BUILD +++ b/pkg/tcpip/stack/BUILD @@ -67,6 +67,7 @@ go_library( "stack.go", "stack_global_state.go", "stack_options.go", + "tcp.go", "transport_demuxer.go", "tuple_list.go", ], -- cgit v1.2.3