Documentation ¶
Index ¶
Constants ¶
View Source
const MTU = 9001
Variables ¶
This section is empty.
Functions ¶
func NewListenConfig ¶
func NewListenConfig(multi bool) net.ListenConfig
func NewUDPStatsEmitter ¶
func NewUDPStatsEmitter(udpConns []*Conn) func()
Types ¶
type Conn ¶
func NewListener ¶
func (*Conn) ListenOut ¶
func (u *Conn) ListenOut(r EncReader, lhf LightHouseHandlerFunc, cache *firewall.ConntrackCacheTicker, q int)
func (*Conn) ReloadConfig ¶
type EncWriter ¶
type EncWriter interface {
SendMessageToVpnIp(t header.MessageType, st header.MessageSubType, vpnIp iputil.VpnIp, p, nb, out []byte)
}
Click to show internal directories.
Click to hide internal directories.