Documentation
¶
Overview ¶
Package datapath defines the interfaces to abstract all platform specific datapath components.
Current datapath implementations:
pkg/datapath/linux pkg/datapath/fake
Index ¶
- func RemoteSNATDstAddrExclusionCIDRv4() *cidr.CIDR
- func RemoteSNATDstAddrExclusionCIDRv6() *cidr.CIDR
- type BaseProgramOwner
- type CompileTimeConfiguration
- type ConfigWriter
- type Datapath
- type DeviceConfiguration
- type Endpoint
- type EndpointConfiguration
- type IptablesManager
- type LoadTimeConfiguration
- type Loader
- type LocalNodeConfiguration
- type NodeAddressing
- type NodeAddressingFamily
- type NodeHandler
- type PreFilter
- type Proxy
- type WireguardAgent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteSNATDstAddrExclusionCIDRv4 ¶ added in v1.10.0
RemoteSNATDstAddrExclusionCIDRv4 returns a CIDR for SNAT exclusion. Any packet sent from a local endpoint to an IP address belonging to the CIDR should not be SNAT'd.
func RemoteSNATDstAddrExclusionCIDRv6 ¶ added in v1.10.0
RemoteSNATDstAddrExclusionCIDRv6 returns a IPv6 CIDR for SNAT exclusion. Any packet sent from a local endpoint to an IP address belonging to the CIDR should not be SNAT'd.
Types ¶
type BaseProgramOwner ¶ added in v1.7.0
type BaseProgramOwner interface {
DeviceConfiguration
GetCompilationLock() *lock.RWMutex
Datapath() Datapath
LocalConfig() *LocalNodeConfiguration
SetPrefilter(pf PreFilter)
}
BaseProgramOwner is any type for which a loader is building base programs.
type CompileTimeConfiguration ¶ added in v1.8.0
type CompileTimeConfiguration interface {
DeviceConfiguration
// TODO: Move this detail into the datapath
HasIpvlanDataPath() bool
ConntrackLocalLocked()