tracer

package
v0.0.0-...-a5a9a89 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tracer implements the functionality of the network tracer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTracerSupportedByOS

func IsTracerSupportedByOS(exclusionList []string) (bool, error)

IsTracerSupportedByOS returns whether the current kernel version supports tracer functionality along with some context on why it's not supported

func NeedsEBPF

func NeedsEBPF() bool

NeedsEBPF returns `true` if the network-tracer requires eBPF

Types

type InterfaceClassification

type InterfaceClassification struct {
	InterfaceName string
	InterfaceType string
}

InterfaceClassification holds interface metadata looked up by interface index. On non-Windows platforms, this is a stub.

type InterfaceClassifier

type InterfaceClassifier struct{}

InterfaceClassifier resolves interface indices to interface metadata. On non-Windows platforms, this is a no-op stub.

func NewInterfaceClassifier

func NewInterfaceClassifier() *InterfaceClassifier

NewInterfaceClassifier returns nil on non-Windows platforms

func (*InterfaceClassifier) Classify

Classify always returns an empty result on non-Windows platforms

func (*InterfaceClassifier) Close

func (c *InterfaceClassifier) Close()

Close is a no-op on non-Windows platforms

Directories

Path Synopsis
Package connection provides network connection tracking functionality.
Package connection provides network connection tracking functionality.
ebpfless
Package ebpfless contains supporting code for the ebpfless tracer
Package ebpfless contains supporting code for the ebpfless tracer
Package networkfilter has logic to allow customers to configure CIDRs/port ranges to exclude from CNM
Package networkfilter has logic to allow customers to configure CIDRs/port ranges to exclude from CNM
proxy/external_unix_proxy_server command
Package main provides a unix transparent proxy server that can be used for testing.
Package main provides a unix transparent proxy server that can be used for testing.

Jump to

Keyboard shortcuts

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