Crate fidl_fuchsia_net_filter_common

Source

Macros§

ActionUnknown
Pattern that matches an unknown Action member.
AddressMatcherTypeUnknown
Pattern that matches an unknown AddressMatcherType member.
ChangeUnknown
Pattern that matches an unknown Change member.
ChangeValidationErrorUnknown
Pattern that matches an unknown ChangeValidationError member.
CommitErrorUnknown
Pattern that matches an unknown CommitError member.
DomainUnknown
Pattern that matches an unknown Domain member.
EventUnknown
Pattern that matches an unknown Event member.
InterfaceMatcherUnknown
Pattern that matches an unknown InterfaceMatcher member.
IpInstallationHookUnknown
Pattern that matches an unknown IpInstallationHook member.
MarkActionUnknown
Pattern that matches an unknown MarkAction member.
NatInstallationHookUnknown
Pattern that matches an unknown NatInstallationHook member.
ResourceIdUnknown
Pattern that matches an unknown ResourceId member.
ResourceUnknown
Pattern that matches an unknown Resource member.
RoutineTypeUnknown
Pattern that matches an unknown RoutineType member.
SocketHookUnknown
Pattern that matches an unknown SocketHook member.
TransparentProxy_Unknown
Pattern that matches an unknown TransparentProxy_ member.
TransportProtocolUnknown
Pattern that matches an unknown TransportProtocol member.

Structs§

AddedResource
AddressMatcher
A matcher for IP addresses.
AddressRange
ControllerKey
A unique identifier for a controller that is only visible to administrators of that controller. Useful for proving administrative access.
Empty
ExistingResource
IcmpMatcher
Icmpv6Matcher
InstalledIpRoutine
InstalledNatRoutine
IpRoutine
Mark
Masquerade
Matchers
The criteria that a packet must match for a rule to be applied.
Namespace
A namespace.
NamespaceControllerOnIdAssignedRequest
NatRoutine
PortMatcher
A matcher for transport-layer port numbers.
PortRange
An inclusive range of transport-layer ports.
Redirect
RemovedResource
Routine
A routine.
RoutineId
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
SocketAddr
SocketControlDetachEbpfProgramRequest
TcpMatcher
UdpMatcher
WatcherOptions
WatcherWatchResponse

Enums§

Action
The action to take on a packet.
AddressMatcherType
Change
ChangeValidationError
CommitError
Domain
Event
InterfaceMatcher
A matcher for network interfaces.
IpInstallationHook
MarkAction
An action that can be applied to a mark.
NatInstallationHook
Resource
A filtering resource.
ResourceId
An identifier for a filtering resource, unique within a controller’s scope.
RoutineType
SocketControlAttachEbpfProgramError
SocketControlDetachEbpfProgramError
SocketHook
Hook to which a SocketControl client can attach an eBPF filter.
TransparentProxy_
TransportProtocol

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 single Watch 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§

ControllerId
NamespaceId
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).