config

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DhcpV4Options

type DhcpV4Options struct {
	Handshake         bool
	DhcpInfo          bool
	EthernetBroadcast bool
	DhcpBroadcast     bool
	DhcpRelease       bool
	DhcpDecline       bool

	Arp        bool
	ArpFakeMAC bool
	Bind       bool

	DhcpRelay           bool
	RelaySourceIP       net.IP
	RelayGatewayIP      net.IP
	RelayTargetServerIP net.IP
	TargetPort          int

	AdditionalDhcpOptions []string

	RequestsPerSecond int
	MaxLifetime       int

	MacCount      int
	SpecifiedMacs []string

	StatsRate int
}

func (*DhcpV4Options) HammerType

func (o *DhcpV4Options) HammerType() string

type HammerConfig

type HammerConfig interface {
	HammerType() string
}

type SocketeerOptions

type SocketeerOptions struct {
	InterfaceName   string
	GatewayMAC      net.HardwareAddr
	PromiscuousMode bool
	EbpfFilter      *unix.SockFprog
}

Jump to

Keyboard shortcuts

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