Google is committed to advancing racial equity for Black communities. See how.

fuchsia.posix.socket

PROTOCOLS

BaseNetworkSocket

Defined in fuchsia.posix.socket/socket.fidl

A network socket.

AddIpMembership

Set SOL_IP -> IP_ADD_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpMembership_Result

AddIpv6Membership

Set SOL_IPV6 -> IPV6_ADD_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpv6Membership_Result

BaseSocketAddIpMembership

DEPRECATED - Use AddIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpMembership_Result

BaseSocketAddIpv6Membership

DEPRECATED - Use AddIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpv6Membership_Result

BaseSocketBind

DEPRECATED - Use Bind instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketBind_Result

BaseSocketConnect

DEPRECATED - Use Connect instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketConnect_Result

BaseSocketDisconnect

DEPRECATED - Use Disconnect instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketDisconnect_Result

BaseSocketDropIpMembership

DEPRECATED - Use DropIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpMembership_Result

BaseSocketDropIpv6Membership

DEPRECATED - Use DropIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpv6Membership_Result

BaseSocketGetIpMulticastInterface

DEPRECATED - Use GetIpMulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Result

BaseSocketGetIpMulticastLoopback

DEPRECATED - Use GetIpMulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Result

BaseSocketGetIpMulticastTtl

DEPRECATED - Use GetIpMulticastTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Result

BaseSocketGetIpPacketInfo

DEPRECATED - Use GetIpPacketInfo instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpPacketInfo_Result

BaseSocketGetIpReceiveTypeOfService

DEPRECATED - Use GetIpReceiveTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Result

BaseSocketGetIpTtl

DEPRECATED - Use GetIpTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTtl_Result

BaseSocketGetIpTypeOfService

DEPRECATED - Use GetIpTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTypeOfService_Result

BaseSocketGetIpv6MulticastHops

DEPRECATED - Use GetIpv6MulticastHops instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Result

BaseSocketGetIpv6MulticastInterface

DEPRECATED - Use GetIpv6MulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Result

BaseSocketGetIpv6MulticastLoopback

DEPRECATED - Use GetIpv6MulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Result

BaseSocketGetIpv6Only

DEPRECATED - Use GetIpv6Only instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6Only_Result

BaseSocketGetIpv6ReceiveTrafficClass

DEPRECATED - Use GetIpv6ReceiveTrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Result

BaseSocketGetIpv6TrafficClass

DEPRECATED - Use GetIpv6TrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Result

BaseSocketGetPeerName

DEPRECATED - Use GetPeerName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetPeerName_Result

BaseSocketGetSockName

DEPRECATED - Use GetSockName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetSockName_Result

BaseSocketSetIpMulticastInterface

DEPRECATED - Use SetIpMulticastInterface instead

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Result

BaseSocketSetIpMulticastLoopback

DEPRECATED - Use SetIpMulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Result

BaseSocketSetIpMulticastTtl

DEPRECATED - Use SetIpMulticastTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Result

BaseSocketSetIpPacketInfo

DEPRECATED - Use SetIpPacketInfo instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpPacketInfo_Result

BaseSocketSetIpReceiveTypeOfService

DEPRECATED - Use SetIpReceiveTypeOfService instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Result

BaseSocketSetIpTtl

DEPRECATED - Use SetIpTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTtl_Result

BaseSocketSetIpTypeOfService

DEPRECATED - Use SetIpTypeOfService instead

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTypeOfService_Result

BaseSocketSetIpv6MulticastHops

DEPRECATED - Use SetIpv6MulticastHops instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Result

BaseSocketSetIpv6MulticastInterface

DEPRECATED - Use SetIpv6MulticastInterface instead

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Result

BaseSocketSetIpv6MulticastLoopback

DEPRECATED - Use SetIpv6MulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Result

BaseSocketSetIpv6Only

DEPRECATED - Use SetIpv6Only instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6Only_Result

BaseSocketSetIpv6ReceiveTrafficClass

DEPRECATED - Use SetIpv6ReceiveTrafficClass instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Result

BaseSocketSetIpv6TrafficClass

DEPRECATED - Use SetIpv6TrafficClass instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Result

BaseSocketShutdown

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown_Result

BaseSocketShutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown2_Result

Bind

Sets the local address used for the socket.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Bind_Result

Clone

Create another connection to the same remote object.

flags may be any of:

  • OPEN_RIGHT_*
  • OPEN_FLAG_APPEND
  • OPEN_FLAG_NO_REMOTE
  • OPEN_FLAG_DESCRIBE
  • CLONE_FLAG_SAME_RIGHTS

All other flags are ignored.

The OPEN_RIGHT_* bits in flags request corresponding rights over the resulting cloned object. The cloned object must have rights less than or equal to the original object, otherwise returns ZX_ERR_ACCESS_DENIED. Alternatively, pass CLONE_FLAG_SAME_RIGHTS to inherit the rights on the source connection. It is invalid to pass any of the OPEN_RIGHT_* flags together with CLONE_FLAG_SAME_RIGHTS.

Request

NameType
flags uint32
object request<fuchsia.io/Node>

Close

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Close2

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Close2_Result

Connect

Initiates a connection to a remote address.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Connect_Result

Describe

Returns extra information about the type of the object. If the Describe operation fails, the connection is closed.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
info fuchsia.io/NodeInfo

Describe2

Returns extra connection information and auxiliary handles.

  • query specifies the fields in ConnectionInfo that the caller is interested in.

When all known bits in query are set, the return value matches the one from OnConnectionInfo, as if the caller requested that event using ConnectionFlags.GET_CONNECTION_INFO.

If the Describe operation fails, the connection is closed with the associated error.

This method does not require any rights.

Request

NameType
query fuchsia.io/ConnectionInfoQuery

Response

NameType
info fuchsia.io/ConnectionInfo

Disconnect

Clears connection information from this socket.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_Disconnect_Result

DropIpMembership

Set SOL_IP -> IP_DROP_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpMembership_Result

DropIpv6Membership

Set SOL_IPV6 -> IPV6_DROP_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpv6Membership_Result

GetAcceptConn

Get SOL_SOCKET -> SO_ACCEPTCONN.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetAcceptConn_Result

GetAttr

Acquires information about the node.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status
attributes fuchsia.io/NodeAttributes

GetAttributes

Acquires information about the node.

The attributes of a node should be stable, independent of the specific protocol used to access it.

  • query a bit-mask specifying which attributes to fetch. The server should not return more than necessary.
  • attributes the returned attributes.

This method requires the Rights.GET_ATTRIBUTES right.

Request

NameType
query fuchsia.io/NodeAttributesQuery

Response

NameType
result fuchsia.io/Node_GetAttributes_Result

GetBindToDevice

Get SOL_SOCKET -> SO_BINDTODEVICE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBindToDevice_Result

GetBroadcast

Get SOL_SOCKET -> SO_BROADCAST.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBroadcast_Result

GetError

Get SOL_SOCKET -> SO_ERROR. Returns the last error if there is an error set on the socket.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetError_Result

GetIpMulticastInterface

Get SOL_IP -> IP_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastInterface_Result

GetIpMulticastLoopback

Get SOL_IP -> IP_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastLoopback_Result

GetIpMulticastTtl

Get SOL_IP -> IP_MULTICAST_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastTtl_Result

GetIpPacketInfo

Get SOL_IP -> IP_PKTINFO.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpPacketInfo_Result

GetIpReceiveTypeOfService

Get SOL_IP -> IP_RECVTOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpReceiveTypeOfService_Result

GetIpTtl

Get SOL_IP -> IP_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTtl_Result

GetIpTypeOfService

Get SOL_IP -> IP_TOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTypeOfService_Result

GetIpv6MulticastHops

Get SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastHops_Result

GetIpv6MulticastInterface

Get SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastInterface_Result

GetIpv6MulticastLoopback

Get SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastLoopback_Result

GetIpv6Only

Get SOL_IPV6 -> IPV6_V6ONLY.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6Only_Result

GetIpv6ReceiveTrafficClass

Get SOL_IPV6 -> IPV6_RECVTCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result

GetIpv6TrafficClass

Get SOL_IPV6 -> IPV6_TCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6TrafficClass_Result

GetKeepAlive

Get SOL_SOCKET -> SO_KEEPALIVE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetKeepAlive_Result

GetLinger

Get SOL_SOCKET -> SO_LINGER.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetLinger_Result

GetNoCheck

Get SOL_SOCKET -> SO_NO_CHECK.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetNoCheck_Result

GetOutOfBandInline

Get SOL_SOCKET -> SO_OOBINLINE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetOutOfBandInline_Result

GetPeerName

Retrieves the remote socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetPeerName_Result

GetReceiveBuffer

Get SOL_SOCKET -> SO_RCVBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReceiveBuffer_Result

GetReuseAddress

Get SOL_SOCKET -> SO_REUSEADDR.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReuseAddress_Result

GetReusePort

Get SOL_SOCKET -> SO_REUSEPORT.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReusePort_Result

GetSendBuffer

Get SOL_SOCKET -> SO_SNDBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetSendBuffer_Result

GetSockName

Retrieves the local socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetSockName_Result

GetTimestamp

Get SOL_SOCKET -> SO_TIMESTAMP.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetTimestamp_Result

IoToIo2Placeholder

This message should never be sent or received.

This declaration exists to let keep the Rust bindings compiling as we add and remove transitional elements from the fuchsia.io protocols. Without this declaration, the users of the Rust bindings fail to compile when there aren't any transitional protocol elements.

DEPRECATED

Request

<EMPTY>

NodeGetFlags

Acquires the Directory.Open rights and flags used to access this file.

This method does not require any rights. This method has the same functionality as GetFlags for File and is meant as an in-progress replacement.

Request

<EMPTY>

Response

NameType
s zx/status
flags uint32

NodeSetFlags

Changes the Directory.Open flags used to access the file. Supported flags which can be turned on / off:

  • OPEN_FLAG_APPEND

This method does not require any rights. This method has the same functionality as SetFlags for File and is meant as an in-progress replacement.

Request

NameType
flags uint32

Response

NameType
s zx/status

OnConnectionInfo

An event produced eagerly by the server if requested by ConnectionFlags.GET_CONNECTION_INFO. This event will be the first message from the server, and is sent exactly once.

