Documentation ¶
Index ¶
Constants ¶
View Source
const ( NFQueues = "0:3" MAXPORTRANGE = "0-65535" )
Variables ¶
This section is empty.
Functions ¶
func NewLb ¶ added in v0.4.0
NewLb - Creates LB that implements a Stream in nfqlb as a shared mem lb
func NewLbFactory ¶ added in v0.4.0
func NewLbFactory(options ...Option) *nfqlbFactory
func NewNetfilterAdaptor ¶ added in v0.4.0
Types ¶
type FlowStats ¶ added in v1.0.13
func GetFlowStats ¶ added in v1.0.13
GetFlowStats returns the list of currently configured flows in nfqlb together with their match count metric. The flow will contain only the flow name and stream name since nfqlb is not aware about parent names (conduit/trench).
func (*FlowStats) GetMatchesCount ¶ added in v1.0.13
type LbOption ¶ added in v0.4.0
type LbOption func(o *lbOptions)
func WithLbName ¶ added in v0.4.0
func WithMaglevM ¶ added in v0.4.0
func WithMaglevN ¶ added in v0.4.0
type Option ¶ added in v0.4.0
type Option func(o *nfoptions)
func WithNFQueue ¶ added in v0.4.0
func WithNFQueueFanout ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.