Expand description
Extensions for route rules FIDL.
Structs§
- An installed IPv4 routing rule.
- The index of a rule within a provided rule set.
- The matcher part of the rule that is used to match packets.
- The priority of the rule set, all rule sets are linearized based on this.
Enums§
- Errors returned by
collect_rules_until_idle
. - How the interface of a packet should be matched against a rule.
- A matcher to be used against the mark value.
- Actions of a rule if the matcher matches.
- A rules watcher event.
- Conversion error for rule elements.
- Rule set creation errors.
- GenericOverIp version of RuleSetV{4, 6}Request.
- GenericOverIp version of RouteTableV{4, 6}Request.
- Route watcher
Watch
errors. - The request for the rules watchers.
Constants§
- The priority for the default rule set, where the default rule that points to the main table lives.
Traits§
- Admin extension for the rules part of
fuchsia.net.routes.admin
FIDL API. - Observation extension for the rules part of
fuchsia.net.routes
FIDL API.
Functions§
- Dispatches
add_rule
on either theRuleSetV4
orRuleSetV6
proxy. - Dispatches
authenticate_for_route_table
on either theRuleSetV4
orRuleSetV6
proxy. - Dispatches
close
on either theRuleSetV4
orRuleSetV6
proxy. - Collects all
existing
events from the stream, stopping once theidle
event is observed. - Dispatches either
GetRuleWatcherV4
orGetRuleWatcherV6
on the state proxy. - Creates a new rule set for the rule table.
- Dispatches
remove_rule
on either theRuleSetV4
orRuleSetV6
proxy. - Creates a rules event stream from the state proxy.
- Turns the provided watcher client into a
RuleEvent
stream by applying Hanging-Get watch. - Calls
Watch()
on the providedRuleWatcherV4
orRuleWatcherV6
proxy.