class IpRecvControlData

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

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

IpRecvControlData & set_tos (uint8_t _value)
IpRecvControlData & set_ttl (uint8_t _value)
IpRecvControlData & set_original_destination_address (::fuchsia::net::SocketAddress _value)
void IpRecvControlData ()
void IpRecvControlData (IpRecvControlData && other)
void ~IpRecvControlData ()
IpRecvControlData & operator= (IpRecvControlData && other)
::std::unique_ptr<IpRecvControlData> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, IpRecvControlData * _value, size_t _offset)
zx_status_t Clone (IpRecvControlData * _result)
const uint8_t & tos ()

The Type of Service value found in a received packet's IPv4 header.

Present if the `SOL_IP` -> `IP_RECVTOS` option is enabled.

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

bool has_tos ()

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

uint8_t * mutable_tos ()

The Type of Service value found in a received packet's IPv4 header.

Present if the `SOL_IP` -> `IP_RECVTOS` option is enabled.

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

void clear_tos ()

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

const uint8_t & ttl ()

The Time to Live value found in a received packet's IPv4 header.

Present if the `SOL_IP` -> `IP_RECVTTL` option is enabled.

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

bool has_ttl ()

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

uint8_t * mutable_ttl ()

The Time to Live value found in a received packet's IPv4 header.

Present if the `SOL_IP` -> `IP_RECVTTL` option is enabled.

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

void clear_ttl ()

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

const ::fuchsia::net::SocketAddress & original_destination_address ()

The original destination address.

Present if the `SOL_IP` -> `IP_RECVORIGDSTADDR` option is enabled.

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

bool has_original_destination_address ()

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

::fuchsia::net::SocketAddress * mutable_original_destination_address ()

The original destination address.

Present if the `SOL_IP` -> `IP_RECVORIGDSTADDR` option is enabled.

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

void clear_original_destination_address ()

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