class Routine
Defined at line 2024 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
A routine.
A routine is a sequence of [`Rule`]s. It is analogous to a chain in
Netfilter.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::net::filter::RoutineId & id ()
The ID of the routine.
Must be unique within the scope of the namespace in which the routine is
created.
Defined at line 2034 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool has_id ()
Defined at line 2038 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RoutineId * mutable_id ()
The ID of the routine.
Must be unique within the scope of the namespace in which the routine is
created.
Defined at line 2046 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void clear_id ()
Defined at line 2054 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Routine & set_id (::fuchsia::net::filter::RoutineId _value)
const ::fuchsia::net::filter::RoutineType & type ()
The type of the routine.
IP routines can only include rules with ordinary filter actions, whereas
NAT routines can also include rules with NAT actions.
Note that NAT routines are only executed *once* for a given connection,
for the first packet in the flow.
Defined at line 2069 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool has_type ()
Defined at line 2073 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::RoutineType * mutable_type ()
The type of the routine.
IP routines can only include rules with ordinary filter actions, whereas
NAT routines can also include rules with NAT actions.
Note that NAT routines are only executed *once* for a given connection,
for the first packet in the flow.
Defined at line 2084 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void clear_type ()
Defined at line 2092 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Routine & set_type (::fuchsia::net::filter::RoutineType _value)
void Routine ()
void Routine (Routine && other)
void ~Routine ()
Routine & operator= (Routine && other)
::std::unique_ptr<Routine> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Routine * _value, size_t _offset)
zx_status_t Clone (Routine * _result)