class RecvMsgMeta

Defined at line 14830 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

Metadata of a received datagram.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void RecvMsgMeta ()
void RecvMsgMeta (RecvMsgMeta && other)
const ::fuchsia::net::SocketAddress & from ()

The from address of the datagram.

Defined at line 14837 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

bool has_from ()

Defined at line 14841 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

::fuchsia::net::SocketAddress * mutable_from ()

The from address of the datagram.

Defined at line 14846 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

void clear_from ()

Defined at line 14854 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

const ::fuchsia::posix::socket::DatagramSocketRecvControlData & control ()

Ancillary control message data describing the datagram.

Defined at line 14863 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

bool has_control ()

Defined at line 14867 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

::fuchsia::posix::socket::DatagramSocketRecvControlData * mutable_control ()

Ancillary control message data describing the datagram.

Defined at line 14872 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

void clear_control ()

Defined at line 14880 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

const uint16_t & payload_len ()

The length of the payload, in bytes.

Defined at line 14889 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

bool has_payload_len ()

Defined at line 14893 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

uint16_t * mutable_payload_len ()

The length of the payload, in bytes.

Defined at line 14898 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

void clear_payload_len ()

Defined at line 14906 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h

RecvMsgMeta & set_from (::fuchsia::net::SocketAddress _value)
RecvMsgMeta & set_control (::fuchsia::posix::socket::DatagramSocketRecvControlData _value)
RecvMsgMeta & set_payload_len (uint16_t _value)
void ~RecvMsgMeta ()
RecvMsgMeta & operator= (RecvMsgMeta && other)
::std::unique_ptr<RecvMsgMeta> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RecvMsgMeta * _value, size_t _offset)
zx_status_t Clone (RecvMsgMeta * _result)