driver

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const MaximumBlockNum = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterState

type FilterState uint32
const (
	FilterStateStopped FilterState = iota
	FilterStateStarting
	FilterStateRunning
	FilterStateStopping
)

type MultiInterfacePacketFilter

type MultiInterfacePacketFilter interface {
	PacketFilter
	StartFilter(filterAdapterIdx ...uint32) error
}

type PacketDirection

type PacketDirection int
const (
	PacketDirectionIn PacketDirection = iota
	PacketDirectionOut
	PacketDirectionBoth
)

type PacketFilter

type PacketFilter interface {
	Close() error
	Reconfigure() error
	GetFilterState() FilterState
}

type SingleInterfacePacketFilter

type SingleInterfacePacketFilter interface {
	PacketFilter
	StartFilter(adapterIdx int) error
}

Jump to

Keyboard shortcuts

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