class InstalledNatRoutine
Defined at line 1574 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
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::net::filter::NatInstallationHook & hook ()
The optional hook in which to install the routine. If a
routine is not installed on a particular hook, it can only
be reached from other routines.
* The `INGRESS` hook occurs for incoming traffic before a
routing decision has been made.
* The `LOCAL_INGRESS` hook occurs for incoming traffic that
is destined for the local host.
* The `LOCAL_EGRESS` hook occurs for locally-generated
traffic before a routing decision has been made.
* The `EGRESS` hook occurs for all outgoing traffic after a
routing decision has been made.
Required.
Defined at line 1593 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool has_hook ()
Defined at line 1597 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::NatInstallationHook * mutable_hook ()
The optional hook in which to install the routine. If a
routine is not installed on a particular hook, it can only
be reached from other routines.
* The `INGRESS` hook occurs for incoming traffic before a
routing decision has been made.
* The `LOCAL_INGRESS` hook occurs for incoming traffic that
is destined for the local host.
* The `LOCAL_EGRESS` hook occurs for locally-generated
traffic before a routing decision has been made.
* The `EGRESS` hook occurs for all outgoing traffic after a
routing decision has been made.
Required.
Defined at line 1614 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void clear_hook ()
Defined at line 1622 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
const int32_t & priority ()
The priority of the routine relative to other routines
installed on the same hook.
Interpreted as `DEFAULT_ROUTINE_PRIORITY` if unset.
Defined at line 1634 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool has_priority ()
Defined at line 1638 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
int32_t * mutable_priority ()
The priority of the routine relative to other routines
installed on the same hook.
Interpreted as `DEFAULT_ROUTINE_PRIORITY` if unset.
Defined at line 1646 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void clear_priority ()
Defined at line 1654 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
InstalledNatRoutine & set_hook (::fuchsia::net::filter::NatInstallationHook _value)
InstalledNatRoutine & set_priority (int32_t _value)
void InstalledNatRoutine ()
void InstalledNatRoutine (InstalledNatRoutine && other)
void ~InstalledNatRoutine ()
InstalledNatRoutine & operator= (InstalledNatRoutine && other)
::std::unique_ptr<InstalledNatRoutine> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, InstalledNatRoutine * _value, size_t _offset)
zx_status_t Clone (InstalledNatRoutine * _result)