class ProtocolAssociation
Defined at line 316 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h
The protocol a raw socket is associated with.
Public Methods
void ProtocolAssociation ()
void ProtocolAssociation (const ProtocolAssociation & )
Defined at line 320 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h
ProtocolAssociation & operator= (const ProtocolAssociation & )
Defined at line 321 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h
void ProtocolAssociation (ProtocolAssociation && )
Defined at line 322 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h
bool has_invalid_tag ()
bool is_unassociated ()
ProtocolAssociation WithUnassociated (::fuchsia_posix_socket_raw::wire::Empty val)
Indicates no association with any protocol.
The socket will not receive packets. Sent packets must include the
network header.
ProtocolAssociation & operator= (ProtocolAssociation && )
Defined at line 323 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h
::fuchsia_posix_socket_raw::wire::Empty & unassociated ()
Indicates no association with any protocol.
The socket will not receive packets. Sent packets must include the
network header.
const ::fuchsia_posix_socket_raw::wire::Empty & unassociated ()
Indicates no association with any protocol.
The socket will not receive packets. Sent packets must include the
network header.
bool is_associated ()
ProtocolAssociation WithAssociated (uint8_t val)
The associated protocol.
The socket may only send and receive network packets for the associated
protocol.
uint8_t & associated ()
The associated protocol.
The socket may only send and receive network packets for the associated
protocol.
const uint8_t & associated ()
The associated protocol.
The socket may only send and receive network packets for the associated
protocol.
::fuchsia_posix_socket_raw::wire::ProtocolAssociation::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnassociated | 1 |
| kAssociated | 2 |
Defined at line 325 of file fidling/gen/sdk/fidl/fuchsia.posix.socket.raw/fuchsia.posix.socket.raw/cpp/fidl/fuchsia.posix.socket.raw/cpp/wire_types.h