Rename tcpip.SockOpt{,Int}

PiperOrigin-RevId: 288772878
This commit is contained in:
Tamir Duberstein
2020-01-08 14:20:07 -08:00
committed by gVisor bot
parent d01240d871
commit a271bccfc6
9 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -224,7 +224,7 @@ type commonEndpoint interface {
// SetSockOptInt implements tcpip.Endpoint.SetSockOptInt and
// transport.Endpoint.SetSockOptInt.
SetSockOptInt(opt tcpip.SockOpt, v int) *tcpip.Error
SetSockOptInt(opt tcpip.SockOptInt, v int) *tcpip.Error
// GetSockOpt implements tcpip.Endpoint.GetSockOpt and
// transport.Endpoint.GetSockOpt.
@@ -232,7 +232,7 @@ type commonEndpoint interface {
// GetSockOptInt implements tcpip.Endpoint.GetSockOptInt and
// transport.Endpoint.GetSockOpt.
GetSockOptInt(opt tcpip.SockOpt) (int, *tcpip.Error)
GetSockOptInt(opt tcpip.SockOptInt) (int, *tcpip.Error)
}
// SocketOperations encapsulates all the state needed to represent a network stack