class BaseRuleSet

Defined at line 6082 of file fidling/gen/sdk/fidl/fuchsia.net.routes.admin/fuchsia.net.routes.admin/hlcpp/fuchsia/net/routes/admin/cpp/fidl.h

Common base for `RuleSet` protocol that is IP version agnostic. This

helps reduce FIDL duplication.

Public Methods

void ~BaseRuleSet ()
void AuthenticateForRouteTable (uint32_t table, ::zx::event token, AuthenticateForRouteTableCallback callback)

Authenticates for a route table that will be used in an action.

void RemoveRule (uint32_t index, RemoveRuleCallback callback)

Removes a rule from this rule set.

If the client tries to remove from an index that does not have a rule,

the error `RULE_DOES_NOT_EXIST` will be returned.

+ request `index` the index of the rule.

void Close ()

Removes all rules in the rule set and the underlying channel will be

closed after the rules are removed.

This method provides a way for synchronous closure.