Versions in this module Expand all Collapse all v0 v0.2.1 Oct 30, 2020 Changes in this version + type Conf struct + Addr *YIP + MTU int + Subnet *YIPNet + TunName string + TxQlen int + type ConfMsg struct + Net net.IPNet + type IPAdapter struct + func NewIPAdapter(confBuf []byte) (*IPAdapter, error) + func (adapter *IPAdapter) HandshakeComplete(peer gateway.PeerWriter) + func (adapter *IPAdapter) ProcessCtrlMsg(msg gateway.Message, remoteIA addr.IA) + func (adapter *IPAdapter) ProcessEgressPkt(buf []byte, getPeerWriter func(string) (gateway.PeerWriter, error)) + func (adapter *IPAdapter) ProcessIngressPkt(buf []byte) + func (adapter *IPAdapter) Read(buf []byte) (int, error) + func (adapter *IPAdapter) String() string + type Router struct + func (r *Router) Lookup(addr net.IP) (string, error) + type YIP struct + func (ip *YIP) UnmarshalYAML(unmarshal func(interface{}) error) error + type YIPNet struct + func (ipNet *YIPNet) UnmarshalYAML(unmarshal func(interface{}) error) error