class Masquerade
Defined at line 2930 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::PortRange & src_port ()
The optional range of source ports used to rewrite the packet.
The source port will be rewritten if necessary to ensure the
packet's flow does not conflict with an existing tracked connection.
Note that the source port may be rewritten whether or not this range
is specified.
If specified, this overrides the default behavior and restricts the
range of possible values to which the source port can be rewritten.
Defined at line 2945 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
bool has_src_port ()
Defined at line 2949 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
::fuchsia::net::filter::PortRange * mutable_src_port ()
The optional range of source ports used to rewrite the packet.
The source port will be rewritten if necessary to ensure the
packet's flow does not conflict with an existing tracked connection.
Note that the source port may be rewritten whether or not this range
is specified.
If specified, this overrides the default behavior and restricts the
range of possible values to which the source port can be rewritten.
Defined at line 2962 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
void clear_src_port ()
Defined at line 2970 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h
Masquerade & set_src_port (::fuchsia::net::filter::PortRange _value)
void Masquerade ()
void Masquerade (Masquerade && other)
void ~Masquerade ()
Masquerade & operator= (Masquerade && other)
::std::unique_ptr<Masquerade> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Masquerade * _value, size_t _offset)
zx_status_t Clone (Masquerade * _result)