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 ¶
WithBpfFsDir sets the dir of the BPF file system
func WithElfPath ¶
WithElfPath sets the path of the ELF object file
Click to show internal directories.
Click to hide internal directories.