class PacketTransportProtocol

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

A matcher for transport-layer information in packets.

Public Members

static const fidl_type_t * FidlType

Public Methods

::fuchsia::net::matchers::IcmpPacket & icmp ()

Defined at line 911 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 951 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h

void PacketTransportProtocol ()
void PacketTransportProtocol (PacketTransportProtocol && )
::std::unique_ptr<PacketTransportProtocol> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PacketTransportProtocol * value, size_t offset)
zx_status_t Clone (PacketTransportProtocol * result)
PacketTransportProtocol & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()

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

bool is_tcp ()

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

::fuchsia::net::matchers::TcpPacket & tcp ()

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

const ::fuchsia::net::matchers::TcpPacket & tcp ()

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

bool is_udp ()

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

::fuchsia::net::matchers::UdpPacket & udp ()

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

const ::fuchsia::net::matchers::UdpPacket & udp ()

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

bool is_icmp ()

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

const ::fuchsia::net::matchers::IcmpPacket & icmp ()

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

bool is_icmpv6 ()

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

::fuchsia::net::matchers::Icmpv6Packet & icmpv6 ()

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

const ::fuchsia::net::matchers::Icmpv6Packet & icmpv6 ()

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

::fuchsia::net::matchers::PacketTransportProtocol::Tag Which ()

Defined at line 936 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 954 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h

void ~PacketTransportProtocol ()
PacketTransportProtocol & operator= (PacketTransportProtocol && )
PacketTransportProtocol WithTcp (::fuchsia::net::matchers::TcpPacket && )
PacketTransportProtocol WithUdp (::fuchsia::net::matchers::UdpPacket && )
PacketTransportProtocol WithIcmp (::fuchsia::net::matchers::IcmpPacket && )
PacketTransportProtocol WithIcmpv6 (::fuchsia::net::matchers::Icmpv6Packet && )
PacketTransportProtocol & set_tcp (::fuchsia::net::matchers::TcpPacket value)
PacketTransportProtocol & set_udp (::fuchsia::net::matchers::UdpPacket value)
PacketTransportProtocol & set_icmp (::fuchsia::net::matchers::IcmpPacket value)
PacketTransportProtocol & set_icmpv6 (::fuchsia::net::matchers::Icmpv6Packet value)

Enumerations

enum Tag
Name Value
kUnknown 0
kTcp 1
kUdp 2
kIcmp 3
kIcmpv6 4
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality