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 ¶
type NoopConn struct{}
func (NoopConn) ListenOut ¶
func (NoopConn) ListenOut(_ EncReader, _ LightHouseHandlerFunc, _ *firewall.ConntrackCacheTicker, _ int)
func (NoopConn) ReloadConfig ¶
type StdConn ¶
type StdConn struct {
// contains filtered or unexported fields
}
func (*StdConn) GetRecvBuffer ¶
func (*StdConn) GetSendBuffer ¶
func (*StdConn) ListenOut ¶
func (u *StdConn) ListenOut(r EncReader, lhf LightHouseHandlerFunc, cache *firewall.ConntrackCacheTicker, q int)
func (*StdConn) PrepareRawMessages ¶
func (*StdConn) ReadSingle ¶
func (*StdConn) ReloadConfig ¶
func (*StdConn) SetRecvBuffer ¶
func (*StdConn) SetSendBuffer ¶
Click to show internal directories.
Click to hide internal directories.