class RuleMatcherV4

Defined at line 3671 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

The matcher part of the rule that is used to match 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 ::fuchsia::net::Ipv4AddressWithPrefix & from ()

Matches whether the source address of the packet is from the subnet.

Defined at line 3678 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

bool has_from ()

Defined at line 3682 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

::fuchsia::net::Ipv4AddressWithPrefix * mutable_from ()

Matches whether the source address of the packet is from the subnet.

Defined at line 3687 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

void clear_from ()

Defined at line 3695 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

const ::fuchsia::net::routes::BaseMatcher & base ()

The rest of the matcher that is common between IP versions.

Interpreted as an empty table if absent.

Defined at line 3706 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

bool has_base ()

Defined at line 3710 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

::fuchsia::net::routes::BaseMatcher * mutable_base ()

The rest of the matcher that is common between IP versions.

Interpreted as an empty table if absent.

Defined at line 3717 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

void clear_base ()

Defined at line 3725 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/hlcpp/fuchsia/net/routes/cpp/fidl.h

RuleMatcherV4 & set_from (::fuchsia::net::Ipv4AddressWithPrefix _value)
RuleMatcherV4 & set_base (::fuchsia::net::routes::BaseMatcher _value)
void RuleMatcherV4 ()
void RuleMatcherV4 (RuleMatcherV4 && other)
void ~RuleMatcherV4 ()
RuleMatcherV4 & operator= (RuleMatcherV4 && other)
::std::unique_ptr<RuleMatcherV4> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RuleMatcherV4 * _value, size_t _offset)
zx_status_t Clone (RuleMatcherV4 * _result)