ppanic

package
v0.0.0-...-2c81b34 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatcher

func Dispatcher(iface *water.Interface, tun2EthQ chan Packet, manipulators []PacketManipulator) error

func PacketSender

func PacketSender(conn *ipv4.RawConn, tun2EthQ chan Packet) error

Types

type Corruptor

type Corruptor struct{}

func (*Corruptor) Manipulate

func (c *Corruptor) Manipulate(packet *Packet)

type Delayer

type Delayer struct {
	// contains filtered or unexported fields
}

func NewDelayer

func NewDelayer(minDelay, maxDelay time.Duration) *Delayer

func (*Delayer) Manipulate

func (d *Delayer) Manipulate(packet *Packet)

type Packet

type Packet struct {
	// contains filtered or unexported fields
}

type PacketManipulator

type PacketManipulator interface {
	Manipulate(packet *Packet)
}

Jump to

Keyboard shortcuts

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