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

Interface PcapStatProvider

capture/capture.go:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35type PacketHandler func(*tcp.Packet)
36
37type PcapStatProvider interface {
38 Stats() (*pcap.Stats, error)
39}
40
41// PcapOptions options that can be set on a pcap capture handle,
42// these options take effect on inactive pcap handles

Callers 1

readMethod · 0.65

Implementers 1

SockRawcapture/sock_linux.go

Calls

no outgoing calls

Tested by

no test coverage detected