class CommitResult
Defined at line 2081 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void CommitResult ()
void CommitResult (CommitResult && )
CommitResult WithOk (::fuchsia::net::filter::Empty && )
CommitResult WithRuleWithInvalidMatcher (::fuchsia::net::filter::RuleId && )
CommitResult WithRuleWithInvalidAction (::fuchsia::net::filter::RuleId && )
CommitResult WithCyclicalRoutineGraph (::fuchsia::net::filter::RoutineId && )
CommitResult WithErrorOnChange (::std::vector< ::fuchsia::net::filter::CommitError> && )
CommitResult WithTransparentProxyWithInvalidMatcher (::fuchsia::net::filter::RuleId && )
CommitResult WithRedirectWithInvalidMatcher (::fuchsia::net::filter::RuleId && )
CommitResult WithMasqueradeWithInvalidMatcher (::fuchsia::net::filter::RuleId && )
::std::unique_ptr<CommitResult> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CommitResult * value, size_t offset)
zx_status_t Clone (CommitResult * result)
CommitResult & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()
Defined at line 2121 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_ok ()
Defined at line 2125 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::Empty & ok ()
The commit was successfully applied.
Defined at line 2128 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::Empty & ok ()
The commit was successfully applied.
Defined at line 2134 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_rule_with_invalid_matcher ()
Defined at line 2140 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RuleId & rule_with_invalid_matcher ()
One of the changes in the commit caused the specified rule's matcher
to be invalid for the context in which the rule will be evaluated.
For example, this could be a matcher on the ingress interface on
a rule that is in a routine installed in the egress hook, or a
matcher on the source address specifying an IPv4 subnet that is
in an IPv6-only namespace.
Defined at line 2149 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RuleId & rule_with_invalid_matcher ()
One of the changes in the commit caused the specified rule's matcher
to be invalid for the context in which the rule will be evaluated.
For example, this could be a matcher on the ingress interface on
a rule that is in a routine installed in the egress hook, or a
matcher on the source address specifying an IPv4 subnet that is
in an IPv6-only namespace.
Defined at line 2161 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_rule_with_invalid_action ()
Defined at line 2167 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
CommitResult & operator= (CommitResult && )
::fuchsia::net::filter::RuleId & rule_with_invalid_action ()
One of the changes in the commit caused the specified rule's action
to be invalid for the context in which the rule will be evaluated.
For example, this could be a NAT action in an IP routine.
Defined at line 2173 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RuleId & rule_with_invalid_action ()
One of the changes in the commit caused the specified rule's action
to be invalid for the context in which the rule will be evaluated.
For example, this could be a NAT action in an IP routine.
Defined at line 2182 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_cyclical_routine_graph ()
Defined at line 2188 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RoutineId & cyclical_routine_graph ()
The routine graph forms a cycle, including (at least) the specified
routine.
Each uninstalled routine and all of the routines it directly or
transitively jumps to must form a DAG.
Defined at line 2195 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RoutineId & cyclical_routine_graph ()
The routine graph forms a cycle, including (at least) the specified
routine.
Each uninstalled routine and all of the routines it directly or
transitively jumps to must form a DAG.
Defined at line 2205 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_error_on_change ()
Defined at line 2211 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::std::vector< ::fuchsia::net::filter::CommitError> & error_on_change ()
At least one of the changes provided was invalid given the current
state when `Commit` was called. In order to be maximally
informative, a vector of results is returned where each result
corresponds to the change at the same index (across all batches of
pending changes).
Defined at line 2218 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::std::vector< ::fuchsia::net::filter::CommitError> & error_on_change ()
At least one of the changes provided was invalid given the current
state when `Commit` was called. In order to be maximally
informative, a vector of results is returned where each result
corresponds to the change at the same index (across all batches of
pending changes).
Defined at line 2228 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_transparent_proxy_with_invalid_matcher ()
Defined at line 2234 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_redirect_with_invalid_matcher ()
Defined at line 2253 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RuleId & redirect_with_invalid_matcher ()
A rule has a Redirect action without a corresponding valid matcher:
if the action specifies a destination port, the rule must match on
transport protocol to ensure that the packet has either a TCP or UDP
header.
Defined at line 2259 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RuleId & redirect_with_invalid_matcher ()
A rule has a Redirect action without a corresponding valid matcher:
if the action specifies a destination port, the rule must match on
transport protocol to ensure that the packet has either a TCP or UDP
header.
Defined at line 2268 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool is_masquerade_with_invalid_matcher ()
Defined at line 2274 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RuleId & masquerade_with_invalid_matcher ()
A rule has a Masquerade action without a corresponding valid
matcher: if the action specifies a source port, the rule must match
on transport protocol to ensure that the packet has either a TCP or
UDP header.
Defined at line 2280 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RuleId & masquerade_with_invalid_matcher ()
A rule has a Masquerade action without a corresponding valid
matcher: if the action specifies a source port, the rule must match
on transport protocol to ensure that the packet has either a TCP or
UDP header.
Defined at line 2289 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::CommitResult::Tag Which ()
Defined at line 2296 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 2317 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 2320 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const std::vector<zx::handle> * UnknownHandles ()
Defined at line 2326 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void ~CommitResult ()
CommitResult & set_ok (::fuchsia::net::filter::Empty value)
CommitResult & set_rule_with_invalid_matcher (::fuchsia::net::filter::RuleId value)
CommitResult & set_rule_with_invalid_action (::fuchsia::net::filter::RuleId value)
CommitResult & set_cyclical_routine_graph (::fuchsia::net::filter::RoutineId value)
CommitResult & set_error_on_change (::std::vector< ::fuchsia::net::filter::CommitError> value)
CommitResult & set_transparent_proxy_with_invalid_matcher (::fuchsia::net::filter::RuleId value)
CommitResult & set_redirect_with_invalid_matcher (::fuchsia::net::filter::RuleId value)
CommitResult & set_masquerade_with_invalid_matcher (::fuchsia::net::filter::RuleId value)
::fuchsia::net::filter::RuleId & transparent_proxy_with_invalid_matcher ()
A rule has a TransparentProxy action without a corresponding valid
matcher: the rule must match on transport protocol to ensure that
the packet has either a TCP or UDP header.
Defined at line 2239 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const ::fuchsia::net::filter::RuleId & transparent_proxy_with_invalid_matcher ()
A rule has a TransparentProxy action without a corresponding valid
matcher: the rule must match on transport protocol to ensure that
the packet has either a TCP or UDP header.
Defined at line 2247 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kOk | 1 |
| kRuleWithInvalidMatcher | 2 |
| kRuleWithInvalidAction | 3 |
| kCyclicalRoutineGraph | 4 |
| kErrorOnChange | 5 |
| kTransparentProxyWithInvalidMatcher | 6 |
| kRedirectWithInvalidMatcher | 7 |
| kMasqueradeWithInvalidMatcher | 8 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 2100 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Friends
class Equality