Documentation ¶
Overview ¶
Package pcapreplayer provides a net.PacketConn which replays a pcap file, and optionally records a new golden file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDHCP4Conn ¶
func NewDHCP4Conn(input, output string) (net.PacketConn, error)
NewDHCP4Conn returns a dhcp4client.ConnectionInt which replays packets from pcap file input, writing packets to pcap file output (if non-empty).
See https://en.wikipedia.org/wiki/Pcap for details on pcap.
func NewPacketConn ¶
func NewPacketConn(input, output string) (net.PacketConn, error)
NewPCAP returns a net.PacketConn which replays packets from pcap file input, writing packets to pcap file output (if non-empty).
See https://en.wikipedia.org/wiki/Pcap for details on pcap.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.