Different from fuchsia.io/OnOpen, an error during open/reopen is always manifested as an epitaph.

Response

NameType
info fuchsia.io/ConnectionInfo

OnOpen

An event produced eagerly by a FIDL server if requested by OPEN_FLAG_DESCRIBE.

Indicates the success or failure of the open operation, and optionally describes the object. If the status is ZX_OK, info contains descriptive information about the object (the same as would be returned by Describe).

Response

NameType
s zx/status
info fuchsia.io/NodeInfo?

Reopen

Creates another connection to the same node.

  • options options applicable to both Open and Reopen, including negotiating protocol and restricting rights. See fuchsia.io2/ConnectionOptions.
  • object_request is the server end of a channel created for the new connection. The caller may proceed to send messages on the corresponding client end right away.

For files, the cloned connection and the original connection have independent seek offsets.

Request

NameType
options fuchsia.io/ConnectionOptions
object_request handle<channel>

SetAttr

Updates information about the node. flags may be any of NODE_ATTRIBUTE_FLAG_*.

This method requires following rights: OPEN_RIGHT_WRITABLE, otherwise returns ZX_ERR_BAD_HANDLE.

Request

NameType
flags uint32
attributes fuchsia.io/NodeAttributes

Response

NameType
s zx/status

SetBindToDevice

Set SOL_SOCKET -> SO_BINDTODEVICE.

Request

NameType
value fuchsia.net.interfaces/name

Response

NameType
result BaseSocket_SetBindToDevice_Result

SetBroadcast

Set SOL_SOCKET -> SO_BROADCAST.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetBroadcast_Result

SetIpMulticastInterface

Set SOL_IP -> IP_MULTICAST_IF.

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_SetIpMulticastInterface_Result

SetIpMulticastLoopback

Set SOL_IP -> IP_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpMulticastLoopback_Result

SetIpMulticastTtl

Set SOL_IP -> IP_MULTICAST_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpMulticastTtl_Result

SetIpPacketInfo

Set SOL_IP -> IP_PKTINFO.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpPacketInfo_Result

SetIpReceiveTypeOfService

Set SOL_IP -> IP_RECVTOS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpReceiveTypeOfService_Result

SetIpTtl

Set SOL_IP -> IP_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpTtl_Result

SetIpTypeOfService

Set SOL_IP -> IP_TOS.

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_SetIpTypeOfService_Result

SetIpv6MulticastHops

Set SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastHops_Result

SetIpv6MulticastInterface

Set SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastInterface_Result

SetIpv6MulticastLoopback

Set SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastLoopback_Result

SetIpv6Only

Set SOL_IPV6 -> IPV6_V6ONLY.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6Only_Result

SetIpv6ReceiveTrafficClass

Set SOL_IPV6 -> IPV6_RECVTCLASS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result

SetIpv6TrafficClass

Set SOL_IPV6 -> IPV6_TCLASS

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6TrafficClass_Result

SetKeepAlive

Set SOL_SOCKET -> SO_KEEPALIVE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetKeepAlive_Result

SetLinger

Set SOL_SOCKET -> SO_LINGER.

Request

NameType
linger bool
length_secs uint32

Response

NameType
result BaseSocket_SetLinger_Result

SetNoCheck

Set SOL_SOCKET -> SO_NO_CHECK.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetNoCheck_Result

SetOutOfBandInline

Set SOL_SOCKET -> SO_OOBINLINE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetOutOfBandInline_Result

SetReceiveBuffer

Set SOL_SOCKET -> SO_RCVBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetReceiveBuffer_Result

SetReuseAddress

Set SOL_SOCKET -> SO_REUSEADDR.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReuseAddress_Result

SetReusePort

Set SOL_SOCKET -> SO_REUSEPORT.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReusePort_Result

SetSendBuffer

Set SOL_SOCKET -> SO_SNDBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetSendBuffer_Result

SetTimestamp

Set SOL_SOCKET -> SO_TIMESTAMP.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetTimestamp_Result

Shutdown

Shuts down part of the socket.

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown_Result

Shutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown2_Result

Sync

Synchronizes updates to the node to the underlying media, if it exists.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Sync2

Synchronizes updates to the node to the underlying media, if it exists.

This method will return when the filesystem server has flushed the relevant updates to the underlying media, but does not guarantee the underlying media has persisted the information, nor that any information is committed to hardware. Clients may use Sync to ensure ordering between operations.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Sync2_Result

UpdateAttributes

Updates information about the node.

  • attributes the presence of a table field in attributes indicates the intent to update the corresponding attribute.

This method requires the Rights.UPDATE_ATTRIBUTES right.

Request

NameType
attributes fuchsia.io/NodeAttributes2

Response

NameType
result fuchsia.io/Node_UpdateAttributes_Result

BaseSocket

Defined in fuchsia.posix.socket/socket.fidl

A socket.

Clone

Create another connection to the same remote object.

flags may be any of:

  • OPEN_RIGHT_*
  • OPEN_FLAG_APPEND
  • OPEN_FLAG_NO_REMOTE
  • OPEN_FLAG_DESCRIBE
  • CLONE_FLAG_SAME_RIGHTS

All other flags are ignored.

The OPEN_RIGHT_* bits in flags request corresponding rights over the resulting cloned object. The cloned object must have rights less than or equal to the original object, otherwise returns ZX_ERR_ACCESS_DENIED. Alternatively, pass CLONE_FLAG_SAME_RIGHTS to inherit the rights on the source connection. It is invalid to pass any of the OPEN_RIGHT_* flags together with CLONE_FLAG_SAME_RIGHTS.

Request

NameType
flags uint32
object request<fuchsia.io/Node>

Close

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Close2

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Close2_Result

Describe

Returns extra information about the type of the object. If the Describe operation fails, the connection is closed.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
info fuchsia.io/NodeInfo

Describe2

Returns extra connection information and auxiliary handles.

  • query specifies the fields in ConnectionInfo that the caller is interested in.

When all known bits in query are set, the return value matches the one from OnConnectionInfo, as if the caller requested that event using ConnectionFlags.GET_CONNECTION_INFO.

If the Describe operation fails, the connection is closed with the associated error.

This method does not require any rights.

Request

NameType
query fuchsia.io/ConnectionInfoQuery

Response

NameType
info fuchsia.io/ConnectionInfo

GetAcceptConn

Get SOL_SOCKET -> SO_ACCEPTCONN.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetAcceptConn_Result

GetAttr

Acquires information about the node.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status
attributes fuchsia.io/NodeAttributes

GetAttributes

Acquires information about the node.

The attributes of a node should be stable, independent of the specific protocol used to access it.

  • query a bit-mask specifying which attributes to fetch. The server should not return more than necessary.
  • attributes the returned attributes.

This method requires the Rights.GET_ATTRIBUTES right.

Request

NameType
query fuchsia.io/NodeAttributesQuery

Response

NameType
result fuchsia.io/Node_GetAttributes_Result

GetBindToDevice

Get SOL_SOCKET -> SO_BINDTODEVICE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBindToDevice_Result

GetBroadcast

Get SOL_SOCKET -> SO_BROADCAST.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBroadcast_Result

GetError

Get SOL_SOCKET -> SO_ERROR. Returns the last error if there is an error set on the socket.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetError_Result

GetKeepAlive

Get SOL_SOCKET -> SO_KEEPALIVE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetKeepAlive_Result

GetLinger

Get SOL_SOCKET -> SO_LINGER.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetLinger_Result

GetNoCheck

Get SOL_SOCKET -> SO_NO_CHECK.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetNoCheck_Result

GetOutOfBandInline

Get SOL_SOCKET -> SO_OOBINLINE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetOutOfBandInline_Result

GetReceiveBuffer

Get SOL_SOCKET -> SO_RCVBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReceiveBuffer_Result

GetReuseAddress

Get SOL_SOCKET -> SO_REUSEADDR.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReuseAddress_Result

GetReusePort

Get SOL_SOCKET -> SO_REUSEPORT.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReusePort_Result

GetSendBuffer

Get SOL_SOCKET -> SO_SNDBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetSendBuffer_Result

GetTimestamp

Get SOL_SOCKET -> SO_TIMESTAMP.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetTimestamp_Result

IoToIo2Placeholder

This message should never be sent or received.

This declaration exists to let keep the Rust bindings compiling as we add and remove transitional elements from the fuchsia.io protocols. Without this declaration, the users of the Rust bindings fail to compile when there aren't any transitional protocol elements.

DEPRECATED

Request

<EMPTY>

NodeGetFlags

Acquires the Directory.Open rights and flags used to access this file.

This method does not require any rights. This method has the same functionality as GetFlags for File and is meant as an in-progress replacement.

Request

<EMPTY>

Response

NameType
s zx/status
flags uint32

NodeSetFlags

Changes the Directory.Open flags used to access the file. Supported flags which can be turned on / off:

  • OPEN_FLAG_APPEND

This method does not require any rights. This method has the same functionality as SetFlags for File and is meant as an in-progress replacement.

Request

NameType
flags uint32

Response

NameType
s zx/status

OnConnectionInfo

An event produced eagerly by the server if requested by ConnectionFlags.GET_CONNECTION_INFO. This event will be the first message from the server, and is sent exactly once.

Different from fuchsia.io/OnOpen, an error during open/reopen is always manifested as an epitaph.

Response

NameType
info fuchsia.io/ConnectionInfo

OnOpen

An event produced eagerly by a FIDL server if requested by OPEN_FLAG_DESCRIBE.

Indicates the success or failure of the open operation, and optionally describes the object. If the status is ZX_OK, info contains descriptive information about the object (the same as would be returned by Describe).

Response

NameType
s zx/status
info fuchsia.io/NodeInfo?

Reopen

Creates another connection to the same node.

  • options options applicable to both Open and Reopen, including negotiating protocol and restricting rights. See fuchsia.io2/ConnectionOptions.
  • object_request is the server end of a channel created for the new connection. The caller may proceed to send messages on the corresponding client end right away.

For files, the cloned connection and the original connection have independent seek offsets.

Request

NameType
options fuchsia.io/ConnectionOptions
object_request handle<channel>

SetAttr

Updates information about the node. flags may be any of NODE_ATTRIBUTE_FLAG_*.

This method requires following rights: OPEN_RIGHT_WRITABLE, otherwise returns ZX_ERR_BAD_HANDLE.

