diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-26 08:46:41 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-26 08:46:41 +0000 |
commit | bf476d6586a7f00ff86d07fd0d6eaa9a1a2c86ef (patch) | |
tree | 55deafebcc68c292f3268a7e644b0ced7c4baf91 /pkg/tcpip/transport/packet | |
parent | 55c38174d6d9c55faf274cc6fa80e5671f1adb1d (diff) | |
parent | ad83112423ecf8729df582dd79cbe5a7e29bd937 (diff) |
Merge release-20201109.0-120-gad8311242 (automated)
Diffstat (limited to 'pkg/tcpip/transport/packet')
-rw-r--r-- | pkg/tcpip/transport/packet/endpoint.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pkg/tcpip/transport/packet/endpoint.go b/pkg/tcpip/transport/packet/endpoint.go index da402bad9..3666bac0f 100644 --- a/pkg/tcpip/transport/packet/endpoint.go +++ b/pkg/tcpip/transport/packet/endpoint.go @@ -321,11 +321,6 @@ func (ep *endpoint) SetSockOpt(opt tcpip.SettableSocketOption) *tcpip.Error { } } -// SetSockOptBool implements tcpip.Endpoint.SetSockOptBool. -func (ep *endpoint) SetSockOptBool(opt tcpip.SockOptBool, v bool) *tcpip.Error { - return tcpip.ErrUnknownProtocolOption -} - // SetSockOptInt implements tcpip.Endpoint.SetSockOptInt. func (ep *endpoint) SetSockOptInt(opt tcpip.SockOptInt, v int) *tcpip.Error { switch opt { @@ -393,11 +388,6 @@ func (ep *endpoint) GetSockOpt(opt tcpip.GettableSocketOption) *tcpip.Error { } } -// GetSockOptBool implements tcpip.Endpoint.GetSockOptBool. -func (*endpoint) GetSockOptBool(opt tcpip.SockOptBool) (bool, *tcpip.Error) { - return false, tcpip.ErrNotSupported -} - // GetSockOptInt implements tcpip.Endpoint.GetSockOptInt. func (ep *endpoint) GetSockOptInt(opt tcpip.SockOptInt) (int, *tcpip.Error) { switch opt { |