class AddressMatcherType

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

Public Members

static const fidl_type_t * FidlType

Public Methods

void AddressMatcherType ()
void ~AddressMatcherType ()
void AddressMatcherType (AddressMatcherType && )
AddressMatcherType & operator= (AddressMatcherType && )
AddressMatcherType WithSubnet (::fuchsia::net::Subnet && )
AddressMatcherType WithRange (::fuchsia::net::matchers::AddressRange && )
::std::unique_ptr<AddressMatcherType> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AddressMatcherType * value, size_t offset)
zx_status_t Clone (AddressMatcherType * result)
bool has_invalid_tag ()

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

bool is_subnet ()

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

AddressMatcherType & set_subnet (::fuchsia::net::Subnet value)
::fuchsia::net::Subnet & subnet ()

The subnet that must contain the IP address in the packet header in

order for it to match.

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

const ::fuchsia::net::Subnet & subnet ()

The subnet that must contain the IP address in the packet header in

order for it to match.

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

bool is_range ()

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

::fuchsia::net::matchers::AddressRange & range ()

The range of addresses that must include the IP address in the

packet header in order for it to match.

The endpoints of the range must be in the same address family, and

`start` must

<

= `end`. (Comparisons are performed on the numerical

big-endian representation of the IP address.)

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

const ::fuchsia::net::matchers::AddressRange & range ()

The range of addresses that must include the IP address in the

packet header in order for it to match.

The endpoints of the range must be in the same address family, and

`start` must

<

= `end`. (Comparisons are performed on the numerical

big-endian representation of the IP address.)

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

AddressMatcherType & set_range (::fuchsia::net::matchers::AddressRange value)
AddressMatcherType & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::net::matchers::AddressMatcherType::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

Enumerations

enum Tag
Name Value
kUnknown 0
kSubnet 1
kRange 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality