class NetworkSocketSendControlData
Defined at line 14445 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Network socket (L3) ancillary data that can be sent.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
NetworkSocketSendControlData & set_socket (::fuchsia::posix::socket::SocketSendControlData _value)
NetworkSocketSendControlData & set_ip (::fuchsia::posix::socket::IpSendControlData _value)
NetworkSocketSendControlData & set_ipv6 (::fuchsia::posix::socket::Ipv6SendControlData _value)
void NetworkSocketSendControlData ()
void NetworkSocketSendControlData (NetworkSocketSendControlData && other)
void ~NetworkSocketSendControlData ()
NetworkSocketSendControlData & operator= (NetworkSocketSendControlData && other)
::std::unique_ptr<NetworkSocketSendControlData> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, NetworkSocketSendControlData * _value, size_t _offset)
zx_status_t Clone (NetworkSocketSendControlData * _result)
const ::fuchsia::posix::socket::SocketSendControlData & socket ()
Socket level ancillary data.
Defined at line 14452 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_socket ()
Defined at line 14456 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::SocketSendControlData * mutable_socket ()
Socket level ancillary data.
Defined at line 14461 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_socket ()
Defined at line 14469 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::fuchsia::posix::socket::IpSendControlData & ip ()
IPv4 level ancillary data.
These match POSIX `SOL_IP` control messages.
Defined at line 14480 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_ip ()
Defined at line 14484 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::IpSendControlData * mutable_ip ()
IPv4 level ancillary data.
These match POSIX `SOL_IP` control messages.
Defined at line 14491 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_ip ()
Defined at line 14499 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::fuchsia::posix::socket::Ipv6SendControlData & ipv6 ()
IPv6 level ancillary data.
These match POSIX `SOL_IPV6` control messages.
Defined at line 14510 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool has_ipv6 ()
Defined at line 14514 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::Ipv6SendControlData * mutable_ipv6 ()
IPv6 level ancillary data.
These match POSIX `SOL_IPV6` control messages.
Defined at line 14521 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
void clear_ipv6 ()
Defined at line 14529 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h