Request

NameType
flags uint32
attributes fuchsia.io/NodeAttributes

Response

NameType
s zx/status

SetBindToDevice

Set SOL_SOCKET -> SO_BINDTODEVICE.

Request

NameType
value fuchsia.net.interfaces/name

Response

NameType
result BaseSocket_SetBindToDevice_Result

SetBroadcast

Set SOL_SOCKET -> SO_BROADCAST.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetBroadcast_Result

SetKeepAlive

Set SOL_SOCKET -> SO_KEEPALIVE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetKeepAlive_Result

SetLinger

Set SOL_SOCKET -> SO_LINGER.

Request

NameType
linger bool
length_secs uint32

Response

NameType
result BaseSocket_SetLinger_Result

SetNoCheck

Set SOL_SOCKET -> SO_NO_CHECK.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetNoCheck_Result

SetOutOfBandInline

Set SOL_SOCKET -> SO_OOBINLINE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetOutOfBandInline_Result

SetReceiveBuffer

Set SOL_SOCKET -> SO_RCVBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetReceiveBuffer_Result

SetReuseAddress

Set SOL_SOCKET -> SO_REUSEADDR.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReuseAddress_Result

SetReusePort

Set SOL_SOCKET -> SO_REUSEPORT.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReusePort_Result

SetSendBuffer

Set SOL_SOCKET -> SO_SNDBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetSendBuffer_Result

SetTimestamp

Set SOL_SOCKET -> SO_TIMESTAMP.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetTimestamp_Result

Sync

Synchronizes updates to the node to the underlying media, if it exists.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Sync2

Synchronizes updates to the node to the underlying media, if it exists.

This method will return when the filesystem server has flushed the relevant updates to the underlying media, but does not guarantee the underlying media has persisted the information, nor that any information is committed to hardware. Clients may use Sync to ensure ordering between operations.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Sync2_Result

UpdateAttributes

Updates information about the node.

  • attributes the presence of a table field in attributes indicates the intent to update the corresponding attribute.

This method requires the Rights.UPDATE_ATTRIBUTES right.

Request

NameType
attributes fuchsia.io/NodeAttributes2

Response

NameType
result fuchsia.io/Node_UpdateAttributes_Result

DatagramSocket

Defined in fuchsia.posix.socket/socket.fidl

A datagram socket.

This type's fuchsia.io.Node/Describe method returns an eventpair which is used to signal additional information about the state of the socket such as readiness or shutdown-ness.

All methods on this type are nonblocking; their exact behaviors match their Linux counterparts.

Warning: This protocol is not yet ready for direct use by clients. Instead, clients should use the BSD sockets API to interact with sockets. We plan to change this protocol substantially and clients that couple directly to this protocol will make those changes more difficult.

AddIpMembership

Set SOL_IP -> IP_ADD_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpMembership_Result

AddIpv6Membership

Set SOL_IPV6 -> IPV6_ADD_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpv6Membership_Result

BaseSocketAddIpMembership

DEPRECATED - Use AddIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpMembership_Result

BaseSocketAddIpv6Membership

DEPRECATED - Use AddIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpv6Membership_Result

BaseSocketBind

DEPRECATED - Use Bind instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketBind_Result

BaseSocketConnect

DEPRECATED - Use Connect instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketConnect_Result

BaseSocketDisconnect

DEPRECATED - Use Disconnect instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketDisconnect_Result

BaseSocketDropIpMembership

DEPRECATED - Use DropIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpMembership_Result

BaseSocketDropIpv6Membership

DEPRECATED - Use DropIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpv6Membership_Result

BaseSocketGetIpMulticastInterface

DEPRECATED - Use GetIpMulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Result

BaseSocketGetIpMulticastLoopback

DEPRECATED - Use GetIpMulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Result

BaseSocketGetIpMulticastTtl

DEPRECATED - Use GetIpMulticastTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Result

BaseSocketGetIpPacketInfo

DEPRECATED - Use GetIpPacketInfo instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpPacketInfo_Result

BaseSocketGetIpReceiveTypeOfService

DEPRECATED - Use GetIpReceiveTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Result

BaseSocketGetIpTtl

DEPRECATED - Use GetIpTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTtl_Result

BaseSocketGetIpTypeOfService

DEPRECATED - Use GetIpTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTypeOfService_Result

BaseSocketGetIpv6MulticastHops

DEPRECATED - Use GetIpv6MulticastHops instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Result

BaseSocketGetIpv6MulticastInterface

DEPRECATED - Use GetIpv6MulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Result

BaseSocketGetIpv6MulticastLoopback

DEPRECATED - Use GetIpv6MulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Result

BaseSocketGetIpv6Only

DEPRECATED - Use GetIpv6Only instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6Only_Result

BaseSocketGetIpv6ReceiveTrafficClass

DEPRECATED - Use GetIpv6ReceiveTrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Result

BaseSocketGetIpv6TrafficClass

DEPRECATED - Use GetIpv6TrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Result

BaseSocketGetPeerName

DEPRECATED - Use GetPeerName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetPeerName_Result

BaseSocketGetSockName

DEPRECATED - Use GetSockName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetSockName_Result

BaseSocketSetIpMulticastInterface

DEPRECATED - Use SetIpMulticastInterface instead

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Result

BaseSocketSetIpMulticastLoopback

DEPRECATED - Use SetIpMulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Result

BaseSocketSetIpMulticastTtl

DEPRECATED - Use SetIpMulticastTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Result

BaseSocketSetIpPacketInfo

DEPRECATED - Use SetIpPacketInfo instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpPacketInfo_Result

BaseSocketSetIpReceiveTypeOfService

DEPRECATED - Use SetIpReceiveTypeOfService instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Result

BaseSocketSetIpTtl

DEPRECATED - Use SetIpTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTtl_Result

BaseSocketSetIpTypeOfService

DEPRECATED - Use SetIpTypeOfService instead

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTypeOfService_Result

BaseSocketSetIpv6MulticastHops

DEPRECATED - Use SetIpv6MulticastHops instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Result

BaseSocketSetIpv6MulticastInterface

DEPRECATED - Use SetIpv6MulticastInterface instead

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Result

BaseSocketSetIpv6MulticastLoopback

DEPRECATED - Use SetIpv6MulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Result

BaseSocketSetIpv6Only

DEPRECATED - Use SetIpv6Only instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6Only_Result

BaseSocketSetIpv6ReceiveTrafficClass

DEPRECATED - Use SetIpv6ReceiveTrafficClass instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Result

BaseSocketSetIpv6TrafficClass

DEPRECATED - Use SetIpv6TrafficClass instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Result

BaseSocketShutdown

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown_Result

BaseSocketShutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown2_Result

Bind

Sets the local address used for the socket.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Bind_Result

Clone

Create another connection to the same remote object.

flags may be any of:

  • OPEN_RIGHT_*
  • OPEN_FLAG_APPEND
  • OPEN_FLAG_NO_REMOTE
  • OPEN_FLAG_DESCRIBE
  • CLONE_FLAG_SAME_RIGHTS

All other flags are ignored.

The OPEN_RIGHT_* bits in flags request corresponding rights over the resulting cloned object. The cloned object must have rights less than or equal to the original object, otherwise returns ZX_ERR_ACCESS_DENIED. Alternatively, pass CLONE_FLAG_SAME_RIGHTS to inherit the rights on the source connection. It is invalid to pass any of the OPEN_RIGHT_* flags together with CLONE_FLAG_SAME_RIGHTS.

Request

NameType
flags uint32
object request<fuchsia.io/Node>

Close

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Close2

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Close2_Result

Connect

Initiates a connection to a remote address.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Connect_Result

Describe

Returns extra information about the type of the object. If the Describe operation fails, the connection is closed.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
info fuchsia.io/NodeInfo

Describe2

Returns extra connection information and auxiliary handles.

  • query specifies the fields in ConnectionInfo that the caller is interested in.

When all known bits in query are set, the return value matches the one from OnConnectionInfo, as if the caller requested that event using ConnectionFlags.GET_CONNECTION_INFO.

If the Describe operation fails, the connection is closed with the associated error.

This method does not require any rights.

Request

NameType
query fuchsia.io/ConnectionInfoQuery

Response

NameType
info fuchsia.io/ConnectionInfo

Disconnect

Clears connection information from this socket.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_Disconnect_Result

DropIpMembership

Set SOL_IP -> IP_DROP_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpMembership_Result

DropIpv6Membership

Set SOL_IPV6 -> IPV6_DROP_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpv6Membership_Result

GetAcceptConn

Get SOL_SOCKET -> SO_ACCEPTCONN.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetAcceptConn_Result

GetAttr

Acquires information about the node.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status
attributes fuchsia.io/NodeAttributes

GetAttributes

Acquires information about the node.

The attributes of a node should be stable, independent of the specific protocol used to access it.

  • query a bit-mask specifying which attributes to fetch. The server should not return more than necessary.
  • attributes the returned attributes.

This method requires the Rights.GET_ATTRIBUTES right.

Request

NameType
query fuchsia.io/NodeAttributesQuery

Response

NameType
result fuchsia.io/Node_GetAttributes_Result

GetBindToDevice

Get SOL_SOCKET -> SO_BINDTODEVICE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBindToDevice_Result

GetBroadcast

Get SOL_SOCKET -> SO_BROADCAST.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBroadcast_Result

GetError

Get SOL_SOCKET -> SO_ERROR. Returns the last error if there is an error set on the socket.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetError_Result

GetInfo

Retrieves creation information from the socket.

  • response domain the socket's associated domain.
  • response proto the socket's associated protocol.

Request

<EMPTY>

Response

NameType
result DatagramSocket_GetInfo_Result

GetIpMulticastInterface

Get SOL_IP -> IP_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastInterface_Result

GetIpMulticastLoopback

Get SOL_IP -> IP_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastLoopback_Result

GetIpMulticastTtl

Get SOL_IP -> IP_MULTICAST_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastTtl_Result

GetIpPacketInfo

Get SOL_IP -> IP_PKTINFO.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpPacketInfo_Result

GetIpReceiveTypeOfService

Get SOL_IP -> IP_RECVTOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpReceiveTypeOfService_Result

GetIpTtl

