// SetSockOpt implements tcpip.Endpoint.SetSockOpt.
SetSockOpt implements tcpip.Endpoint.SetSockOpt.
// SetSockOpt implements tcpip . Endpoint . SetSockOpt .
func (e *endpoint) SetSockOpt(opt tcpip.SettableSocketOption) tcpip.Error {
	switch opt.(type) {
	case *tcpip.SocketDetachFilterOption:
		return nil
	default:
		return &tcpip.ErrUnknownProtocolOption{}
	}
}
func ( e * endpoint ) SetSockOpt ( opt tcpip . SettableSocketOption ) tcpip . Error { switch opt . ( type ) { case * tcpip . SocketDetachFilterOption : return nil default : return & tcpip . ErrUnknownProtocolOption { } } }
SetSockOpt implements tcpip.Endpoint.SetSockOpt.
SetSockOpt implements tcpip . Endpoint . SetSockOpt .