pcapreplayer

package
v0.0.0-...-07f1eb8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL