Documentation ¶
Index ¶
- Constants
- func NewUDPStatsEmitter(udpConns []Conn) func()
- func ParseIPAndPort(s string) (net.IP, uint16, error)
- type Addr
- type AddrSlice
- type Conn
- type EncReader
- type LightHouseHandlerFunc
- type NoopConn
- type StdConn
- func (u *StdConn) Close() error
- func (u *StdConn) GetRecvBuffer() (int, error)
- func (u *StdConn) GetSendBuffer() (int, error)
- func (u *StdConn) ListenOut(r EncReader, lhf LightHouseHandlerFunc, cache *firewall.ConntrackCacheTicker, ...)
- func (u *StdConn) LocalAddr() (*Addr, error)
- func (u *StdConn) PrepareRawMessages(n int) ([]rawMessage, [][]byte, [][]byte)
- func (u *StdConn) ReadMulti(msgs []rawMessage) (int, error)
- func (u *StdConn) ReadSingle(msgs []rawMessage) (int, error)
- func (u *StdConn) Rebind() error
- func (u *StdConn) ReloadConfig(c *config.C)
- func (u *StdConn) SetRecvBuffer(n int) error
- func (u *StdConn) SetSendBuffer(n int) error
- func (u *StdConn) WriteTo(b []byte, addr *Addr) error
Constants ¶
View Source
const MTU = 9001
Variables ¶
This section is empty.
Functions ¶
func NewUDPStatsEmitter ¶
func NewUDPStatsEmitter(udpConns []Conn) func()
Types ¶
type Conn ¶
type LightHouseHandlerFunc ¶
type NoopConn ¶ added in v1.8.0
type NoopConn struct{}
func (NoopConn) ListenOut ¶ added in v1.8.0
func (NoopConn) ListenOut(_ EncReader, _ LightHouseHandlerFunc, _ *firewall.ConntrackCacheTicker, _ int)
func (NoopConn) ReloadConfig ¶ added in v1.8.0
type StdConn ¶ added in v1.8.0
type StdConn struct {
// contains filtered or unexported fields
}
func (*StdConn) GetRecvBuffer ¶ added in v1.8.0
func (*StdConn) GetSendBuffer ¶ added in v1.8.0
func (*StdConn) ListenOut ¶ added in v1.8.0
func (u *StdConn) ListenOut(r EncReader, lhf LightHouseHandlerFunc, cache *firewall.ConntrackCacheTicker, q int)
func (*StdConn) PrepareRawMessages ¶ added in v1.8.0
func (*StdConn) ReadSingle ¶ added in v1.8.0
func (*StdConn) ReloadConfig ¶ added in v1.8.0
func (*StdConn) SetRecvBuffer ¶ added in v1.8.0
func (*StdConn) SetSendBuffer ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.