summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-07-10 13:53:39 -0700
committerShentubot <shentubot@google.com>2018-07-10 13:54:40 -0700
commitbf580cf64dbea1c70a3269914fad6490f7a4968d (patch)
tree67c05c84857b450867021bc7e8c6995a6ee8dff2 /pkg/tcpip/stack
parent065d7cee9a558cf3e7cdaafe8d708efe76e2b703 (diff)
netstack: only do connected TCP S/R for loopback connections.
PiperOrigin-RevId: 204006237 Change-Id: Ica8402ab54d9dd7d11cc41c6d74aacef51d140b7
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/registration.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go
index 70a123bbd..e9550a062 100644
--- a/pkg/tcpip/stack/registration.go
+++ b/pkg/tcpip/stack/registration.go
@@ -201,6 +201,7 @@ type LinkEndpointCapabilities uint
const (
CapabilityChecksumOffload LinkEndpointCapabilities = 1 << iota
CapabilityResolutionRequired
+ CapabilitySaveRestore
)
// LinkEndpoint is the interface implemented by data link layer protocols (e.g.,