Documentation ¶
Index ¶
- Variables
- func IsLocalAddr(ip net.IP) bool
- func PrasePacket(packet gopacket.Packet) (srcAddr net.IP, dstAddr net.IP, tcp layers.TCP, payload gopacket.Payload, ...)
- func PrasePacketToString(packet gopacket.Packet) string
- func SniffNewSocket(port uint16, ch chan<- string, done <-chan struct{}) error
- func SniffSocket(srcAddr string, srcPort uint16, dstAddr string, dstPort uint16, ...) error
- func TcpOptionToString(op layers.TCPOption) string
Constants ¶
This section is empty.
Variables ¶
View Source
var SeqLocalAddr []net.IP
Functions ¶
func IsLocalAddr ¶
func PrasePacket ¶
func PrasePacketToString ¶
func SniffNewSocket ¶
func SniffSocket ¶
func TcpOptionToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.