MCPcopy
hub / github.com/WireGuard/wireguard-go / PeekLookAtSocketFd

Interface PeekLookAtSocketFd

conn/conn.go:69–72  ·  view source on GitHub ↗

PeekLookAtSocketFd is implemented by Bind objects that support having their file descriptor peeked at. Used by wireguard-android.

Source from the content-addressed store, hash-verified

67// PeekLookAtSocketFd is implemented by Bind objects that support having their
68// file descriptor peeked at. Used by wireguard-android.
69type PeekLookAtSocketFd interface {
70 PeekLookAtSocketFd4() (fd int, err error)
71 PeekLookAtSocketFd6() (fd int, err error)
72}
73
74// An Endpoint maintains the source/destination caching for a peer.
75//

Callers

nothing calls this directly

Implementers 1

StdNetBindconn/bind_std.go

Calls

no outgoing calls

Tested by

no test coverage detected