Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Invoke(registerSignalHandler)
Cell registers a signal handler for CT and NAT fill-up signals.
Functions ¶
func Enable ¶ added in v1.7.0
func Enable(ipv4, ipv6 bool, restoredEndpoints []*endpoint.Endpoint, mgr EndpointManager, nodeAddressing types.NodeAddressing)
Enable enables the connection tracking garbage collection. The restored endpoints and local node addresses are used to avoid GCing connections that may still be in use: connections of active endpoints and, in case the host firewall is enabled, connections of the local host.
Types ¶
type EndpointManager ¶
EndpointManager is any type which returns the list of Endpoints which are globally exposed on the current node.
type SignalData ¶
type SignalData uint32
SignalData holds the IP address family type BPF program sent along with the SignalNatFillUp and SignalCTFillUp signals.
const ( // SignalProtoV4 denotes IPv4 protocol SignalProtoV4 SignalData = iota // SignalProtoV6 denotes IPv6 protocol SignalProtoV6 SignalProtoMax )
func (SignalData) String ¶
func (d SignalData) String() string
String implements fmt.Stringer for SignalData
Click to show internal directories.
Click to hide internal directories.