afxdppinhole

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package afxdppinhole provides chain elements that updates the xdp pinhole map. This map is a list of UDP ports that the NSM is listening on (we take these values from the mechanisms)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(options ...Option) networkservice.NetworkServiceClient

NewClient - returns a new client that updates the UDP ports map for NSM interfaces

func NewServer

func NewServer(options ...Option) networkservice.NetworkServiceServer

NewServer - returns a new client that updates the UDP ports map for NSM interfaces

Types

type Option

type Option func(o *afxdpOptions)

Option is an option pattern for afxdppinhole chain elements

func WithBpfFsDir

func WithBpfFsDir(p string) Option

WithBpfFsDir sets the dir of the BPF file system

func WithElfPath

func WithElfPath(p string) Option

WithElfPath sets the path of the ELF object file

Jump to

Keyboard shortcuts

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