class RecvMsgMeta

Defined at line 14759 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.

RecvMsgMeta & set_from (::fuchsia::net::SocketAddress _value)
RecvMsgMeta & set_control (::fuchsia::posix::socket::DatagramSocketRecvControlData _value)
RecvMsgMeta & set_payload_len (uint16_t _value)
void RecvMsgMeta ()
void RecvMsgMeta (RecvMsgMeta && other)
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)
const ::fuchsia::net::SocketAddress & from ()

The from address of the datagram.

Defined at line 14766 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 14770 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 14775 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 14783 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 14792 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 14796 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 14801 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 14809 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 14818 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 14822 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 14827 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 14835 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h