Expand description
Extensions for the fuchsia.net.filter FIDL library.
Note that this library as written is not meant for inclusion in the SDK. It
is only meant to be used in conjunction with a netstack that is compiled
against the same API level of the fuchsia.net.filter
FIDL library. This
library opts in to compile-time and runtime breakage when the FIDL library
is evolved in order to enforce that it is updated along with the FIDL
library itself.
Modules§
Structs§
- Extension type for
fnet_filter::AddressMatcher
. - Extension type for
fnet_filter::AddressRange
. - A controller for filtering state.
- Extension type for
fnet_filter::ControllerId
. - Extension type for
fnet_filter::InstalledIpRoutine
. - Extension type for
fnet_filter::InstalledNatRoutine
. - Extension type for
fnet_filter::Matchers
. - Extension type for
fnet_filter::Namespace
. - Extension type for
fnet_filter::NamespaceId
. - Extension type for
fnet_filter::PortMatcher
. - Extension type for
fnet_filter::Routine
. - Extension type for
fnet_filter::RoutineId
. - Extension type for
fnet_filter::Rule
. - Extension type for
fnet_filter::RuleId
. - Extension type for the
Subnet
variant offnet_filter::AddressMatcherType
.
Enums§
- Extension type for
fnet_filter::Action
. - Extension type for
fnet_filter::AddressMatcherType
. - Extension type for
fnet_filter::Change
. - Errors for individual changes committed.
- Errors for individual changes pushed.
- Errors for the NamespaceController.Commit method.
- Namespace controller creation errors.
- Extension type for
fnet_filter::Domain
. - Extension type for
fnet_filter::Event
. - Conversion errors from
fnet_filter
FIDL types to the equivalents defined in this module. - Errors returned by
get_existing_resources
. - Extension type for
fnet_filter::InterfaceMatcher
. - Extension type for
fnet_filter::IpInstallationHook
. - Extension type for
fnet_filter::NatInstallationHook
. - Errors when creating a
PortMatcher
. - Errors for the NamespaceController.PushChanges method.
- Extension type for
fnet_filter::Resource
. - Extension type for
fnet_filter::ResourceId
. - Extension type for
fnet_filter::RoutineType
. - Extension type for
fnet_filter::TransparentProxy_
. - Extension type for
fnet_filter::TransportProtocol
. - Errors returned by
wait_for_condition
. - Filter watcher
Watch
errors. - Filter watcher creation errors.
Traits§
- A trait for types holding filtering state that can be updated by change events.
Functions§
- Connects to the watcher protocol and converts the Hanging-Get style API into an Event stream.
- Collects all
existing
events from the stream, stopping once theidle
event is observed. - Wait for a condition on filtering state to be satisfied.