MCPcopy
hub / github.com/probelabs/goreplay / ReadPacketData

Method ReadPacketData

capture/socket.go:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9// Socket is any interface that defines the behaviors of Socket
10type Socket interface {
11 ReadPacketData() ([]byte, gopacket.CaptureInfo, error)
12 WritePacketData([]byte) error
13 SetBPFFilter(string) error
14 SetPromiscuous(bool) error

Callers 2

ReadPacketDataMethod · 0.65
readMethod · 0.65

Implementers 1

SockRawcapture/sock_linux.go

Calls

no outgoing calls

Tested by

no test coverage detected