Crate fidl_fuchsia_net_filter

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.
ChangeValidationResultUnknown
Pattern that matches an unknown ChangeValidationResult member.
CommitErrorUnknown
Pattern that matches an unknown CommitError member.
CommitResultUnknown
Pattern that matches an unknown CommitResult 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.
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.
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
CommitOptions
ControlControlHandle
ControlEventStream
ControlMarker
ControlOpenControllerRequest
ControlProxy
ControlReopenDetachedControllerRequest
ControlRequestStream
A Stream of incoming requests for fuchsia.net.filter/Control.
ControlSynchronousProxy
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
Masquerade
Matchers
The criteria that a packet must match for a rule to be applied.
Namespace
A namespace.
NamespaceControllerCommitResponder
NamespaceControllerControlHandle
NamespaceControllerDetachResponder
NamespaceControllerEventStream
NamespaceControllerMarker
NamespaceControllerOnIdAssignedRequest
NamespaceControllerProxy
NamespaceControllerPushChangesRequest
NamespaceControllerPushChangesResponder
NamespaceControllerRequestStream
A Stream of incoming requests for fuchsia.net.filter/NamespaceController.
NamespaceControllerSynchronousProxy
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.
SocketAddr
StateControlHandle
StateEventStream
StateGetWatcherRequest
StateMarker
StateProxy
StateRequestStream
A Stream of incoming requests for fuchsia.net.filter/State.
StateSynchronousProxy
TcpMatcher
UdpMatcher
WatcherControlHandle
WatcherEventStream
WatcherMarker
WatcherOptions
WatcherProxy
WatcherRequestStream
A Stream of incoming requests for fuchsia.net.filter/Watcher.
WatcherSynchronousProxy
WatcherWatchResponder
WatcherWatchResponse

Enums§

Action
The action to take on a packet.
AddressMatcherType
Change
ChangeValidationError
ChangeValidationResult
CommitError
CommitResult
ControlEvent
ControlRequest
Provides control over packet filtering configuration.
Domain
Event
InterfaceMatcher
A matcher for network interfaces.
IpInstallationHook
NamespaceControllerEvent
NamespaceControllerRequest
Provides mutable access to an isolated view of packet filtering configuration.
NatInstallationHook
Resource
A filtering resource.
ResourceId
An identifier for a filtering resource, unique within a controller’s scope.
RoutineType
StateEvent
StateRequest
Provides view-only access to the system’s packet filtering state.
TransparentProxy_
TransportProtocol
WatcherEvent
WatcherRequest
Observer protocol for changes to packet filtering state (addition, deletion, and updates to filtering resources).

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

Traits§

ControlProxyInterface
NamespaceControllerProxyInterface
StateProxyInterface
WatcherProxyInterface

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