Export std net bind
This commit is contained in:
parent
b2a20cdd77
commit
c63bc19bc9
6 changed files with 129 additions and 40 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