Documentation ¶
Index ¶
- Variables
- type ClientBind
- func (c *ClientBind) BatchSize() int
- func (c *ClientBind) Close() error
- func (c *ClientBind) Open(port uint16) (fns []conn.ReceiveFunc, actualPort uint16, err error)
- func (c *ClientBind) ParseEndpoint(s string) (conn.Endpoint, error)
- func (c *ClientBind) ResetReservedForEndpoint()
- func (c *ClientBind) Send(bufs [][]byte, ep conn.Endpoint) error
- func (c *ClientBind) SetConnectAddr(connectAddr netip.AddrPort)
- func (c *ClientBind) SetMark(mark uint32) error
- func (c *ClientBind) SetParseReserved(parseReserved bool)
- func (c *ClientBind) SetReservedForEndpoint(destination netip.AddrPort, reserved [3]byte)
- type Device
- type Endpoint
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGVisorNotIncluded = E.New(`gVisor is not included in this build, rebuild with -tags with_gvisor`)
Functions ¶
This section is empty.
Types ¶
type ClientBind ¶
type ClientBind struct {
// contains filtered or unexported fields
}
func NewClientBind ¶
func (*ClientBind) BatchSize ¶
func (c *ClientBind) BatchSize() int
func (*ClientBind) Close ¶
func (c *ClientBind) Close() error
func (*ClientBind) Open ¶
func (c *ClientBind) Open(port uint16) (fns []conn.ReceiveFunc, actualPort uint16, err error)
func (*ClientBind) ParseEndpoint ¶
func (c *ClientBind) ParseEndpoint(s string) (conn.Endpoint, error)
func (*ClientBind) ResetReservedForEndpoint ¶
func (c *ClientBind) ResetReservedForEndpoint()
func (*ClientBind) SetConnectAddr ¶
func (c *ClientBind) SetConnectAddr(connectAddr netip.AddrPort)
func (*ClientBind) SetMark ¶
func (c *ClientBind) SetMark(mark uint32) error
func (*ClientBind) SetParseReserved ¶
func (c *ClientBind) SetParseReserved(parseReserved bool)
func (*ClientBind) SetReservedForEndpoint ¶
func (c *ClientBind) SetReservedForEndpoint(destination netip.AddrPort, reserved [3]byte)
type Device ¶
type Endpoint ¶
func (Endpoint) DstToBytes ¶
func (Endpoint) DstToString ¶
func (Endpoint) SrcToString ¶
Click to show internal directories.
Click to hide internal directories.