Get SOL_IP -> IP_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTtl_Result

GetIpTypeOfService

Get SOL_IP -> IP_TOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTypeOfService_Result

GetIpv6MulticastHops

Get SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastHops_Result

GetIpv6MulticastInterface

Get SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastInterface_Result

GetIpv6MulticastLoopback

Get SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastLoopback_Result

GetIpv6Only

Get SOL_IPV6 -> IPV6_V6ONLY.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6Only_Result

GetIpv6ReceiveTrafficClass

Get SOL_IPV6 -> IPV6_RECVTCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result

GetIpv6TrafficClass

Get SOL_IPV6 -> IPV6_TCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6TrafficClass_Result

GetKeepAlive

Get SOL_SOCKET -> SO_KEEPALIVE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetKeepAlive_Result

GetLinger

Get SOL_SOCKET -> SO_LINGER.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetLinger_Result

GetNoCheck

Get SOL_SOCKET -> SO_NO_CHECK.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetNoCheck_Result

GetOutOfBandInline

Get SOL_SOCKET -> SO_OOBINLINE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetOutOfBandInline_Result

GetPeerName

Retrieves the remote socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetPeerName_Result

GetReceiveBuffer

Get SOL_SOCKET -> SO_RCVBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReceiveBuffer_Result

GetReuseAddress

Get SOL_SOCKET -> SO_REUSEADDR.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReuseAddress_Result

GetReusePort

Get SOL_SOCKET -> SO_REUSEPORT.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReusePort_Result

GetSendBuffer

Get SOL_SOCKET -> SO_SNDBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetSendBuffer_Result

GetSockName

Retrieves the local socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetSockName_Result

GetTimestamp

Get SOL_SOCKET -> SO_TIMESTAMP.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetTimestamp_Result

IoToIo2Placeholder

This message should never be sent or received.

This declaration exists to let keep the Rust bindings compiling as we add and remove transitional elements from the fuchsia.io protocols. Without this declaration, the users of the Rust bindings fail to compile when there aren't any transitional protocol elements.

DEPRECATED

Request

<EMPTY>

NodeGetFlags

Acquires the Directory.Open rights and flags used to access this file.

This method does not require any rights. This method has the same functionality as GetFlags for File and is meant as an in-progress replacement.

Request

<EMPTY>

Response

NameType
s zx/status
flags uint32

NodeSetFlags

Changes the Directory.Open flags used to access the file. Supported flags which can be turned on / off:

  • OPEN_FLAG_APPEND

This method does not require any rights. This method has the same functionality as SetFlags for File and is meant as an in-progress replacement.

Request

NameType
flags uint32

Response

NameType
s zx/status

OnConnectionInfo

An event produced eagerly by the server if requested by ConnectionFlags.GET_CONNECTION_INFO. This event will be the first message from the server, and is sent exactly once.

Different from fuchsia.io/OnOpen, an error during open/reopen is always manifested as an epitaph.

Response

NameType
info fuchsia.io/ConnectionInfo

OnOpen

An event produced eagerly by a FIDL server if requested by OPEN_FLAG_DESCRIBE.

Indicates the success or failure of the open operation, and optionally describes the object. If the status is ZX_OK, info contains descriptive information about the object (the same as would be returned by Describe).

Response

NameType
s zx/status
info fuchsia.io/NodeInfo?

RecvMsg

Receives a message from the socket.

  • request want_addr request message's source address information to be returned.
  • request data_len the maximum allowed length of the response data buffer.
  • request want_control request ancillary data to be returned.
  • request flags flags for the receive request.
  • response addr the message's source address information, if requested.
  • response data the message.
  • response control control messages, if requested.
  • response truncated indicates whether or not the returned message was truncated.

Request

NameType
want_addr bool
data_len uint32
want_control bool
flags RecvMsgFlags

Response

NameType
result DatagramSocket_RecvMsg_Result

Reopen

Creates another connection to the same node.

  • options options applicable to both Open and Reopen, including negotiating protocol and restricting rights. See fuchsia.io2/ConnectionOptions.
  • object_request is the server end of a channel created for the new connection. The caller may proceed to send messages on the corresponding client end right away.

For files, the cloned connection and the original connection have independent seek offsets.

Request

NameType
options fuchsia.io/ConnectionOptions
object_request handle<channel>

SendMsg

Sends a message on the socket.

  • request addr the address to send the message to. If unset, will send to the connected peer.
  • request data the message.
  • request control ancillary data.
  • request flags flags for the send request.
  • response len the number of bytes sent.

Request

NameType
addr fuchsia.net/SocketAddress?
data vector<uint8>
control SendControlData
flags SendMsgFlags

Response

NameType
result DatagramSocket_SendMsg_Result

SetAttr

Updates information about the node. flags may be any of NODE_ATTRIBUTE_FLAG_*.

This method requires following rights: OPEN_RIGHT_WRITABLE, otherwise returns ZX_ERR_BAD_HANDLE.

Request

NameType
flags uint32
attributes fuchsia.io/NodeAttributes

Response

NameType
s zx/status

SetBindToDevice

Set SOL_SOCKET -> SO_BINDTODEVICE.

Request

NameType
value fuchsia.net.interfaces/name

Response

NameType
result BaseSocket_SetBindToDevice_Result

SetBroadcast

Set SOL_SOCKET -> SO_BROADCAST.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetBroadcast_Result

SetIpMulticastInterface

Set SOL_IP -> IP_MULTICAST_IF.

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_SetIpMulticastInterface_Result

SetIpMulticastLoopback

Set SOL_IP -> IP_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpMulticastLoopback_Result

SetIpMulticastTtl

Set SOL_IP -> IP_MULTICAST_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpMulticastTtl_Result

SetIpPacketInfo

Set SOL_IP -> IP_PKTINFO.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpPacketInfo_Result

SetIpReceiveTypeOfService

Set SOL_IP -> IP_RECVTOS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpReceiveTypeOfService_Result

SetIpTtl

Set SOL_IP -> IP_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpTtl_Result

SetIpTypeOfService

Set SOL_IP -> IP_TOS.

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_SetIpTypeOfService_Result

SetIpv6MulticastHops

Set SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastHops_Result

SetIpv6MulticastInterface

Set SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastInterface_Result

SetIpv6MulticastLoopback

Set SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastLoopback_Result

SetIpv6Only

Set SOL_IPV6 -> IPV6_V6ONLY.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6Only_Result

SetIpv6ReceiveTrafficClass

Set SOL_IPV6 -> IPV6_RECVTCLASS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result

SetIpv6TrafficClass

Set SOL_IPV6 -> IPV6_TCLASS

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6TrafficClass_Result

SetKeepAlive

Set SOL_SOCKET -> SO_KEEPALIVE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetKeepAlive_Result

SetLinger

Set SOL_SOCKET -> SO_LINGER.

Request

NameType
linger bool
length_secs uint32

Response

NameType
result BaseSocket_SetLinger_Result

SetNoCheck

Set SOL_SOCKET -> SO_NO_CHECK.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetNoCheck_Result

SetOutOfBandInline

Set SOL_SOCKET -> SO_OOBINLINE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetOutOfBandInline_Result

SetReceiveBuffer

Set SOL_SOCKET -> SO_RCVBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetReceiveBuffer_Result

SetReuseAddress

Set SOL_SOCKET -> SO_REUSEADDR.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReuseAddress_Result

SetReusePort

Set SOL_SOCKET -> SO_REUSEPORT.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReusePort_Result

SetSendBuffer

Set SOL_SOCKET -> SO_SNDBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetSendBuffer_Result

SetTimestamp

Set SOL_SOCKET -> SO_TIMESTAMP.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetTimestamp_Result

Shutdown

Shuts down part of the socket.

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown_Result

Shutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown2_Result

Sync

Synchronizes updates to the node to the underlying media, if it exists.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Sync2

Synchronizes updates to the node to the underlying media, if it exists.

This method will return when the filesystem server has flushed the relevant updates to the underlying media, but does not guarantee the underlying media has persisted the information, nor that any information is committed to hardware. Clients may use Sync to ensure ordering between operations.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Sync2_Result

UpdateAttributes

Updates information about the node.

  • attributes the presence of a table field in attributes indicates the intent to update the corresponding attribute.

This method requires the Rights.UPDATE_ATTRIBUTES right.

Request

NameType
attributes fuchsia.io/NodeAttributes2

Response

NameType
result fuchsia.io/Node_UpdateAttributes_Result

Provider

Defined in fuchsia.posix.socket/socket.fidl

Provider implements the POSIX sockets API.

Warning: This protocol is not yet ready for direct use by clients. Instead, clients should use the BSD sockets API to interact with sockets. We plan to change this protocol substantially and clients that couple directly to this protocol will make those changes more difficult.

DatagramSocket

Requests a datagram socket with the specified parameters.

Request

NameType
domain Domain
proto DatagramSocketProtocol

Response

NameType
result Provider_DatagramSocket_Result

GetInterfaceAddresses

Requests a list of fuchsia.posix.socket.InterfaceAddresses describing the network interfaces on the system.

Request

<EMPTY>

Response

NameType
interfaces vector<InterfaceAddresses>

InterfaceIndexToName

Looks up an interface by its index and returns its name. Returns ZX_ERR_NOT_FOUND if the specified index doesn't exist.

Request

NameType
index uint64

Response

NameType
result Provider_InterfaceIndexToName_Result

InterfaceNameToFlags

Looks up an interface by its name and returns its flags. Returns ZX_ERR_NOT_FOUND if the specified name doesn't exist.

Request

NameType
name fuchsia.net.interfaces/name

Response

NameType
result Provider_InterfaceNameToFlags_Result

InterfaceNameToIndex

Looks up an interface by its name and returns its index. Returns ZX_ERR_NOT_FOUND if the specified name doesn't exist.

Request

NameType
name fuchsia.net.interfaces/name

Response

NameType
result Provider_InterfaceNameToIndex_Result

StreamSocket

Requests a stream socket with the specified parameters.

Request

NameType
domain Domain
proto StreamSocketProtocol

Response

NameType
result Provider_StreamSocket_Result

StreamSocket

Defined in fuchsia.posix.socket/socket.fidl

A stream socket.

This type's fuchsia.io.Node/Describe method returns a socket which is used to transfer data to and from the caller. Signals are used to communicate additional information about the state of the socket such as connectedness and the presence of incoming connections in the case of a listening socket.

