PcapNG
This library provides packet reading capabilities of files in pcang format.
// Create new reader:
f, _ := os.Open("file.pcapng")
defer f.Close()
r, err := NewReader(f)
data, ci, err := r.ReadPacketData()
This library provides packet reading capabilities of files in pcang format.
// Create new reader:
f, _ := os.Open("file.pcapng")
defer f.Close()
r, err := NewReader(f)
data, ci, err := r.ReadPacketData()