MCPcopy Create free account
hub / github.com/danderson/netboot / Packet

Method Packet

pcap/reader.go:115–117  ·  view source on GitHub ↗

Packet returns the packet read by the last call to Next.

()

Source from the content-addressed store, hash-verified

113
114// Packet returns the packet read by the last call to Next.
115func (r *Reader) Packet() *Packet {
116 return r.pkt
117}
118
119// Err returns the first non-EOF error encountered by the Reader.
120func (r *Reader) Err() error {

Callers 3

udpFromPcapFunction · 0.95
TestFilesFunction · 0.95
TestReadbackFunction · 0.95

Calls

no outgoing calls

Tested by 3

udpFromPcapFunction · 0.76
TestFilesFunction · 0.76
TestReadbackFunction · 0.76