All methods on this type are nonblocking; their exact behaviors match their Linux counterparts.

Warning: This protocol is not yet ready for direct use by clients. Instead, clients should use the BSD sockets API to interact with sockets. We plan to change this protocol substantially and clients that couple directly to this protocol will make those changes more difficult.

Accept

Accepts a buffered incoming connection.

Request

NameType
want_addr bool

Response

NameType
result StreamSocket_Accept_Result

AddIpMembership

Set SOL_IP -> IP_ADD_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpMembership_Result

AddIpv6Membership

Set SOL_IPV6 -> IPV6_ADD_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_AddIpv6Membership_Result

BaseSocketAddIpMembership

DEPRECATED - Use AddIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpMembership_Result

BaseSocketAddIpv6Membership

DEPRECATED - Use AddIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketAddIpv6Membership_Result

BaseSocketBind

DEPRECATED - Use Bind instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketBind_Result

BaseSocketConnect

DEPRECATED - Use Connect instead

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_BaseSocketConnect_Result

BaseSocketDisconnect

DEPRECATED - Use Disconnect instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketDisconnect_Result

BaseSocketDropIpMembership

DEPRECATED - Use DropIpMembership instead

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpMembership_Result

BaseSocketDropIpv6Membership

DEPRECATED - Use DropIpv6Membership instead

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_BaseSocketDropIpv6Membership_Result

BaseSocketGetIpMulticastInterface

DEPRECATED - Use GetIpMulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Result

BaseSocketGetIpMulticastLoopback

DEPRECATED - Use GetIpMulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Result

BaseSocketGetIpMulticastTtl

DEPRECATED - Use GetIpMulticastTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Result

BaseSocketGetIpPacketInfo

DEPRECATED - Use GetIpPacketInfo instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpPacketInfo_Result

BaseSocketGetIpReceiveTypeOfService

DEPRECATED - Use GetIpReceiveTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Result

BaseSocketGetIpTtl

DEPRECATED - Use GetIpTtl instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTtl_Result

BaseSocketGetIpTypeOfService

DEPRECATED - Use GetIpTypeOfService instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpTypeOfService_Result

BaseSocketGetIpv6MulticastHops

DEPRECATED - Use GetIpv6MulticastHops instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Result

BaseSocketGetIpv6MulticastInterface

DEPRECATED - Use GetIpv6MulticastInterface instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Result

BaseSocketGetIpv6MulticastLoopback

DEPRECATED - Use GetIpv6MulticastLoopback instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Result

BaseSocketGetIpv6Only

DEPRECATED - Use GetIpv6Only instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6Only_Result

BaseSocketGetIpv6ReceiveTrafficClass

DEPRECATED - Use GetIpv6ReceiveTrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Result

BaseSocketGetIpv6TrafficClass

DEPRECATED - Use GetIpv6TrafficClass instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Result

BaseSocketGetPeerName

DEPRECATED - Use GetPeerName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetPeerName_Result

BaseSocketGetSockName

DEPRECATED - Use GetSockName instead

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_BaseSocketGetSockName_Result

BaseSocketSetIpMulticastInterface

DEPRECATED - Use SetIpMulticastInterface instead

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Result

BaseSocketSetIpMulticastLoopback

DEPRECATED - Use SetIpMulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Result

BaseSocketSetIpMulticastTtl

DEPRECATED - Use SetIpMulticastTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Result

BaseSocketSetIpPacketInfo

DEPRECATED - Use SetIpPacketInfo instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpPacketInfo_Result

BaseSocketSetIpReceiveTypeOfService

DEPRECATED - Use SetIpReceiveTypeOfService instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Result

BaseSocketSetIpTtl

DEPRECATED - Use SetIpTtl instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTtl_Result

BaseSocketSetIpTypeOfService

DEPRECATED - Use SetIpTypeOfService instead

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpTypeOfService_Result

BaseSocketSetIpv6MulticastHops

DEPRECATED - Use SetIpv6MulticastHops instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Result

BaseSocketSetIpv6MulticastInterface

DEPRECATED - Use SetIpv6MulticastInterface instead

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Result

BaseSocketSetIpv6MulticastLoopback

DEPRECATED - Use SetIpv6MulticastLoopback instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Result

BaseSocketSetIpv6Only

DEPRECATED - Use SetIpv6Only instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6Only_Result

BaseSocketSetIpv6ReceiveTrafficClass

DEPRECATED - Use SetIpv6ReceiveTrafficClass instead

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Result

BaseSocketSetIpv6TrafficClass

DEPRECATED - Use SetIpv6TrafficClass instead

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Result

BaseSocketShutdown

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown_Result

BaseSocketShutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_BaseSocketShutdown2_Result

Bind

Sets the local address used for the socket.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Bind_Result

Clone

Create another connection to the same remote object.

flags may be any of:

  • OPEN_RIGHT_*
  • OPEN_FLAG_APPEND
  • OPEN_FLAG_NO_REMOTE
  • OPEN_FLAG_DESCRIBE
  • CLONE_FLAG_SAME_RIGHTS

All other flags are ignored.

The OPEN_RIGHT_* bits in flags request corresponding rights over the resulting cloned object. The cloned object must have rights less than or equal to the original object, otherwise returns ZX_ERR_ACCESS_DENIED. Alternatively, pass CLONE_FLAG_SAME_RIGHTS to inherit the rights on the source connection. It is invalid to pass any of the OPEN_RIGHT_* flags together with CLONE_FLAG_SAME_RIGHTS.

Request

NameType
flags uint32
object request<fuchsia.io/Node>

Close

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Close2

Terminates connection with object.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Close2_Result

Connect

Initiates a connection to a remote address.

Request

NameType
addr fuchsia.net/SocketAddress

Response

NameType
result BaseNetworkSocket_Connect_Result

Describe

Returns extra information about the type of the object. If the Describe operation fails, the connection is closed.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
info fuchsia.io/NodeInfo

Describe2

Returns extra connection information and auxiliary handles.

  • query specifies the fields in ConnectionInfo that the caller is interested in.

When all known bits in query are set, the return value matches the one from OnConnectionInfo, as if the caller requested that event using ConnectionFlags.GET_CONNECTION_INFO.

If the Describe operation fails, the connection is closed with the associated error.

This method does not require any rights.

Request

NameType
query fuchsia.io/ConnectionInfoQuery

Response

NameType
info fuchsia.io/ConnectionInfo

Disconnect

Clears connection information from this socket.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_Disconnect_Result

DropIpMembership

Set SOL_IP -> IP_DROP_MEMBERSHIP

Request

NameType
membership IpMulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpMembership_Result

DropIpv6Membership

Set SOL_IPV6 -> IPV6_DROP_MEMBERSHIP.

Request

NameType
membership Ipv6MulticastMembership

Response

NameType
result BaseNetworkSocket_DropIpv6Membership_Result

GetAcceptConn

Get SOL_SOCKET -> SO_ACCEPTCONN.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetAcceptConn_Result

GetAttr

Acquires information about the node.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status
attributes fuchsia.io/NodeAttributes

GetAttributes

Acquires information about the node.

The attributes of a node should be stable, independent of the specific protocol used to access it.

  • query a bit-mask specifying which attributes to fetch. The server should not return more than necessary.
  • attributes the returned attributes.

This method requires the Rights.GET_ATTRIBUTES right.

Request

NameType
query fuchsia.io/NodeAttributesQuery

Response

NameType
result fuchsia.io/Node_GetAttributes_Result

GetBindToDevice

Get SOL_SOCKET -> SO_BINDTODEVICE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBindToDevice_Result

GetBroadcast

Get SOL_SOCKET -> SO_BROADCAST.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetBroadcast_Result

GetError

Get SOL_SOCKET -> SO_ERROR. Returns the last error if there is an error set on the socket.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetError_Result

GetInfo

Retrieves creation information from the socket.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetInfo_Result

GetIpMulticastInterface

Get SOL_IP -> IP_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastInterface_Result

GetIpMulticastLoopback

Get SOL_IP -> IP_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastLoopback_Result

GetIpMulticastTtl

Get SOL_IP -> IP_MULTICAST_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpMulticastTtl_Result

GetIpPacketInfo

Get SOL_IP -> IP_PKTINFO.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpPacketInfo_Result

GetIpReceiveTypeOfService

Get SOL_IP -> IP_RECVTOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpReceiveTypeOfService_Result

GetIpTtl

Get SOL_IP -> IP_TTL.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTtl_Result

GetIpTypeOfService

Get SOL_IP -> IP_TOS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpTypeOfService_Result

GetIpv6MulticastHops

Get SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastHops_Result

GetIpv6MulticastInterface

Get SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastInterface_Result

GetIpv6MulticastLoopback

Get SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6MulticastLoopback_Result

GetIpv6Only

Get SOL_IPV6 -> IPV6_V6ONLY.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6Only_Result

GetIpv6ReceiveTrafficClass

Get SOL_IPV6 -> IPV6_RECVTCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result

GetIpv6TrafficClass

Get SOL_IPV6 -> IPV6_TCLASS.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetIpv6TrafficClass_Result

GetKeepAlive

Get SOL_SOCKET -> SO_KEEPALIVE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetKeepAlive_Result

GetLinger

Get SOL_SOCKET -> SO_LINGER.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetLinger_Result

GetNoCheck

Get SOL_SOCKET -> SO_NO_CHECK.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetNoCheck_Result

GetOutOfBandInline

Get SOL_SOCKET -> SO_OOBINLINE.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetOutOfBandInline_Result

GetPeerName

Retrieves the remote socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetPeerName_Result

GetReceiveBuffer

Get SOL_SOCKET -> SO_RCVBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReceiveBuffer_Result

GetReuseAddress

Get SOL_SOCKET -> SO_REUSEADDR.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReuseAddress_Result

GetReusePort

Get SOL_SOCKET -> SO_REUSEPORT.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetReusePort_Result

GetSendBuffer

Get SOL_SOCKET -> SO_SNDBUF.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetSendBuffer_Result

GetSockName

Retrieves the local socket address.

Request

<EMPTY>

Response

NameType
result BaseNetworkSocket_GetSockName_Result

GetTcpCongestion

