Export std net bind
This commit is contained in:
parent
a71256d250
commit
73f8c6542b
5 changed files with 129 additions and 39 deletions
|
|
@ -57,6 +57,8 @@ type Bind interface {
|
|||
// BatchSize is the number of buffers expected to be passed to
|
||||
// the ReceiveFuncs, and the maximum expected to be passed to SendBatch.
|
||||
BatchSize() int
|
||||
|
||||
SetReservedForEndpoint(destination netip.AddrPort, reserved [3]byte)
|
||||
}
|
||||
|
||||
// BindSocketToInterface is implemented by Bind objects that support being
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue