mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
stop using tcpip.FullAddress with unix sockets
It's unnecessarily overloading the type, which makes it hard to change the type in netstack. PiperOrigin-RevId: 526168235
This commit is contained in:
committed by
gVisor bot
parent
0ce094b9a3
commit
8478fe0a27
@@ -301,14 +301,6 @@ var errStackType = syserr.New("expected but did not receive a netstack.Stack", e
|
||||
// commonEndpoint represents the intersection of a tcpip.Endpoint and a
|
||||
// transport.Endpoint.
|
||||
type commonEndpoint interface {
|
||||
// GetLocalAddress implements tcpip.Endpoint.GetLocalAddress and
|
||||
// transport.Endpoint.GetLocalAddress.
|
||||
GetLocalAddress() (tcpip.FullAddress, tcpip.Error)
|
||||
|
||||
// GetRemoteAddress implements tcpip.Endpoint.GetRemoteAddress and
|
||||
// transport.Endpoint.GetRemoteAddress.
|
||||
GetRemoteAddress() (tcpip.FullAddress, tcpip.Error)
|
||||
|
||||
// Readiness implements tcpip.Endpoint.Readiness and
|
||||
// transport.Endpoint.Readiness.
|
||||
Readiness(mask waiter.EventMask) waiter.EventMask
|
||||
|
||||
Reference in New Issue
Block a user