Get SOL_TCP -> TCP_CONGESTION.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpCongestion_Result

GetTcpCork

Get SOL_TCP -> TCP_CORK.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpCork_Result

GetTcpDeferAccept

Get SOL_TCP -> TCP_DEFER_ACCEPT.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpDeferAccept_Result

GetTcpInfo

Get SOL_TCP -> TCP_INFO.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpInfo_Result

GetTcpKeepAliveCount

Get SOL_TCP -> TCP_KEEPCNT.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpKeepAliveCount_Result

GetTcpKeepAliveIdle

Get SOL_TCP -> TCP_KEEPIDLE.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpKeepAliveIdle_Result

GetTcpKeepAliveInterval

Get SOL_TCP -> TCP_KEEPINTVL.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpKeepAliveInterval_Result

GetTcpLinger

Get SOL_TCP -> TCP_LINGER2.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpLinger_Result

GetTcpMaxSegment

Get SOL_TCP -> TCP_MAXSEG.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpMaxSegment_Result

GetTcpNoDelay

Get SOL_TCP -> TCP_NODELAY.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpNoDelay_Result

GetTcpQuickAck

Get SOL_TCP -> TCP_QUICKACK.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpQuickAck_Result

GetTcpSynCount

Get SOL_TCP -> TCP_SYNCNT.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpSynCount_Result

GetTcpUserTimeout

Get SOL_TCP -> TCP_USER_TIMEOUT.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpUserTimeout_Result

GetTcpWindowClamp

Get SOL_TCP -> TCP_WINDOW_CLAMP.

Request

<EMPTY>

Response

NameType
result StreamSocket_GetTcpWindowClamp_Result

GetTimestamp

Get SOL_SOCKET -> SO_TIMESTAMP.

Request

<EMPTY>

Response

NameType
result BaseSocket_GetTimestamp_Result

IoToIo2Placeholder

This message should never be sent or received.

This declaration exists to let keep the Rust bindings compiling as we add and remove transitional elements from the fuchsia.io protocols. Without this declaration, the users of the Rust bindings fail to compile when there aren't any transitional protocol elements.

DEPRECATED

Request

<EMPTY>

Listen

Begins listening for new incoming connections. At most backlog connections will be buffered.

Request

NameType
backlog int16

Response

NameType
result StreamSocket_Listen_Result

NodeGetFlags

Acquires the Directory.Open rights and flags used to access this file.

This method does not require any rights. This method has the same functionality as GetFlags for File and is meant as an in-progress replacement.

Request

<EMPTY>

Response

NameType
s zx/status
flags uint32

NodeSetFlags

Changes the Directory.Open flags used to access the file. Supported flags which can be turned on / off:

  • OPEN_FLAG_APPEND

This method does not require any rights. This method has the same functionality as SetFlags for File and is meant as an in-progress replacement.

Request

NameType
flags uint32

Response

NameType
s zx/status

OnConnectionInfo

An event produced eagerly by the server if requested by ConnectionFlags.GET_CONNECTION_INFO. This event will be the first message from the server, and is sent exactly once.

Different from fuchsia.io/OnOpen, an error during open/reopen is always manifested as an epitaph.

Response

NameType
info fuchsia.io/ConnectionInfo

OnOpen

An event produced eagerly by a FIDL server if requested by OPEN_FLAG_DESCRIBE.

Indicates the success or failure of the open operation, and optionally describes the object. If the status is ZX_OK, info contains descriptive information about the object (the same as would be returned by Describe).

Response

NameType
s zx/status
info fuchsia.io/NodeInfo?

Reopen

Creates another connection to the same node.

  • options options applicable to both Open and Reopen, including negotiating protocol and restricting rights. See fuchsia.io2/ConnectionOptions.
  • object_request is the server end of a channel created for the new connection. The caller may proceed to send messages on the corresponding client end right away.

For files, the cloned connection and the original connection have independent seek offsets.

Request

NameType
options fuchsia.io/ConnectionOptions
object_request handle<channel>

SetAttr

Updates information about the node. flags may be any of NODE_ATTRIBUTE_FLAG_*.

This method requires following rights: OPEN_RIGHT_WRITABLE, otherwise returns ZX_ERR_BAD_HANDLE.

Request

NameType
flags uint32
attributes fuchsia.io/NodeAttributes

Response

NameType
s zx/status

SetBindToDevice

Set SOL_SOCKET -> SO_BINDTODEVICE.

Request

NameType
value fuchsia.net.interfaces/name

Response

NameType
result BaseSocket_SetBindToDevice_Result

SetBroadcast

Set SOL_SOCKET -> SO_BROADCAST.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetBroadcast_Result

SetIpMulticastInterface

Set SOL_IP -> IP_MULTICAST_IF.

Request

NameType
iface fuchsia.net/interface_id
address fuchsia.net/Ipv4Address

Response

NameType
result BaseNetworkSocket_SetIpMulticastInterface_Result

SetIpMulticastLoopback

Set SOL_IP -> IP_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpMulticastLoopback_Result

SetIpMulticastTtl

Set SOL_IP -> IP_MULTICAST_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpMulticastTtl_Result

SetIpPacketInfo

Set SOL_IP -> IP_PKTINFO.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpPacketInfo_Result

SetIpReceiveTypeOfService

Set SOL_IP -> IP_RECVTOS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpReceiveTypeOfService_Result

SetIpTtl

Set SOL_IP -> IP_TTL.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpTtl_Result

SetIpTypeOfService

Set SOL_IP -> IP_TOS.

Request

NameType
value uint8

Response

NameType
result BaseNetworkSocket_SetIpTypeOfService_Result

SetIpv6MulticastHops

Set SOL_IPV6 -> IPV6_MULTICAST_HOPS.

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastHops_Result

SetIpv6MulticastInterface

Set SOL_IPV6 -> IPV6_MULTICAST_IF.

Request

NameType
value fuchsia.net/interface_id

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastInterface_Result

SetIpv6MulticastLoopback

Set SOL_IPV6 -> IPV6_MULTICAST_LOOP.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6MulticastLoopback_Result

SetIpv6Only

Set SOL_IPV6 -> IPV6_V6ONLY.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6Only_Result

SetIpv6ReceiveTrafficClass

Set SOL_IPV6 -> IPV6_RECVTCLASS.

Request

NameType
value bool

Response

NameType
result BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result

SetIpv6TrafficClass

Set SOL_IPV6 -> IPV6_TCLASS

Request

NameType
value OptionalUint8

Response

NameType
result BaseNetworkSocket_SetIpv6TrafficClass_Result

SetKeepAlive

Set SOL_SOCKET -> SO_KEEPALIVE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetKeepAlive_Result

SetLinger

Set SOL_SOCKET -> SO_LINGER.

Request

NameType
linger bool
length_secs uint32

Response

NameType
result BaseSocket_SetLinger_Result

SetNoCheck

Set SOL_SOCKET -> SO_NO_CHECK.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetNoCheck_Result

SetOutOfBandInline

Set SOL_SOCKET -> SO_OOBINLINE.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetOutOfBandInline_Result

SetReceiveBuffer

Set SOL_SOCKET -> SO_RCVBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetReceiveBuffer_Result

SetReuseAddress

Set SOL_SOCKET -> SO_REUSEADDR.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReuseAddress_Result

SetReusePort

Set SOL_SOCKET -> SO_REUSEPORT.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetReusePort_Result

SetSendBuffer

Set SOL_SOCKET -> SO_SNDBUF.

Request

NameType
value_bytes uint64

Response

NameType
result BaseSocket_SetSendBuffer_Result

SetTcpCongestion

Set SOL_TCP -> TCP_CONGESTION.

Request

NameType
value TcpCongestionControl

Response

NameType
result StreamSocket_SetTcpCongestion_Result

SetTcpCork

Set SOL_TCP -> TCP_CORK.

Request

NameType
value bool

Response

NameType
result StreamSocket_SetTcpCork_Result

SetTcpDeferAccept

Set SOL_TCP -> TCP_DEFER_ACCEPT.

Request

NameType
value_secs uint32

Response

NameType
result StreamSocket_SetTcpDeferAccept_Result

SetTcpKeepAliveCount

Set SOL_TCP -> TCP_KEEPCNT.

Request

NameType
value uint32

Response

NameType
result StreamSocket_SetTcpKeepAliveCount_Result

SetTcpKeepAliveIdle

Set SOL_TCP -> TCP_KEEPIDLE.

Request

NameType
value_secs uint32

Response

NameType
result StreamSocket_SetTcpKeepAliveIdle_Result

SetTcpKeepAliveInterval

Set SOL_TCP -> TCP_KEEPINTVL.

Request

NameType
value_secs uint32

Response

NameType
result StreamSocket_SetTcpKeepAliveInterval_Result

SetTcpLinger

Set SOL_TCP -> TCP_LINGER2.

Request

NameType
value_secs OptionalUint32

Response

NameType
result StreamSocket_SetTcpLinger_Result

SetTcpMaxSegment

Set SOL_TCP -> TCP_MAXSEG.

Request

NameType
value_bytes uint32

Response

NameType
result StreamSocket_SetTcpMaxSegment_Result

SetTcpNoDelay

Set SOL_TCP -> TCP_NODELAY.

Request

NameType
value bool

Response

NameType
result StreamSocket_SetTcpNoDelay_Result

SetTcpQuickAck

Set SOL_TCP -> TCP_QUICKACK.

Request

NameType
value bool

Response

NameType
result StreamSocket_SetTcpQuickAck_Result

SetTcpSynCount

Set SOL_TCP -> TCP_SYNCNT.

Request

NameType
value uint32

Response

NameType
result StreamSocket_SetTcpSynCount_Result

SetTcpUserTimeout

Set SOL_TCP -> TCP_USER_TIMEOUT.

Request

NameType
value_millis uint32

Response

NameType
result StreamSocket_SetTcpUserTimeout_Result

SetTcpWindowClamp

Set SOL_TCP -> TCP_WINDOW_CLAMP.

Request

NameType
value uint32

Response

NameType
result StreamSocket_SetTcpWindowClamp_Result

SetTimestamp

Set SOL_SOCKET -> SO_TIMESTAMP.

Request

NameType
value bool

Response

NameType
result BaseSocket_SetTimestamp_Result

Shutdown

Shuts down part of the socket.

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown_Result

Shutdown2

