class BaseMatcher
Defined at line 3486 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
The common matcher that can be matched to both IPv4 and IPv6 packets.
A matcher matches a packet if all of the present fields match the
corresponding properties.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const bool & locally_generated ()
Matches the packet iff the packet was locally generated.
Defined at line 3493 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
bool has_locally_generated ()
Defined at line 3497 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
bool * mutable_locally_generated ()
Matches the packet iff the packet was locally generated.
Defined at line 3502 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
void clear_locally_generated ()
Defined at line 3510 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
const ::fuchsia::net::matchers::BoundInterface & bound_device ()
Matches on the originating interface of the outgoing packet.
Defined at line 3519 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
bool has_bound_device ()
Defined at line 3523 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
::fuchsia::net::matchers::BoundInterface * mutable_bound_device ()
Matches on the originating interface of the outgoing packet.
Defined at line 3528 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
void clear_bound_device ()
Defined at line 3536 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
const ::fuchsia::net::matchers::Mark & mark_1 ()
Matches the MARK_1 domain.
Defined at line 3545 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
bool has_mark_1 ()
Defined at line 3549 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
::fuchsia::net::matchers::Mark * mutable_mark_1 ()
Matches the MARK_1 domain.
Defined at line 3554 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
void clear_mark_1 ()
Defined at line 3562 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
const ::fuchsia::net::matchers::Mark & mark_2 ()
Matches for the MARK_2 domain.
Defined at line 3571 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
bool has_mark_2 ()
Defined at line 3575 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
::fuchsia::net::matchers::Mark * mutable_mark_2 ()
Matches for the MARK_2 domain.
Defined at line 3580 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
void clear_mark_2 ()
Defined at line 3588 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h
BaseMatcher & set_locally_generated (bool _value)
BaseMatcher & set_bound_device (::fuchsia::net::matchers::BoundInterface _value)
BaseMatcher & set_mark_1 (::fuchsia::net::matchers::Mark _value)
BaseMatcher & set_mark_2 (::fuchsia::net::matchers::Mark _value)
void BaseMatcher ()
void BaseMatcher (BaseMatcher && other)
void ~BaseMatcher ()
BaseMatcher & operator= (BaseMatcher && other)
::std::unique_ptr<BaseMatcher> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, BaseMatcher * _value, size_t _offset)
zx_status_t Clone (BaseMatcher * _result)