Versions in this module Expand all Collapse all v0 v0.1.0 Dec 31, 2015 Changes in this version + func GetFirstInterface() (name string, ip string) + func GetInterfaceNameByIp(checkAddr net.IP) string + func GetIp(iface *net.Interface) string + type InputReader interface + Read func(data []byte) (int, RAWData, error) + type RAWData struct + Data []byte + DestAddr string + DestPort uint16 + LocalAddr string + Seq uint32 + SrcAddr string + SrcPort uint16 + type RAWInput struct + func NewRAWInput(host string, port string) (i *RAWInput) + func (i *RAWInput) Read(data []byte) (int, RAWData, error) + func (i *RAWInput) String() string