DEPRECATED - Use Shutdown instead

Request

NameType
mode ShutdownMode

Response

NameType
result BaseNetworkSocket_Shutdown2_Result

Sync

Synchronizes updates to the node to the underlying media, if it exists.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
s zx/status

Sync2

Synchronizes updates to the node to the underlying media, if it exists.

This method will return when the filesystem server has flushed the relevant updates to the underlying media, but does not guarantee the underlying media has persisted the information, nor that any information is committed to hardware. Clients may use Sync to ensure ordering between operations.

This method does not require any rights.

Request

<EMPTY>

Response

NameType
result fuchsia.io/Node_Sync2_Result

UpdateAttributes

Updates information about the node.

  • attributes the presence of a table field in attributes indicates the intent to update the corresponding attribute.

This method requires the Rights.UPDATE_ATTRIBUTES right.

Request

NameType
attributes fuchsia.io/NodeAttributes2

Response

NameType
result fuchsia.io/Node_UpdateAttributes_Result

STRUCTS

BaseNetworkSocket_AddIpMembership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_AddIpv6Membership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketAddIpMembership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketAddIpv6Membership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketBind_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketConnect_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketDisconnect_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketDropIpMembership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketDropIpv6Membership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value fuchsia.net/Ipv4Address No default

BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_BaseSocketGetIpPacketInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_BaseSocketGetIpTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value fuchsia.net/interface_id No default

BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpv6Only_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_BaseSocketGetPeerName_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress No default

BaseNetworkSocket_BaseSocketGetSockName_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress No default

BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpPacketInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6Only_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketShutdown2_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_BaseSocketShutdown_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_Bind_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_Connect_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_Disconnect_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_DropIpMembership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_DropIpv6Membership_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_GetIpMulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value fuchsia.net/Ipv4Address No default

BaseNetworkSocket_GetIpMulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpMulticastTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_GetIpPacketInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpReceiveTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_GetIpTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_GetIpv6MulticastHops_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_GetIpv6MulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value fuchsia.net/interface_id No default

BaseNetworkSocket_GetIpv6MulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpv6Only_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseNetworkSocket_GetIpv6TrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint8 No default

BaseNetworkSocket_GetPeerName_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress No default

BaseNetworkSocket_GetSockName_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress No default

BaseNetworkSocket_SetIpMulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpMulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpMulticastTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpPacketInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpReceiveTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpTtl_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpTypeOfService_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6MulticastHops_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6MulticastInterface_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6MulticastLoopback_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6Only_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_SetIpv6TrafficClass_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_Shutdown2_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseNetworkSocket_Shutdown_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_GetAcceptConn_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetBindToDevice_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value fuchsia.net.interfaces/name No default

BaseSocket_GetBroadcast_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetError_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_GetKeepAlive_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetLinger_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
linger bool No default
length_secs uint32 No default

BaseSocket_GetNoCheck_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetOutOfBandInline_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetReceiveBuffer_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_bytes uint64 No default

BaseSocket_GetReuseAddress_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetReusePort_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_GetSendBuffer_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_bytes uint64 No default

BaseSocket_GetTimestamp_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

BaseSocket_SetBindToDevice_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetBroadcast_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetKeepAlive_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetLinger_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetNoCheck_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetOutOfBandInline_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetReceiveBuffer_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetReuseAddress_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetReusePort_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetSendBuffer_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

BaseSocket_SetTimestamp_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

DatagramSocket_GetInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
domain Domain No default
proto DatagramSocketProtocol No default

DatagramSocket_RecvMsg_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress? No default
data vector<uint8> No default
control RecvControlData No default
truncated uint32 No default

DatagramSocket_SendMsg_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
len int64 No default

Empty

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

IpMulticastMembership

Defined in fuchsia.posix.socket/socket.fidl

IPv4 multicast membership options.

FieldTypeDescriptionDefault
iface fuchsia.net/interface_id

Interface index for membership.

No default
local_addr fuchsia.net/Ipv4Address

Local interface address requesting or relinquishing ownership.

No default
mcast_addr fuchsia.net/Ipv4Address

Address of the multicast group the membership refers to.

No default

Ipv6MulticastMembership

Defined in fuchsia.posix.socket/socket.fidl

IPv6 multicast membership options.

FieldTypeDescriptionDefault
iface fuchsia.net/interface_id

Interface index for membership.

No default
mcast_addr fuchsia.net/Ipv6Address

Address of the multicast group the membership refers to.

No default

Provider_DatagramSocket_Response resource

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
s DatagramSocket No default

Provider_InterfaceIndexToName_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
name fuchsia.net.interfaces/name No default

Provider_InterfaceNameToFlags_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
flags InterfaceFlags No default

Provider_InterfaceNameToIndex_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
index uint64 No default

Provider_StreamSocket_Response resource

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
s StreamSocket No default

StreamSocket_Accept_Response resource

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
addr fuchsia.net/SocketAddress? No default
s StreamSocket No default

StreamSocket_GetInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
domain Domain No default
proto StreamSocketProtocol No default

StreamSocket_GetTcpCongestion_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value TcpCongestionControl No default

StreamSocket_GetTcpCork_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

StreamSocket_GetTcpDeferAccept_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_secs uint32 No default

StreamSocket_GetTcpInfo_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
info TcpInfo No default

StreamSocket_GetTcpKeepAliveCount_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint32 No default

StreamSocket_GetTcpKeepAliveIdle_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_secs uint32 No default

StreamSocket_GetTcpKeepAliveInterval_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_secs uint32 No default

StreamSocket_GetTcpLinger_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_secs OptionalUint32 No default

StreamSocket_GetTcpMaxSegment_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_bytes uint32 No default

StreamSocket_GetTcpNoDelay_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

StreamSocket_GetTcpQuickAck_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value bool No default

StreamSocket_GetTcpSynCount_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint32 No default

StreamSocket_GetTcpUserTimeout_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value_millis uint32 No default

StreamSocket_GetTcpWindowClamp_Response

Defined in fuchsia.posix.socket/socket.fidl

FieldTypeDescriptionDefault
value uint32 No default

StreamSocket_Listen_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpCongestion_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpCork_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpDeferAccept_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpKeepAliveCount_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpKeepAliveIdle_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpKeepAliveInterval_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpLinger_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpMaxSegment_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpNoDelay_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpQuickAck_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpSynCount_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpUserTimeout_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

StreamSocket_SetTcpWindowClamp_Response

Defined in fuchsia.posix.socket/socket.fidl

<EMPTY>

ENUMS

DatagramSocketProtocol strict

Type: uint32

Defined in fuchsia.posix.socket/socket.fidl

Protocols supported by fuchsia.posix.socket/DatagramSocket.

DatagramSocketProtocol enumerates the protocols supported by the network stack over datagram sockets.

NameValueDescription
UDP 1

UDP (User Datagram Protocol).

A UDP socket is equivalent to the POSIX API of SOCK_DGRAM with a protocol of 0 or IPPROTO_UDP.

ICMP_ECHO 2

ICMP (Internet Control Message Protocol) echo.

An ICMP echo socket is equivalent to the POSIX API of SOCK_DGRAM with a protocol of IPPROTO_ICMP IPPROTO_ICMPV6 (depending on provided domain).

Datagrams sent over an ICMP echo socket must have a valid ICMP or ICMPv6 echo header.

Domain strict

Type: int16

Defined in fuchsia.posix.socket/socket.fidl

A socket's domain.

Determines the addressing domain for a socket.

NameValueDescription
IPV4 0

An IPv4 socket. Equivalent to AF_INET.

IPV6 1

An IPv6 socket. Equivalent to AF_INET6.

StreamSocketProtocol strict

Type: uint32

Defined in fuchsia.posix.socket/socket.fidl

Protocols supported by fuchsia.posix.socket/StreamSocket.

StreamSocketProtocol enumerates the protocols supported by the network stack over stream sockets.

NameValueDescription
TCP 0

TCP (Transmission Control Protocol).

A TCP socket is equivalent to the POSIX API of SOCK_STREAM with a protocol of 0 or IPPROTO_TCP.

TcpCongestionControl strict

Type: uint32

Defined in fuchsia.posix.socket/socket.fidl

TCP congestion control modes.

NameValueDescription
RENO 1
CUBIC 2

TcpCongestionControlState strict

Type: uint32

Defined in fuchsia.posix.socket/socket.fidl

TCP congestion control state machine state.

NameValueDescription
OPEN 0
DISORDER 1
CONGESTION_WINDOW_REDUCED 2
RECOVERY 3
LOSS 4

TcpState strict

Type: uint32

Defined in fuchsia.posix.socket/socket.fidl

TCP state machine state.

NameValueDescription
ESTABLISHED 1
SYN_SENT 2
SYN_RECV 3
FIN_WAIT1 4
FIN_WAIT2 5
TIME_WAIT 6
CLOSE 7
CLOSE_WAIT 8
LAST_ACK 9
LISTEN 10
CLOSING 11

TABLES

InterfaceAddresses

Defined in fuchsia.posix.socket/socket.fidl

Holds information about an interface and its addresses.

OrdinalFieldTypeDescription
1 id uint64

ID of the interface.

2 name fuchsia.net.interfaces/name

Name of the interface.

3 flags uint32

Contains the interface flags, as returned by the SIOCGIFFLAGS ioctl operation.

TODO(fxbug.dev/64758): remove this once all clients are transitioned to use more strongly-typed interface_flags.

4 addresses vector<fuchsia.net/Subnet>

All addresses currently assigned to the interface.

5 interface_flags InterfaceFlags

Contains the interface flags, as returned by the SIOCGIFFLAGS ioctl operation.

RecvControlData

Defined in fuchsia.posix.socket/socket.fidl

Ancillary data for received datagram sockets.

OrdinalFieldTypeDescription

SendControlData

Defined in fuchsia.posix.socket/socket.fidl

Ancillary data for sending datagram sockets.

OrdinalFieldTypeDescription

TcpInfo

Defined in fuchsia.posix.socket/socket.fidl

TCP protocol state.

