sockops

package
v0.0.0-...-9c67f8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MapsPinPath = "/sys/fs/bpf/sock_ops_map"

Variables

This section is empty.

Functions

func Sample

func Sample()

Types

type Programs

type Programs struct {
	SockopsObjs   bpf_sockopsObjects
	RedirObjs     bpf_redirObjects
	SockopsCgroup link.Link
}

func LoadProgram

func LoadProgram() (Programs, error)

func (Programs) Attach

func (p Programs) Attach() error

func (Programs) Close

func (p Programs) Close()

Jump to

Keyboard shortcuts

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