Versions in this module Expand all Collapse all v1 v1.0.0 Jan 1, 2020 Changes in this version + type Iface struct + func New(name, ip string, mtu int) *Iface + func (i *Iface) AddSysRoute(ip *net.IP) + func (i *Iface) Name() string + func (i *Iface) Read(pkt PacketIP) (int, error) + func (i *Iface) Start() error + func (i *Iface) Write(pkt PacketIP) (int, error) + type PacketIP []byte + func NewPacketIP(size int) PacketIP + func (p PacketIP) GetDestinationIP() net.IP + func (p PacketIP) GetSourceIP() net.IP