OrdinalFieldTypeDescription
1 state TcpState
2 ca_state TcpCongestionControlState
3 RESERVED
4 RESERVED
5 RESERVED
6 RESERVED
7 RESERVED
8 RESERVED
9 RESERVED
10 RESERVED
11 rto_usec uint32
12 RESERVED
13 RESERVED
14 RESERVED
15 RESERVED
16 RESERVED
17 RESERVED
18 RESERVED
19 RESERVED
20 RESERVED
21 RESERVED
22 RESERVED
23 RESERVED
24 RESERVED
25 RESERVED
26 rtt_usec uint32
27 rtt_var_usec uint32
28 snd_ssthresh uint32
29 snd_cwnd uint32
30 RESERVED
31 RESERVED
32 RESERVED
33 RESERVED
34 RESERVED
35 RESERVED
36 RESERVED
37 RESERVED
38 RESERVED
39 RESERVED
40 RESERVED
41 RESERVED
42 RESERVED
43 RESERVED
44 RESERVED
45 RESERVED
46 RESERVED
47 RESERVED
48 RESERVED
49 RESERVED
50 RESERVED
51 RESERVED
52 RESERVED
53 RESERVED
54 reorder_seen bool
55 RESERVED
56 RESERVED

UNIONS

BaseNetworkSocket_AddIpMembership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_AddIpMembership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_AddIpv6Membership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_AddIpv6Membership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketAddIpMembership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketAddIpMembership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketAddIpv6Membership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketAddIpv6Membership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketBind_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketBind_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketConnect_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketConnect_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketDisconnect_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketDisconnect_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketDropIpMembership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketDropIpMembership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketDropIpv6Membership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketDropIpv6Membership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpMulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpMulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpMulticastTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpPacketInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpPacketInfo_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpReceiveTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6MulticastHops_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6MulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6MulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6Only_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6Only_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6ReceiveTrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetIpv6TrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetPeerName_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetPeerName_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketGetSockName_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketGetSockName_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpMulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpMulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpMulticastTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpPacketInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpPacketInfo_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpReceiveTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6MulticastHops_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6MulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6MulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6Only_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6Only_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6ReceiveTrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketSetIpv6TrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketShutdown2_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketShutdown2_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_BaseSocketShutdown_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_BaseSocketShutdown_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_Bind_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_Bind_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_Connect_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_Connect_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_Disconnect_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_Disconnect_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_DropIpMembership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_DropIpMembership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_DropIpv6Membership_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_DropIpv6Membership_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpMulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpMulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpMulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpMulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpMulticastTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpMulticastTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpPacketInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpPacketInfo_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpReceiveTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpReceiveTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6MulticastHops_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6MulticastHops_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6MulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6MulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6MulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6MulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6Only_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6Only_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetIpv6TrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetIpv6TrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetPeerName_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetPeerName_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_GetSockName_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_GetSockName_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpMulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpMulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpMulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpMulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpMulticastTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpMulticastTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpPacketInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpPacketInfo_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpReceiveTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpReceiveTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpTtl_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpTtl_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpTypeOfService_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpTypeOfService_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6MulticastHops_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6MulticastHops_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6MulticastInterface_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6MulticastInterface_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6MulticastLoopback_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6MulticastLoopback_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6Only_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6Only_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_SetIpv6TrafficClass_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_SetIpv6TrafficClass_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_Shutdown2_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_Shutdown2_Response
2 err fuchsia.posix/Errno

BaseNetworkSocket_Shutdown_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseNetworkSocket_Shutdown_Response
2 err fuchsia.posix/Errno

BaseSocket_GetAcceptConn_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetAcceptConn_Response
2 err fuchsia.posix/Errno

BaseSocket_GetBindToDevice_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetBindToDevice_Response
2 err fuchsia.posix/Errno

BaseSocket_GetBroadcast_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetBroadcast_Response
2 err fuchsia.posix/Errno

BaseSocket_GetError_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetError_Response
2 err fuchsia.posix/Errno

BaseSocket_GetKeepAlive_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetKeepAlive_Response
2 err fuchsia.posix/Errno

BaseSocket_GetLinger_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetLinger_Response
2 err fuchsia.posix/Errno

BaseSocket_GetNoCheck_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetNoCheck_Response
2 err fuchsia.posix/Errno

BaseSocket_GetOutOfBandInline_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetOutOfBandInline_Response
2 err fuchsia.posix/Errno

BaseSocket_GetReceiveBuffer_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetReceiveBuffer_Response
2 err fuchsia.posix/Errno

BaseSocket_GetReuseAddress_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetReuseAddress_Response
2 err fuchsia.posix/Errno

BaseSocket_GetReusePort_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetReusePort_Response
2 err fuchsia.posix/Errno

BaseSocket_GetSendBuffer_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetSendBuffer_Response
2 err fuchsia.posix/Errno

BaseSocket_GetTimestamp_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_GetTimestamp_Response
2 err fuchsia.posix/Errno

BaseSocket_SetBindToDevice_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetBindToDevice_Response
2 err fuchsia.posix/Errno

BaseSocket_SetBroadcast_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetBroadcast_Response
2 err fuchsia.posix/Errno

BaseSocket_SetKeepAlive_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetKeepAlive_Response
2 err fuchsia.posix/Errno

BaseSocket_SetLinger_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetLinger_Response
2 err fuchsia.posix/Errno

BaseSocket_SetNoCheck_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetNoCheck_Response
2 err fuchsia.posix/Errno

BaseSocket_SetOutOfBandInline_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetOutOfBandInline_Response
2 err fuchsia.posix/Errno

BaseSocket_SetReceiveBuffer_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetReceiveBuffer_Response
2 err fuchsia.posix/Errno

BaseSocket_SetReuseAddress_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetReuseAddress_Response
2 err fuchsia.posix/Errno

BaseSocket_SetReusePort_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetReusePort_Response
2 err fuchsia.posix/Errno

BaseSocket_SetSendBuffer_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetSendBuffer_Response
2 err fuchsia.posix/Errno

BaseSocket_SetTimestamp_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response BaseSocket_SetTimestamp_Response
2 err fuchsia.posix/Errno

DatagramSocket_GetInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response DatagramSocket_GetInfo_Response
2 err fuchsia.posix/Errno

DatagramSocket_RecvMsg_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response DatagramSocket_RecvMsg_Response
2 err fuchsia.posix/Errno

DatagramSocket_SendMsg_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response DatagramSocket_SendMsg_Response
2 err fuchsia.posix/Errno

OptionalUint32 strict

Defined in fuchsia.posix.socket/socket.fidl

An optional uint32 value.

Ordinal
VariantTypeDescription
1 value uint32
2 unset Empty

OptionalUint8 strict

Defined in fuchsia.posix.socket/socket.fidl

An optional byte value.

Ordinal
VariantTypeDescription
1 value uint8
2 unset Empty

Provider_DatagramSocket_Result strict resource

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response Provider_DatagramSocket_Response
2 err fuchsia.posix/Errno

Provider_InterfaceIndexToName_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response Provider_InterfaceIndexToName_Response
2 err zx/status

Provider_InterfaceNameToFlags_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response Provider_InterfaceNameToFlags_Response
2 err zx/status

Provider_InterfaceNameToIndex_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response Provider_InterfaceNameToIndex_Response
2 err zx/status

Provider_StreamSocket_Result strict resource

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response Provider_StreamSocket_Response
2 err fuchsia.posix/Errno

StreamSocket_Accept_Result strict resource

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_Accept_Response
2 err fuchsia.posix/Errno

StreamSocket_GetInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetInfo_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpCongestion_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpCongestion_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpCork_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpCork_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpDeferAccept_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpDeferAccept_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpInfo_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpInfo_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpKeepAliveCount_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpKeepAliveCount_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpKeepAliveIdle_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpKeepAliveIdle_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpKeepAliveInterval_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpKeepAliveInterval_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpLinger_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpLinger_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpMaxSegment_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpMaxSegment_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpNoDelay_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpNoDelay_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpQuickAck_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpQuickAck_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpSynCount_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpSynCount_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpUserTimeout_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpUserTimeout_Response
2 err fuchsia.posix/Errno

StreamSocket_GetTcpWindowClamp_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_GetTcpWindowClamp_Response
2 err fuchsia.posix/Errno

StreamSocket_Listen_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_Listen_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpCongestion_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpCongestion_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpCork_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpCork_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpDeferAccept_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpDeferAccept_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpKeepAliveCount_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpKeepAliveCount_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpKeepAliveIdle_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpKeepAliveIdle_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpKeepAliveInterval_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpKeepAliveInterval_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpLinger_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpLinger_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpMaxSegment_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpMaxSegment_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpNoDelay_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpNoDelay_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpQuickAck_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpQuickAck_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpSynCount_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpSynCount_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpUserTimeout_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpUserTimeout_Response
2 err fuchsia.posix/Errno

StreamSocket_SetTcpWindowClamp_Result strict

Defined in fuchsia.posix.socket/socket.fidl

Ordinal
VariantTypeDescription
1 response StreamSocket_SetTcpWindowClamp_Response
2 err fuchsia.posix/Errno

BITS

InterfaceFlags strict

Type: uint16

Defined in fuchsia.posix.socket/socket.fidl

Bits representing the interface flags as returned by the SIOCGIFFLAGS ioctl operation. These bitmasks are intended to track the C API definition. For example, InterfaceFlags.UP corresponds to IFF_UP, etc.

NameValueDescription
UP 1
BROADCAST 2
DEBUG 4
LOOPBACK 8
POINTTOPOINT 16
NOTRAILERS 32
RUNNING 64
NOARP 128
PROMISC 256
ALLMULTI 512
LEADER 1024
FOLLOWER 2048
MULTICAST 4096
PORTSEL 8192
AUTOMEDIA 16384
DYNAMIC 32768

RecvMsgFlags strict

Type: uint16

Defined in fuchsia.posix.socket/socket.fidl

Flags controlling RecvMsg behavior.

NameValueDescription
PEEK 2

Returns data from the receive queue without removing from it.

Equivalent to MSG_PEEK.

SendMsgFlags strict

Type: uint16

Defined in fuchsia.posix.socket/socket.fidl

NameValueDescription
RESERVED 32768

ShutdownMode strict

Type: uint16

Defined in fuchsia.posix.socket/socket.fidl

Socket shutdown mode.

NameValueDescription
READ 1

Shutdown socket read endpoint.

WRITE 2

Shutdown socket write endpoint.