source

package
v3.0.0-...-32242cf Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup() error

Cleanup releases process-wide SDK resources after all source goroutines stop.

func SDKVersions

func SDKVersions() string

Types

type Source

type Source interface {
	InitEvents() ([]*event.Event, error)
	Start(context.Context, func(*event.Event) error) error
	Close() error
}

func New

func New(cfg config.SourceConfig) (Source, error)

New selects the source implementation from the source.network setting.

Directories

Path Synopsis
Package afpacket implements packet capture without libpcap or cgo.
Package afpacket implements packet capture without libpcap or cgo.
Package capture adapts capture engines to Reflow's source lifecycle.
Package capture adapts capture engines to Reflow's source lifecycle.
Package conntrack provides a local connection-state input and a cache shared with packet processors.
Package conntrack provides a local connection-state input and a cache shared with packet processors.
Package dpdk provides the dedicated Linux DPDK capture backend.
Package dpdk provides the dedicated Linux DPDK capture backend.
Package netlinkcapture contains the framing shared by Linux packet exports.
Package netlinkcapture contains the framing shared by Linux packet exports.
Package pktap decodes Apple's packet-tap framing independently of libpcap.
Package pktap decodes Apple's packet-tap framing independently of libpcap.
Package pktmon receives packets from Windows Packet Monitor streaming APIs.
Package pktmon receives packets from Windows Packet Monitor streaming APIs.
Package xdp copies ingress packets to perf buffers while always returning XDP_PASS.
Package xdp copies ingress packets to perf buffers while always returning XDP_PASS.

Jump to

Keyboard shortcuts

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