nfqlb

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NFQueues = "0:3"

	MAXPORTRANGE = "0-65535"
)

Variables

This section is empty.

Functions

func NewLb

func NewLb(options ...LbOption) (*nfqlb, error)

NewLb - Creates LB that implements a Stream in nfqlb as a shared mem lb

func NewLbFactory

func NewLbFactory(options ...Option) *nfqlbFactory

func NewNetfilterAdaptor

func NewNetfilterAdaptor(options ...Option) (*netfilterAdaptor, error)

Types

type LbOption

type LbOption func(o *lbOptions)

func WithLbName

func WithLbName(name string) LbOption

func WithMaglevM

func WithMaglevM(m int) LbOption

func WithMaglevN

func WithMaglevN(n int) LbOption

type Option

type Option func(o *nfoptions)

func WithNFQueue

func WithNFQueue(queue string) Option

func WithNFQueueFanout

func WithNFQueueFanout(fanout bool) Option

Jump to

Keyboard shortcuts

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