socketenricher

package
v0.14.0-rc Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketEnricher

type SocketEnricher struct {
	// contains filtered or unexported fields
}

SocketEnricher creates a map exposing processes owning each socket.

This makes it possible for network gadgets to access that information and display it directly from the BPF code. Example of such code in the dns and sni gadgets.

func NewSocketEnricher

func NewSocketEnricher() (*SocketEnricher, error)

func (*SocketEnricher) Close

func (se *SocketEnricher) Close()

func (*SocketEnricher) SocketsMap

func (se *SocketEnricher) SocketsMap() *ebpf.Map

Jump to

Keyboard shortcuts

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