pcap

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndReplay

func EndReplay()

func Infos

func Infos(filename string) (start, end time.Time, packets, size int)

func InternalReplay

func InternalReplay(handleWrite *pcap.Handle) bool

func LoadPcap

func LoadPcap(filename string)

func OpenDest

func OpenDest(netIntf string) *pcap.Handle

func Replay

func Replay()

func ReplayStep

func ReplayStep(step int)

func WritePacket

func WritePacket(handle *pcap.Handle, buf []byte) error

func WritePacketDelayed

func WritePacketDelayed(handle *pcap.Handle, buf []byte, ci gopacket.CaptureInfo)

Types

This section is empty.

Jump to

Keyboard shortcuts

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