Macros§
- Action
Unknown - Pattern that matches an unknown
Action
member. - Address
Matcher Type Unknown - Pattern that matches an unknown
AddressMatcherType
member. - Change
Unknown - Pattern that matches an unknown
Change
member. - Change
Validation Error Unknown - Pattern that matches an unknown
ChangeValidationError
member. - Commit
Error Unknown - Pattern that matches an unknown
CommitError
member. - Domain
Unknown - Pattern that matches an unknown
Domain
member. - Event
Unknown - Pattern that matches an unknown
Event
member. - Interface
Matcher Unknown - Pattern that matches an unknown
InterfaceMatcher
member. - IpInstallation
Hook Unknown - Pattern that matches an unknown
IpInstallationHook
member. - Mark
Action Unknown - Pattern that matches an unknown
MarkAction
member. - NatInstallation
Hook Unknown - Pattern that matches an unknown
NatInstallationHook
member. - Resource
IdUnknown - Pattern that matches an unknown
ResourceId
member. - Resource
Unknown - Pattern that matches an unknown
Resource
member. - Routine
Type Unknown - Pattern that matches an unknown
RoutineType
member. - Socket
Hook Unknown - Pattern that matches an unknown
SocketHook
member. - Transparent
Proxy_ Unknown - Pattern that matches an unknown
TransparentProxy_
member. - Transport
Protocol Unknown - Pattern that matches an unknown
TransportProtocol
member.
Structs§
- Added
Resource - Address
Matcher - A matcher for IP addresses.
- Address
Range - Controller
Key - A unique identifier for a controller that is only visible to administrators of that controller. Useful for proving administrative access.
- Empty
- Existing
Resource - Icmp
Matcher - Icmpv6
Matcher - Installed
IpRoutine - Installed
NatRoutine - IpRoutine
- Mark
- Masquerade
- Matchers
- The criteria that a packet must match for a rule to be applied.
- Namespace
- A namespace.
- Namespace
Controller OnId Assigned Request - NatRoutine
- Port
Matcher - A matcher for transport-layer port numbers.
- Port
Range - An inclusive range of transport-layer ports.
- Redirect
- Removed
Resource - Routine
- A routine.
- Routine
Id - A unique identifier for a
Routine
. - Rule
- A rule is a set of criteria (matchers) and a resultant action.
- RuleId
- A unique identifier for a
Rule
. - SetMark
- Socket
Addr - Socket
Control Detach Ebpf Program Request - TcpMatcher
- UdpMatcher
- Watcher
Options - Watcher
Watch Response
Enums§
- Action
- The action to take on a packet.
- Address
Matcher Type - Change
- Change
Validation Error - Commit
Error - Domain
- Event
- Interface
Matcher - A matcher for network interfaces.
- IpInstallation
Hook - Mark
Action - An action that can be applied to a mark.
- NatInstallation
Hook - Resource
- A filtering resource.
- Resource
Id - An identifier for a filtering resource, unique within a controller’s scope.
- Routine
Type - Socket
Control Attach Ebpf Program Error - Socket
Control Detach Ebpf Program Error - Socket
Hook - Hook to which a
SocketControl
client can attach an eBPF filter. - Transparent
Proxy_ - Transport
Protocol
Constants§
- DEFAULT_
ROUTINE_ PRIORITY - The default priority of a routine relative to other routines installed on the same hook.
- MAX_
BATCH_ SIZE - The largest number of changes that can be provided in a single call to
PushChanges
, or events that will be provided in a singleWatch
response. - MAX_
COMMIT_ SIZE - An arbitrary limit on the number of changes that can be applied in a single transactional update. Exists largely to prevent clients from being able to OOM the netstack.
- MAX_
NAME_ LEN
Type Aliases§
- Controller
Id - Namespace
Id - A unique identifier for a
Namespace
. - Priority
- The priority of the routine relative to other routines installed on the same hook. For a given packet traversing a given hook, all installed routines are executed in order of priority (stopping early only if a terminal action is hit).