summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-07-30 15:42:01 -0700
committerShentubot <shentubot@google.com>2018-07-30 15:43:25 -0700
commit0a55f8c1c11dc6d2dfb1bed02489f92bab437ea1 (patch)
tree803d15586a86a79f30e2905d03ad06a11fe38bee /pkg/tcpip/stack
parent3188859742e802a2e7d1d5d0ab22a6e2b426dfb8 (diff)
netstack: support disconnect-on-save option per fdbased link.
PiperOrigin-RevId: 206659972 Change-Id: I5e0e035f97743b6525ad36bed2c802791609beaf
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 c66f925a8..01a29689d 100644
--- a/pkg/tcpip/stack/registration.go
+++ b/pkg/tcpip/stack/registration.go
@@ -204,6 +204,7 @@ const (
CapabilityChecksumOffload LinkEndpointCapabilities = 1 << iota
CapabilityResolutionRequired
CapabilitySaveRestore
+ CapabilityDisconnectOk
)
// LinkEndpoint is the interface implemented by data link layer protocols (e.g.,