MCPcopy Create free account
hub / github.com/david415/HoneyBadger / ReadPacketData

Method ReadPacketData

types/packet_source.go:49–49  ·  view source on GitHub ↗

ReadPacketData returns the next packet available from this data source. It returns: data: The bytes of an individual packet. ci: Metadata about the capture err: An error encountered while reading packet data. If err != nil, then data/ci will be ignored.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

capturePacketsMethod · 0.65
ReadPacketDataMethod · 0.65
ReadPacketDataMethod · 0.65
ReadPacketDataMethod · 0.65
ReadPacketDataMethod · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 4

PcapHandledrivers/libpcap.go
AfpacketHandledrivers/afpacket.go
BPFHandledrivers/bpf.go
PcapgoHandledrivers/pcapgo.go

Calls

no outgoing calls

Tested by

no test coverage detected