PROTOCOLS
BaseDatagramSocket
Defined in fuchsia.posix.socket/socket.fidl
Base protocol shared by all datagram sockets.
Complete implementations of a datagram socket should compose this protocol.
AddIpMembership
Set SOL_IP
-> IP_ADD_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpMembership_Result
|
AddIpv6Membership
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpv6Membership_Result
|
Bind
Sets the local address used for the socket.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Bind_Result
|
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
Connect
Initiates a connection to a remote address.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Connect_Result
|
Disconnect
Clears connection information from this socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Disconnect_Result
|
DropIpMembership
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpMembership_Result
|
DropIpv6Membership
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpv6Membership_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseDatagramSocket_GetInfo_Result
|
GetIpMulticastInterface
Get SOL_IP
-> IP_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastInterface_Result
|
GetIpMulticastLoopback
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastLoopback_Result
|
GetIpMulticastTtl
Get SOL_IP
-> IP_MULTICAST_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastTtl_Result
|
GetIpPacketInfo
Get SOL_IP
-> IP_PKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpPacketInfo_Result
|
GetIpReceiveOriginalDestinationAddress
Get SOL_IP
-> IP_RECVORIGDSTADDR
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result
|
GetIpReceiveTtl
Get SOL_IP
-> IP_RECVTTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTtl_Result
|
GetIpReceiveTypeOfService
Get SOL_IP
-> IP_RECVTOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTypeOfService_Result
|
GetIpTransparent
Get SOL_IP
-> IP_TRANSPARENT
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTransparent_Result
|
GetIpTtl
Get SOL_IP
-> IP_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTtl_Result
|
GetIpTypeOfService
Get SOL_IP
-> IP_TOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTypeOfService_Result
|
GetIpv6MulticastHops
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastHops_Result
|
GetIpv6MulticastInterface
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastInterface_Result
|
GetIpv6MulticastLoopback
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastLoopback_Result
|
GetIpv6Only
Get SOL_IPV6
-> IPV6_V6ONLY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6Only_Result
|
GetIpv6ReceiveHopLimit
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result
|
GetIpv6ReceivePacketInfo
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result
|
GetIpv6ReceiveTrafficClass
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result
|
GetIpv6TrafficClass
Get SOL_IPV6
-> IPV6_TCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6TrafficClass_Result
|
GetIpv6UnicastHops
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6UnicastHops_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOriginalDestination
Get SOL_IP
-> SO_ORIGINAL_DST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetOriginalDestination_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetPeerName
Retrieves the remote socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetPeerName_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetSockName
Retrieves the local socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetSockName_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetIpMulticastInterface
Set SOL_IP
-> IP_MULTICAST_IF
.
Request
Name | Type |
---|---|
iface |
fuchsia.net/InterfaceId
|
address |
fuchsia.net/Ipv4Address
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastInterface_Result
|
SetIpMulticastLoopback
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastLoopback_Result
|
SetIpMulticastTtl
Set SOL_IP
-> IP_MULTICAST_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastTtl_Result
|
SetIpPacketInfo
Set SOL_IP
-> IP_PKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpPacketInfo_Result
|
SetIpReceiveOriginalDestinationAddress
Set SOL_IP
-> IP_RECVORIGDSTADDR
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result
|
SetIpReceiveTtl
Set SOL_IP
-> IP_RECVTTL
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTtl_Result
|
SetIpReceiveTypeOfService
Set SOL_IP
-> IP_RECVTOS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTypeOfService_Result
|
SetIpTransparent
Set SOL_IP
-> IP_TRANSPARENT
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTransparent_Result
|
SetIpTtl
Set SOL_IP
-> IP_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTtl_Result
|
SetIpTypeOfService
Set SOL_IP
-> IP_TOS
.
Request
Name | Type |
---|---|
value |
uint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTypeOfService_Result
|
SetIpv6MulticastHops
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastHops_Result
|
SetIpv6MulticastInterface
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastInterface_Result
|
SetIpv6MulticastLoopback
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastLoopback_Result
|
SetIpv6Only
Set SOL_IPV6
-> IPV6_V6ONLY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6Only_Result
|
SetIpv6ReceiveHopLimit
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result
|
SetIpv6ReceivePacketInfo
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result
|
SetIpv6ReceiveTrafficClass
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result
|
SetIpv6TrafficClass
Set SOL_IPV6
-> IPV6_TCLASS
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6TrafficClass_Result
|
SetIpv6UnicastHops
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6UnicastHops_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
Shutdown
Shuts down part of the socket.
Request
Name | Type |
---|---|
mode |
ShutdownMode
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Shutdown_Result
|
BaseNetworkSocket
Defined in fuchsia.posix.socket/socket.fidl
A network socket.
AddIpMembership
Set SOL_IP
-> IP_ADD_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpMembership_Result
|
AddIpv6Membership
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpv6Membership_Result
|
Bind
Sets the local address used for the socket.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Bind_Result
|
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
Connect
Initiates a connection to a remote address.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Connect_Result
|
Disconnect
Clears connection information from this socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Disconnect_Result
|
DropIpMembership
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpMembership_Result
|
DropIpv6Membership
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpv6Membership_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseSocket_GetError_Result
|
GetIpMulticastInterface
Get SOL_IP
-> IP_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastInterface_Result
|
GetIpMulticastLoopback
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastLoopback_Result
|
GetIpMulticastTtl
Get SOL_IP
-> IP_MULTICAST_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastTtl_Result
|
GetIpPacketInfo
Get SOL_IP
-> IP_PKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpPacketInfo_Result
|
GetIpReceiveOriginalDestinationAddress
Get SOL_IP
-> IP_RECVORIGDSTADDR
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result
|
GetIpReceiveTtl
Get SOL_IP
-> IP_RECVTTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTtl_Result
|
GetIpReceiveTypeOfService
Get SOL_IP
-> IP_RECVTOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTypeOfService_Result
|
GetIpTransparent
Get SOL_IP
-> IP_TRANSPARENT
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTransparent_Result
|
GetIpTtl
Get SOL_IP
-> IP_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTtl_Result
|
GetIpTypeOfService
Get SOL_IP
-> IP_TOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTypeOfService_Result
|
GetIpv6MulticastHops
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastHops_Result
|
GetIpv6MulticastInterface
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastInterface_Result
|
GetIpv6MulticastLoopback
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastLoopback_Result
|
GetIpv6Only
Get SOL_IPV6
-> IPV6_V6ONLY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6Only_Result
|
GetIpv6ReceiveHopLimit
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result
|
GetIpv6ReceivePacketInfo
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result
|
GetIpv6ReceiveTrafficClass
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result
|
GetIpv6TrafficClass
Get SOL_IPV6
-> IPV6_TCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6TrafficClass_Result
|
GetIpv6UnicastHops
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6UnicastHops_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOriginalDestination
Get SOL_IP
-> SO_ORIGINAL_DST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetOriginalDestination_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetPeerName
Retrieves the remote socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetPeerName_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetSockName
Retrieves the local socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetSockName_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetIpMulticastInterface
Set SOL_IP
-> IP_MULTICAST_IF
.
Request
Name | Type |
---|---|
iface |
fuchsia.net/InterfaceId
|
address |
fuchsia.net/Ipv4Address
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastInterface_Result
|
SetIpMulticastLoopback
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastLoopback_Result
|
SetIpMulticastTtl
Set SOL_IP
-> IP_MULTICAST_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastTtl_Result
|
SetIpPacketInfo
Set SOL_IP
-> IP_PKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpPacketInfo_Result
|
SetIpReceiveOriginalDestinationAddress
Set SOL_IP
-> IP_RECVORIGDSTADDR
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result
|
SetIpReceiveTtl
Set SOL_IP
-> IP_RECVTTL
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTtl_Result
|
SetIpReceiveTypeOfService
Set SOL_IP
-> IP_RECVTOS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTypeOfService_Result
|
SetIpTransparent
Set SOL_IP
-> IP_TRANSPARENT
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTransparent_Result
|
SetIpTtl
Set SOL_IP
-> IP_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTtl_Result
|
SetIpTypeOfService
Set SOL_IP
-> IP_TOS
.
Request
Name | Type |
---|---|
value |
uint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTypeOfService_Result
|
SetIpv6MulticastHops
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastHops_Result
|
SetIpv6MulticastInterface
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastInterface_Result
|
SetIpv6MulticastLoopback
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastLoopback_Result
|
SetIpv6Only
Set SOL_IPV6
-> IPV6_V6ONLY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6Only_Result
|
SetIpv6ReceiveHopLimit
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result
|
SetIpv6ReceivePacketInfo
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result
|
SetIpv6ReceiveTrafficClass
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result
|
SetIpv6TrafficClass
Set SOL_IPV6
-> IPV6_TCLASS
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6TrafficClass_Result
|
SetIpv6UnicastHops
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6UnicastHops_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
Shutdown
Shuts down part of the socket.
Request
Name | Type |
---|---|
mode |
ShutdownMode
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Shutdown_Result
|
BaseSocket
Defined in fuchsia.posix.socket/socket.fidl
A socket.
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseSocket_GetError_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
DatagramSocket
Defined in fuchsia.posix.socket/socket.fidl
A datagram socket.
AddIpMembership
Set SOL_IP
-> IP_ADD_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpMembership_Result
|
AddIpv6Membership
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpv6Membership_Result
|
Bind
Sets the local address used for the socket.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Bind_Result
|
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
Connect
Initiates a connection to a remote address.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Connect_Result
|
Describe
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
DatagramSocketDescribeResponse
|
Disconnect
Clears connection information from this socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Disconnect_Result
|
DropIpMembership
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpMembership_Result
|
DropIpv6Membership
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpv6Membership_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseDatagramSocket_GetInfo_Result
|
GetIpMulticastInterface
Get SOL_IP
-> IP_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastInterface_Result
|
GetIpMulticastLoopback
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastLoopback_Result
|
GetIpMulticastTtl
Get SOL_IP
-> IP_MULTICAST_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastTtl_Result
|
GetIpPacketInfo
Get SOL_IP
-> IP_PKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpPacketInfo_Result
|
GetIpReceiveOriginalDestinationAddress
Get SOL_IP
-> IP_RECVORIGDSTADDR
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result
|
GetIpReceiveTtl
Get SOL_IP
-> IP_RECVTTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTtl_Result
|
GetIpReceiveTypeOfService
Get SOL_IP
-> IP_RECVTOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTypeOfService_Result
|
GetIpTransparent
Get SOL_IP
-> IP_TRANSPARENT
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTransparent_Result
|
GetIpTtl
Get SOL_IP
-> IP_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTtl_Result
|
GetIpTypeOfService
Get SOL_IP
-> IP_TOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTypeOfService_Result
|
GetIpv6MulticastHops
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastHops_Result
|
GetIpv6MulticastInterface
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastInterface_Result
|
GetIpv6MulticastLoopback
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastLoopback_Result
|
GetIpv6Only
Get SOL_IPV6
-> IPV6_V6ONLY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6Only_Result
|
GetIpv6ReceiveHopLimit
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result
|
GetIpv6ReceivePacketInfo
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result
|
GetIpv6ReceiveTrafficClass
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result
|
GetIpv6TrafficClass
Get SOL_IPV6
-> IPV6_TCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6TrafficClass_Result
|
GetIpv6UnicastHops
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6UnicastHops_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOriginalDestination
Get SOL_IP
-> SO_ORIGINAL_DST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetOriginalDestination_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetPeerName
Retrieves the remote socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetPeerName_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetSockName
Retrieves the local socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetSockName_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
RecvMsgPostflight
Returns the set of requested control messages.
- response the set of currently requested control messages.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
DatagramSocket_RecvMsgPostflight_Result
|
SendMsgPreflight
Validates that data can be sent.
- request
args
the requested disposition of data to be sent.
- response the constraints sent data must satisfy.
- error the error code indicating the reason for validation failure.
Request
Name | Type |
---|---|
payload |
DatagramSocketSendMsgPreflightRequest
|
Response
Name | Type |
---|---|
payload |
DatagramSocket_SendMsgPreflight_Result
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetIpMulticastInterface
Set SOL_IP
-> IP_MULTICAST_IF
.
Request
Name | Type |
---|---|
iface |
fuchsia.net/InterfaceId
|
address |
fuchsia.net/Ipv4Address
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastInterface_Result
|
SetIpMulticastLoopback
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastLoopback_Result
|
SetIpMulticastTtl
Set SOL_IP
-> IP_MULTICAST_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastTtl_Result
|
SetIpPacketInfo
Set SOL_IP
-> IP_PKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpPacketInfo_Result
|
SetIpReceiveOriginalDestinationAddress
Set SOL_IP
-> IP_RECVORIGDSTADDR
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result
|
SetIpReceiveTtl
Set SOL_IP
-> IP_RECVTTL
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTtl_Result
|
SetIpReceiveTypeOfService
Set SOL_IP
-> IP_RECVTOS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTypeOfService_Result
|
SetIpTransparent
Set SOL_IP
-> IP_TRANSPARENT
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTransparent_Result
|
SetIpTtl
Set SOL_IP
-> IP_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTtl_Result
|
SetIpTypeOfService
Set SOL_IP
-> IP_TOS
.
Request
Name | Type |
---|---|
value |
uint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTypeOfService_Result
|
SetIpv6MulticastHops
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastHops_Result
|
SetIpv6MulticastInterface
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastInterface_Result
|
SetIpv6MulticastLoopback
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastLoopback_Result
|
SetIpv6Only
Set SOL_IPV6
-> IPV6_V6ONLY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6Only_Result
|
SetIpv6ReceiveHopLimit
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result
|
SetIpv6ReceivePacketInfo
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result
|
SetIpv6ReceiveTrafficClass
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result
|
SetIpv6TrafficClass
Set SOL_IPV6
-> IPV6_TCLASS
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6TrafficClass_Result
|
SetIpv6UnicastHops
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6UnicastHops_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
Shutdown
Shuts down part of the socket.
Request
Name | Type |
---|---|
mode |
ShutdownMode
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Shutdown_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
Name | Type |
---|---|
domain |
Domain
|
proto |
DatagramSocketProtocol
|
Response
Name | Type |
---|---|
payload |
Provider_DatagramSocket_Result
|
DatagramSocketDeprecated
Requests a datagram socket with the specified parameters. TODO(https://fxbug.dev/42165881): Remove this method once no more callers rely on it.
Request
Name | Type |
---|---|
domain |
Domain
|
proto |
DatagramSocketProtocol
|
Response
Name | Type |
---|---|
payload |
Provider_DatagramSocketDeprecated_Result
|
GetInterfaceAddresses
Requests a list of fuchsia.posix.socket.InterfaceAddresses describing the network interfaces on the system.
Request
<EMPTY>
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
index |
uint64
|
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
name |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
name |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
Provider_InterfaceNameToIndex_Result
|
StreamSocket
Requests a stream socket with the specified parameters.
Request
Name | Type |
---|---|
domain |
Domain
|
proto |
StreamSocketProtocol
|
Response
Name | Type |
---|---|
payload |
Provider_StreamSocket_Result
|
StreamSocket
Defined in fuchsia.posix.socket/socket.fidl
A stream 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
Name | Type |
---|---|
want_addr |
bool
|
Response
Name | Type |
---|---|
payload |
StreamSocket_Accept_Result
|
AddIpMembership
Set SOL_IP
-> IP_ADD_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpMembership_Result
|
AddIpv6Membership
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpv6Membership_Result
|
Bind
Sets the local address used for the socket.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Bind_Result
|
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
Connect
Initiates a connection to a remote address.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Connect_Result
|
Describe
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocketDescribeResponse
|
Disconnect
Clears connection information from this socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Disconnect_Result
|
DropIpMembership
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpMembership_Result
|
DropIpv6Membership
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpv6Membership_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseSocket_GetError_Result
|
GetInfo
Retrieves creation information from the socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetInfo_Result
|
GetIpMulticastInterface
Get SOL_IP
-> IP_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastInterface_Result
|
GetIpMulticastLoopback
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastLoopback_Result
|
GetIpMulticastTtl
Get SOL_IP
-> IP_MULTICAST_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastTtl_Result
|
GetIpPacketInfo
Get SOL_IP
-> IP_PKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpPacketInfo_Result
|
GetIpReceiveOriginalDestinationAddress
Get SOL_IP
-> IP_RECVORIGDSTADDR
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result
|
GetIpReceiveTtl
Get SOL_IP
-> IP_RECVTTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTtl_Result
|
GetIpReceiveTypeOfService
Get SOL_IP
-> IP_RECVTOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTypeOfService_Result
|
GetIpTransparent
Get SOL_IP
-> IP_TRANSPARENT
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTransparent_Result
|
GetIpTtl
Get SOL_IP
-> IP_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTtl_Result
|
GetIpTypeOfService
Get SOL_IP
-> IP_TOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTypeOfService_Result
|
GetIpv6MulticastHops
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastHops_Result
|
GetIpv6MulticastInterface
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastInterface_Result
|
GetIpv6MulticastLoopback
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastLoopback_Result
|
GetIpv6Only
Get SOL_IPV6
-> IPV6_V6ONLY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6Only_Result
|
GetIpv6ReceiveHopLimit
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result
|
GetIpv6ReceivePacketInfo
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result
|
GetIpv6ReceiveTrafficClass
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result
|
GetIpv6TrafficClass
Get SOL_IPV6
-> IPV6_TCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6TrafficClass_Result
|
GetIpv6UnicastHops
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6UnicastHops_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOriginalDestination
Get SOL_IP
-> SO_ORIGINAL_DST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetOriginalDestination_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetPeerName
Retrieves the remote socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetPeerName_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetSockName
Retrieves the local socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetSockName_Result
|
GetTcpCongestion
Get SOL_TCP
-> TCP_CONGESTION
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpCongestion_Result
|
GetTcpCork
Get SOL_TCP
-> TCP_CORK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpCork_Result
|
GetTcpDeferAccept
Get SOL_TCP
-> TCP_DEFER_ACCEPT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpDeferAccept_Result
|
GetTcpInfo
Get SOL_TCP
-> TCP_INFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpInfo_Result
|
GetTcpKeepAliveCount
Get SOL_TCP
-> TCP_KEEPCNT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpKeepAliveCount_Result
|
GetTcpKeepAliveIdle
Get SOL_TCP
-> TCP_KEEPIDLE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpKeepAliveIdle_Result
|
GetTcpKeepAliveInterval
Get SOL_TCP
-> TCP_KEEPINTVL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpKeepAliveInterval_Result
|
GetTcpLinger
Get SOL_TCP
-> TCP_LINGER2
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpLinger_Result
|
GetTcpMaxSegment
Get SOL_TCP
-> TCP_MAXSEG
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpMaxSegment_Result
|
GetTcpNoDelay
Get SOL_TCP
-> TCP_NODELAY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpNoDelay_Result
|
GetTcpQuickAck
Get SOL_TCP
-> TCP_QUICKACK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpQuickAck_Result
|
GetTcpSynCount
Get SOL_TCP
-> TCP_SYNCNT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpSynCount_Result
|
GetTcpUserTimeout
Get SOL_TCP
-> TCP_USER_TIMEOUT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpUserTimeout_Result
|
GetTcpWindowClamp
Get SOL_TCP
-> TCP_WINDOW_CLAMP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
StreamSocket_GetTcpWindowClamp_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Listen
Begins listening for new incoming connections. At most backlog
connections will be buffered.
Request
Name | Type |
---|---|
backlog |
int16
|
Response
Name | Type |
---|---|
payload |
StreamSocket_Listen_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetIpMulticastInterface
Set SOL_IP
-> IP_MULTICAST_IF
.
Request
Name | Type |
---|---|
iface |
fuchsia.net/InterfaceId
|
address |
fuchsia.net/Ipv4Address
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastInterface_Result
|
SetIpMulticastLoopback
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastLoopback_Result
|
SetIpMulticastTtl
Set SOL_IP
-> IP_MULTICAST_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastTtl_Result
|
SetIpPacketInfo
Set SOL_IP
-> IP_PKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpPacketInfo_Result
|
SetIpReceiveOriginalDestinationAddress
Set SOL_IP
-> IP_RECVORIGDSTADDR
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result
|
SetIpReceiveTtl
Set SOL_IP
-> IP_RECVTTL
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTtl_Result
|
SetIpReceiveTypeOfService
Set SOL_IP
-> IP_RECVTOS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTypeOfService_Result
|
SetIpTransparent
Set SOL_IP
-> IP_TRANSPARENT
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTransparent_Result
|
SetIpTtl
Set SOL_IP
-> IP_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTtl_Result
|
SetIpTypeOfService
Set SOL_IP
-> IP_TOS
.
Request
Name | Type |
---|---|
value |
uint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTypeOfService_Result
|
SetIpv6MulticastHops
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastHops_Result
|
SetIpv6MulticastInterface
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastInterface_Result
|
SetIpv6MulticastLoopback
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastLoopback_Result
|
SetIpv6Only
Set SOL_IPV6
-> IPV6_V6ONLY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6Only_Result
|
SetIpv6ReceiveHopLimit
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result
|
SetIpv6ReceivePacketInfo
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result
|
SetIpv6ReceiveTrafficClass
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result
|
SetIpv6TrafficClass
Set SOL_IPV6
-> IPV6_TCLASS
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6TrafficClass_Result
|
SetIpv6UnicastHops
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6UnicastHops_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTcpCongestion
Set SOL_TCP
-> TCP_CONGESTION
.
Request
Name | Type |
---|---|
value |
TcpCongestionControl
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpCongestion_Result
|
SetTcpCork
Set SOL_TCP
-> TCP_CORK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpCork_Result
|
SetTcpDeferAccept
Set SOL_TCP
-> TCP_DEFER_ACCEPT
.
Request
Name | Type |
---|---|
value_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpDeferAccept_Result
|
SetTcpKeepAliveCount
Set SOL_TCP
-> TCP_KEEPCNT
.
Request
Name | Type |
---|---|
value |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpKeepAliveCount_Result
|
SetTcpKeepAliveIdle
Set SOL_TCP
-> TCP_KEEPIDLE
.
Request
Name | Type |
---|---|
value_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpKeepAliveIdle_Result
|
SetTcpKeepAliveInterval
Set SOL_TCP
-> TCP_KEEPINTVL
.
Request
Name | Type |
---|---|
value_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpKeepAliveInterval_Result
|
SetTcpLinger
Set SOL_TCP
-> TCP_LINGER2
.
Request
Name | Type |
---|---|
value_secs |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpLinger_Result
|
SetTcpMaxSegment
Set SOL_TCP
-> TCP_MAXSEG
.
Request
Name | Type |
---|---|
value_bytes |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpMaxSegment_Result
|
SetTcpNoDelay
Set SOL_TCP
-> TCP_NODELAY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpNoDelay_Result
|
SetTcpQuickAck
Set SOL_TCP
-> TCP_QUICKACK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpQuickAck_Result
|
SetTcpSynCount
Set SOL_TCP
-> TCP_SYNCNT
.
Request
Name | Type |
---|---|
value |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpSynCount_Result
|
SetTcpUserTimeout
Set SOL_TCP
-> TCP_USER_TIMEOUT
.
Request
Name | Type |
---|---|
value_millis |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpUserTimeout_Result
|
SetTcpWindowClamp
Set SOL_TCP
-> TCP_WINDOW_CLAMP
.
Request
Name | Type |
---|---|
value |
uint32
|
Response
Name | Type |
---|---|
payload |
StreamSocket_SetTcpWindowClamp_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
Shutdown
Shuts down part of the socket.
Request
Name | Type |
---|---|
mode |
ShutdownMode
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Shutdown_Result
|
SynchronousDatagramSocket
Defined in fuchsia.posix.socket/socket.fidl
A synchronous datagram socket.
This protocol defines synchronous methods for sending and receiving datagram payloads over a channel. All methods are nonblocking; their behavior roughly matches 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
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpMembership_Result
|
AddIpv6Membership
Set SOL_IPV6
-> IPV6_ADD_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_AddIpv6Membership_Result
|
Bind
Sets the local address used for the socket.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Bind_Result
|
Clone2
Request
Name | Type |
---|---|
request |
server_end:fuchsia.unknown/Cloneable
|
Close
Terminates the connection.
After calling Close
, the client must not send any other requests.
Servers, after sending the status response, should close the connection regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling Close
without knowing when the close has completed or its
status.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
fuchsia.unknown/Closeable_Close_Result
|
Connect
Initiates a connection to a remote address.
Request
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Connect_Result
|
Describe
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
SynchronousDatagramSocketDescribeResponse
|
Disconnect
Clears connection information from this socket.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Disconnect_Result
|
DropIpMembership
Set SOL_IP
-> IP_DROP_MEMBERSHIP
Request
Name | Type |
---|---|
membership |
IpMulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpMembership_Result
|
DropIpv6Membership
Set SOL_IPV6
-> IPV6_DROP_MEMBERSHIP
.
Request
Name | Type |
---|---|
membership |
Ipv6MulticastMembership
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_DropIpv6Membership_Result
|
GetAcceptConn
Get SOL_SOCKET
-> SO_ACCEPTCONN
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetAcceptConn_Result
|
GetBindToDevice
Get SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToDevice_Result
|
GetBindToInterfaceIndex
Get SOL_SOCKET
-> SO_BINDTOIFINDEX
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetBindToInterfaceIndex_Result
|
GetBroadcast
Get SOL_SOCKET
-> SO_BROADCAST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
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
Name | Type |
---|---|
payload |
BaseDatagramSocket_GetInfo_Result
|
GetIpMulticastInterface
Get SOL_IP
-> IP_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastInterface_Result
|
GetIpMulticastLoopback
Get SOL_IP
-> IP_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastLoopback_Result
|
GetIpMulticastTtl
Get SOL_IP
-> IP_MULTICAST_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpMulticastTtl_Result
|
GetIpPacketInfo
Get SOL_IP
-> IP_PKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpPacketInfo_Result
|
GetIpReceiveOriginalDestinationAddress
Get SOL_IP
-> IP_RECVORIGDSTADDR
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result
|
GetIpReceiveTtl
Get SOL_IP
-> IP_RECVTTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTtl_Result
|
GetIpReceiveTypeOfService
Get SOL_IP
-> IP_RECVTOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpReceiveTypeOfService_Result
|
GetIpTransparent
Get SOL_IP
-> IP_TRANSPARENT
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTransparent_Result
|
GetIpTtl
Get SOL_IP
-> IP_TTL
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTtl_Result
|
GetIpTypeOfService
Get SOL_IP
-> IP_TOS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpTypeOfService_Result
|
GetIpv6MulticastHops
Get SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastHops_Result
|
GetIpv6MulticastInterface
Get SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastInterface_Result
|
GetIpv6MulticastLoopback
Get SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6MulticastLoopback_Result
|
GetIpv6Only
Get SOL_IPV6
-> IPV6_V6ONLY
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6Only_Result
|
GetIpv6ReceiveHopLimit
Get SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result
|
GetIpv6ReceivePacketInfo
Get SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result
|
GetIpv6ReceiveTrafficClass
Get SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result
|
GetIpv6TrafficClass
Get SOL_IPV6
-> IPV6_TCLASS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6TrafficClass_Result
|
GetIpv6UnicastHops
Get SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetIpv6UnicastHops_Result
|
GetKeepAlive
Get SOL_SOCKET
-> SO_KEEPALIVE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetKeepAlive_Result
|
GetLinger
Get SOL_SOCKET
-> SO_LINGER
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetLinger_Result
|
GetMark
Like getting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
Response
Name | Type |
---|---|
payload |
BaseSocket_GetMark_Result
|
GetNoCheck
Get SOL_SOCKET
-> SO_NO_CHECK
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetNoCheck_Result
|
GetOriginalDestination
Get SOL_IP
-> SO_ORIGINAL_DST
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetOriginalDestination_Result
|
GetOutOfBandInline
Get SOL_SOCKET
-> SO_OOBINLINE
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetOutOfBandInline_Result
|
GetPeerName
Retrieves the remote socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetPeerName_Result
|
GetReceiveBuffer
Get SOL_SOCKET
-> SO_RCVBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReceiveBuffer_Result
|
GetReuseAddress
Get SOL_SOCKET
-> SO_REUSEADDR
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReuseAddress_Result
|
GetReusePort
Get SOL_SOCKET
-> SO_REUSEPORT
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetReusePort_Result
|
GetSendBuffer
Get SOL_SOCKET
-> SO_SNDBUF
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetSendBuffer_Result
|
GetSockName
Retrieves the local socket address.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_GetSockName_Result
|
GetTimestamp
Get SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
BaseSocket_GetTimestamp_Result
|
Query
Request
<EMPTY>
Response
Name | Type |
---|---|
protocol |
vector<uint8>
|
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
Name | Type |
---|---|
want_addr |
bool
|
data_len |
uint32
|
want_control |
bool
|
flags |
RecvMsgFlags
|
Response
Name | Type |
---|---|
payload |
SynchronousDatagramSocket_RecvMsg_Result
|
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
Name | Type |
---|---|
addr |
fuchsia.net/SocketAddress?
|
data |
vector<uint8>
|
control |
DatagramSocketSendControlData
|
flags |
SendMsgFlags
|
Response
Name | Type |
---|---|
payload |
SynchronousDatagramSocket_SendMsg_Result
|
SetBindToDevice
Set SOL_SOCKET
-> SO_BINDTODEVICE
.
Request
Name | Type |
---|---|
value |
fuchsia.net.interfaces/Name
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToDevice_Result
|
SetBindToInterfaceIndex
Set SOL_SOCKET
-> SO_BINDTOIFINDEX
.
If value
is 0, this clears the bound interface.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBindToInterfaceIndex_Result
|
SetBroadcast
Set SOL_SOCKET
-> SO_BROADCAST
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetBroadcast_Result
|
SetIpMulticastInterface
Set SOL_IP
-> IP_MULTICAST_IF
.
Request
Name | Type |
---|---|
iface |
fuchsia.net/InterfaceId
|
address |
fuchsia.net/Ipv4Address
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastInterface_Result
|
SetIpMulticastLoopback
Set SOL_IP
-> IP_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastLoopback_Result
|
SetIpMulticastTtl
Set SOL_IP
-> IP_MULTICAST_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpMulticastTtl_Result
|
SetIpPacketInfo
Set SOL_IP
-> IP_PKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpPacketInfo_Result
|
SetIpReceiveOriginalDestinationAddress
Set SOL_IP
-> IP_RECVORIGDSTADDR
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result
|
SetIpReceiveTtl
Set SOL_IP
-> IP_RECVTTL
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTtl_Result
|
SetIpReceiveTypeOfService
Set SOL_IP
-> IP_RECVTOS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpReceiveTypeOfService_Result
|
SetIpTransparent
Set SOL_IP
-> IP_TRANSPARENT
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTransparent_Result
|
SetIpTtl
Set SOL_IP
-> IP_TTL
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTtl_Result
|
SetIpTypeOfService
Set SOL_IP
-> IP_TOS
.
Request
Name | Type |
---|---|
value |
uint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpTypeOfService_Result
|
SetIpv6MulticastHops
Set SOL_IPV6
-> IPV6_MULTICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastHops_Result
|
SetIpv6MulticastInterface
Set SOL_IPV6
-> IPV6_MULTICAST_IF
.
Request
Name | Type |
---|---|
value |
fuchsia.net/InterfaceId
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastInterface_Result
|
SetIpv6MulticastLoopback
Set SOL_IPV6
-> IPV6_MULTICAST_LOOP
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6MulticastLoopback_Result
|
SetIpv6Only
Set SOL_IPV6
-> IPV6_V6ONLY
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6Only_Result
|
SetIpv6ReceiveHopLimit
Set SOL_IPV6
-> IPV6_RECVHOPLIMIT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result
|
SetIpv6ReceivePacketInfo
Set SOL_IPV6
-> IPV6_RECVPKTINFO
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result
|
SetIpv6ReceiveTrafficClass
Set SOL_IPV6
-> IPV6_RECVTCLASS
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result
|
SetIpv6TrafficClass
Set SOL_IPV6
-> IPV6_TCLASS
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6TrafficClass_Result
|
SetIpv6UnicastHops
Set SOL_IPV6
-> IPV6_UNICAST_HOPS
.
Request
Name | Type |
---|---|
value |
OptionalUint8
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_SetIpv6UnicastHops_Result
|
SetKeepAlive
Set SOL_SOCKET
-> SO_KEEPALIVE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetKeepAlive_Result
|
SetLinger
Set SOL_SOCKET
-> SO_LINGER
.
Request
Name | Type |
---|---|
linger |
bool
|
length_secs |
uint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetLinger_Result
|
SetMark
Like setting SOL_SOCKET
-> SO_MARK
. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Request
Name | Type |
---|---|
domain |
MarkDomain
|
mark |
OptionalUint32
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetMark_Result
|
SetNoCheck
Set SOL_SOCKET
-> SO_NO_CHECK
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetNoCheck_Result
|
SetOutOfBandInline
Set SOL_SOCKET
-> SO_OOBINLINE
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetOutOfBandInline_Result
|
SetReceiveBuffer
Set SOL_SOCKET
-> SO_RCVBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReceiveBuffer_Result
|
SetReuseAddress
Set SOL_SOCKET
-> SO_REUSEADDR
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReuseAddress_Result
|
SetReusePort
Set SOL_SOCKET
-> SO_REUSEPORT
.
Request
Name | Type |
---|---|
value |
bool
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetReusePort_Result
|
SetSendBuffer
Set SOL_SOCKET
-> SO_SNDBUF
.
Request
Name | Type |
---|---|
value_bytes |
uint64
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetSendBuffer_Result
|
SetTimestamp
Set SOL_SOCKET
-> SO_TIMESTAMP
or SO_TIMESTAMPNS
.
Request
Name | Type |
---|---|
value |
TimestampOption
|
Response
Name | Type |
---|---|
payload |
BaseSocket_SetTimestamp_Result
|
Shutdown
Shuts down part of the socket.
Request
Name | Type |
---|---|
mode |
ShutdownMode
|
Response
Name | Type |
---|---|
payload |
BaseNetworkSocket_Shutdown_Result
|
STRUCTS
BaseDatagramSocket_GetInfo_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
domain |
Domain
|
No default | |
proto |
DatagramSocketProtocol
|
No default |
BaseNetworkSocket_AddIpMembership_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseNetworkSocket_AddIpv6Membership_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
Field | Type | Description | Default |
---|---|---|---|
value |
fuchsia.net/Ipv4Address
|
No default |
BaseNetworkSocket_GetIpMulticastLoopback_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpMulticastTtl_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetIpPacketInfo_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpReceiveTtl_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpReceiveTypeOfService_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpTransparent_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpTtl_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetIpTypeOfService_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetIpv6MulticastHops_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetIpv6MulticastInterface_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
fuchsia.net/InterfaceId
|
No default |
BaseNetworkSocket_GetIpv6MulticastLoopback_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpv6Only_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseNetworkSocket_GetIpv6TrafficClass_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetIpv6UnicastHops_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint8
|
No default |
BaseNetworkSocket_GetOriginalDestination_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
fuchsia.net/SocketAddress
|
No default |
BaseNetworkSocket_GetPeerName_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
addr |
fuchsia.net/SocketAddress
|
No default |
BaseNetworkSocket_GetSockName_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
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_SetIpReceiveOriginalDestinationAddress_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseNetworkSocket_SetIpReceiveTtl_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseNetworkSocket_SetIpReceiveTypeOfService_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseNetworkSocket_SetIpTransparent_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_SetIpv6ReceiveHopLimit_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseNetworkSocket_SetIpv6ReceivePacketInfo_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_SetIpv6UnicastHops_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
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetBindToDevice_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
fuchsia.net.interfaces/Name
|
No default |
BaseSocket_GetBindToInterfaceIndex_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
fuchsia.net/InterfaceId
|
No default |
BaseSocket_GetBroadcast_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
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
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetLinger_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
linger |
bool
|
No default | |
length_secs |
uint32
|
No default |
BaseSocket_GetMark_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
mark |
OptionalUint32
|
No default |
BaseSocket_GetNoCheck_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetOutOfBandInline_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetReceiveBuffer_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_bytes |
uint64
|
No default |
BaseSocket_GetReuseAddress_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetReusePort_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
BaseSocket_GetSendBuffer_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_bytes |
uint64
|
No default |
BaseSocket_GetTimestamp_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
TimestampOption
|
No default |
BaseSocket_SetBindToDevice_Response
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
BaseSocket_SetBindToInterfaceIndex_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_SetMark_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>
Empty
Defined in fuchsia.posix.socket/socket.fidl
<EMPTY>
IpMulticastMembership
Defined in fuchsia.posix.socket/socket.fidl
IPv4 multicast membership options.
Field | Type | Description | Default |
---|---|---|---|
iface |
fuchsia.net/InterfaceId
|
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.
Field | Type | Description | Default |
---|---|---|---|
iface |
fuchsia.net/InterfaceId
|
Interface index for membership. |
No default |
mcast_addr |
fuchsia.net/Ipv6Address
|
Address of the multicast group the membership refers to. |
No default |
Ipv6PktInfoRecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
iface |
fuchsia.net/InterfaceId
|
The index of the interface on which the IP packet was received. |
No default |
header_destination_addr |
fuchsia.net/Ipv6Address
|
The destination address specified in the received packet's IP header. |
No default |
Ipv6PktInfoSendControlData
Defined in fuchsia.posix.socket/socket.fidl
IPv6-specific disposition of sent data.
This is currently a struct instead of a table as it is meant to match
in6_pktinfo
which is not expected to grow.
Field | Type | Description | Default |
---|---|---|---|
iface |
uint64
|
The interface index from which the IPv6 packet should be sent. 0 indicates that the local interface is unspecified and the stack may choose an appropriate interface. |
No default |
local_addr |
fuchsia.net/Ipv6Address
|
The source address from which the IPv6 packet should be sent. All zeroes indicates that the local address is unspecified and the stack may choose an appropriate address (i.e. the local address to which the socket is bound). |
No default |
Provider_DatagramSocketDeprecated_Response resource
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
s |
client_end:SynchronousDatagramSocket
|
No default |
Provider_InterfaceIndexToName_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
name |
fuchsia.net.interfaces/Name
|
No default |
Provider_InterfaceNameToFlags_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
flags |
InterfaceFlags
|
No default |
Provider_InterfaceNameToIndex_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
index |
uint64
|
No default |
Provider_StreamSocket_Response resource
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
s |
client_end:StreamSocket
|
No default |
StreamSocket_Accept_Response resource
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
addr |
fuchsia.net/SocketAddress?
|
No default | |
s |
client_end:StreamSocket
|
No default |
StreamSocket_GetInfo_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
domain |
Domain
|
No default | |
proto |
StreamSocketProtocol
|
No default |
StreamSocket_GetTcpCongestion_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
TcpCongestionControl
|
No default |
StreamSocket_GetTcpCork_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
StreamSocket_GetTcpDeferAccept_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_secs |
uint32
|
No default |
StreamSocket_GetTcpInfo_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
info |
TcpInfo
|
No default |
StreamSocket_GetTcpKeepAliveCount_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint32
|
No default |
StreamSocket_GetTcpKeepAliveIdle_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_secs |
uint32
|
No default |
StreamSocket_GetTcpKeepAliveInterval_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_secs |
uint32
|
No default |
StreamSocket_GetTcpLinger_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_secs |
OptionalUint32
|
No default |
StreamSocket_GetTcpMaxSegment_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_bytes |
uint32
|
No default |
StreamSocket_GetTcpNoDelay_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
StreamSocket_GetTcpQuickAck_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
bool
|
No default |
StreamSocket_GetTcpSynCount_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value |
uint32
|
No default |
StreamSocket_GetTcpUserTimeout_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
value_millis |
uint32
|
No default |
StreamSocket_GetTcpWindowClamp_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
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>
SynchronousDatagramSocket_RecvMsg_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
addr |
fuchsia.net/SocketAddress?
|
No default | |
data |
vector<uint8>
|
No default | |
control |
DatagramSocketRecvControlData
|
No default | |
truncated |
uint32
|
No default |
SynchronousDatagramSocket_SendMsg_Response
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
len |
int64
|
No default |
Timestamp
Defined in fuchsia.posix.socket/socket.fidl
Field | Type | Description | Default |
---|---|---|---|
nanoseconds |
int64
|
Time in nanoseconds since epoch (January 1 1970 GMT). |
No default |
requested |
TimestampOption
|
Identifies whether/how the timestamp should be returned to the user. Ignored in the DatagramSocket protocol. |
No default |
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.
Name | Value | Description |
---|---|---|
UDP |
1 |
UDP (User Datagram Protocol). A UDP socket is equivalent to the POSIX API of |
ICMP_ECHO |
2 |
ICMP (Internet Control Message Protocol) echo. An ICMP echo socket is equivalent to the POSIX API of 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.
Name | Value | Description |
---|---|---|
IPV4 |
0 |
An IPv4 socket. Equivalent to |
IPV6 |
1 |
An IPv6 socket. Equivalent to |
MarkDomain strict
Type: uint32
Defined in fuchsia.posix.socket/socket.fidl
Domains for a mark. This allows multiple marks to be set and retrieved independently.
Name | Value | Description |
---|---|---|
MARK_1 |
0 |
|
MARK_2 |
1 |
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.
Name | Value | Description |
---|---|---|
TCP |
0 |
TCP (Transmission Control Protocol). A TCP socket is equivalent to the POSIX API of |
TcpCongestionControl strict
Type: uint32
Defined in fuchsia.posix.socket/socket.fidl
TCP congestion control modes.
Name | Value | Description |
---|---|---|
RENO |
1 |
|
CUBIC |
2 |
TcpCongestionControlState strict
Type: uint32
Defined in fuchsia.posix.socket/socket.fidl
TCP congestion control state machine state.
Name | Value | Description |
---|---|---|
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.
Name | Value | Description |
---|---|---|
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 |
TimestampOption strict
Type: uint32
Defined in fuchsia.posix.socket/socket.fidl
Packet timestamp reporting precision options.
Name | Value | Description |
---|---|---|
DISABLED |
0 |
Do not report timestamp. |
NANOSECOND |
1 |
Report timestamp with nanosecond precision. |
MICROSECOND |
2 |
Report timestamp with microsecond precision. |
UdpMetadataEncodingProtocolVersion flexible
Type: uint16
Defined in fuchsia.posix.socket/socket.fidl
Name | Value | Description |
---|---|---|
ZERO |
0 |
TABLES
DatagramSocketDescribeResponse resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
socket |
handle<socket>
|
|
2 |
tx_meta_buf_size |
uint64
|
Size of the buffer used to receive Tx metadata. |
3 |
rx_meta_buf_size |
uint64
|
Size of the buffer used to receive Rx metadata. |
4 |
metadata_encoding_protocol_version |
UdpMetadataEncodingProtocolVersion
|
Identifies the version of the protocol used to encode and decode metadata sent alongside payloads over the socket. |
DatagramSocketRecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
network |
NetworkSocketRecvControlData
|
Network socket ancillary data. |
DatagramSocketSendControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
network |
NetworkSocketSendControlData
|
Network socket ancillary data. |
DatagramSocketSendMsgPreflightRequest
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
to |
fuchsia.net/SocketAddress
|
The destination address. If absent, interpreted as the method receiver's connected address and causes the connected address to be returned. Required if the method receiver is not connected. |
2 |
ipv6_pktinfo |
Ipv6PktInfoSendControlData
|
Information controlling the local interface and/or address used when sending an IPv6 packet. If absent, indicates that the stack is free to choose an appropriate outgoing route. |
DatagramSocket_RecvMsgPostflight_Response resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
validity |
handle<eventpair>
|
Represents the validity of this structure. The structure is invalid if the peer is closed. |
2 |
timestamp |
TimestampOption
|
Identifies whether the |
3 |
requests |
CmsgRequests
|
Identifies the status (requested or not) of up to 32 control messages. This set size should be large enough to signal the status of all cmsgs supported by POSIX systems as of 2022. If that changes, the set can be extended by adding additional bits fields. |
DatagramSocket_SendMsgPreflight_Response resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
to |
fuchsia.net/SocketAddress
|
The validated destination address. Present only in response to an unset |
2 |
validity |
vector<handle<eventpair>>:63
|
Represents the validity of this structure. The structure is invalid if any of the elements' peer is closed. Datagrams sent with the associated metadata after invalidation will be silently dropped. |
3 |
maximum_size |
uint32
|
The maximum datagram size that can be sent. Datagrams exceeding this will be silently dropped. |
InterfaceAddresses
Defined in fuchsia.posix.socket/socket.fidl
Holds information about an interface and its addresses.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
id |
uint64
|
ID of the interface. |
2 |
name |
fuchsia.net.interfaces/Name
|
Name of the interface. |
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. |
IpRecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
tos |
uint8
|
The Type of Service value found in a received packet's IPv4 header. Present if the |
2 |
ttl |
uint8
|
The Time to Live value found in a received packet's IPv4 header. Present if the |
3 |
original_destination_address |
fuchsia.net/SocketAddress
|
The original destination address. Present if the Added: 15
|
IpSendControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
2 |
ttl |
uint8
|
The Time to Live value to set in the IPv4 header of an outgoing packet. |
Ipv6RecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
tclass |
uint8
|
The Traffic Class of a packet that was received. Present if the |
2 |
hoplimit |
uint8
|
The Hop Limit of a packet that was received. Present if the |
3 |
pktinfo |
Ipv6PktInfoRecvControlData
|
The packet information of a packet that was received. Present if the |
Ipv6SendControlData
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
2 |
hoplimit |
uint8
|
The Hop Limit value to set in the IPv6 header of an outgoing packet. |
3 |
pktinfo |
Ipv6PktInfoSendControlData
|
Information controlling the local interface and/or address used when sending an IPv6 packet. |
NetworkSocketRecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Network socket (L3) ancillary data that can be received.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
socket |
SocketRecvControlData
|
Socket level ancillary data. |
2 |
ip |
IpRecvControlData
|
IPv4 level ancillary data. These match POSIX |
3 |
ipv6 |
Ipv6RecvControlData
|
IPv6 level ancillary data. These match POSIX |
NetworkSocketSendControlData
Defined in fuchsia.posix.socket/socket.fidl
Network socket (L3) ancillary data that can be sent.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
socket |
SocketSendControlData
|
Socket level ancillary data. |
2 |
ip |
IpSendControlData
|
IPv4 level ancillary data. These match POSIX |
3 |
ipv6 |
Ipv6SendControlData
|
IPv6 level ancillary data. These match POSIX |
RecvMsgMeta
Defined in fuchsia.posix.socket/socket.fidl
Metadata of a received datagram.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
from |
fuchsia.net/SocketAddress
|
The from address of the datagram. |
2 |
control |
DatagramSocketRecvControlData
|
Ancillary control message data describing the datagram. |
3 |
payload_len |
uint16
|
The length of the payload, in bytes. |
SendMsgMeta
Defined in fuchsia.posix.socket/socket.fidl
Metadata of a sent datagram.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
to |
fuchsia.net/SocketAddress
|
The destination address, if specified. |
2 |
control |
DatagramSocketSendControlData
|
Ancillary control message data used for sending the payload. |
SocketRecvControlData
Defined in fuchsia.posix.socket/socket.fidl
Socket level ancillary data that can be received.
These match control messages with a SOL_SOCKET
level.
Ordinal | Field | Type | Description |
---|---|---|---|
3 |
timestamp |
Timestamp
|
Data about the time at which the packet was received. |
SocketSendControlData
Defined in fuchsia.posix.socket/socket.fidl
Socket level ancillary data that can be sent.
These match the POSIX SOL_SOCKET
control messages.
Ordinal | Field | Type | Description |
---|
StreamSocketDescribeResponse resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
socket |
handle<socket>
|
|
SynchronousDatagramSocketDescribeResponse resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
event |
handle<eventpair>
|
Signals additional information about the state of the socket such as readiness or shutdown-ness. |
TcpInfo
Defined in fuchsia.posix.socket/socket.fidl
TCP protocol state.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
state |
TcpState
|
|
2 |
ca_state |
TcpCongestionControlState
|
|
11 |
rto_usec |
uint32
|
|
26 |
rtt_usec |
uint32
|
|
27 |
rtt_var_usec |
uint32
|
|
28 |
snd_ssthresh |
uint32
|
|
29 |
snd_cwnd |
uint32
|
|
54 |
reorder_seen |
bool
|
UNIONS
BaseDatagramSocket_GetInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseDatagramSocket_GetInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_AddIpMembership_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_AddIpMembership_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_AddIpv6Membership_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_AddIpv6Membership_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_Bind_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_Bind_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_Connect_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_Connect_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_Disconnect_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_Disconnect_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_DropIpMembership_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_DropIpMembership_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_DropIpv6Membership_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_DropIpv6Membership_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpMulticastInterface_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpMulticastInterface_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpMulticastLoopback_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpMulticastLoopback_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpMulticastTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpMulticastTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpPacketInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpPacketInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpReceiveOriginalDestinationAddress_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpReceiveTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpReceiveTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpReceiveTypeOfService_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpReceiveTypeOfService_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpTransparent_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpTransparent_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpTypeOfService_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpTypeOfService_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6MulticastHops_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6MulticastHops_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6MulticastInterface_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6MulticastInterface_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6MulticastLoopback_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6MulticastLoopback_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6Only_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6Only_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6ReceiveHopLimit_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6ReceivePacketInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6ReceiveTrafficClass_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6TrafficClass_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6TrafficClass_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetIpv6UnicastHops_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetIpv6UnicastHops_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetOriginalDestination_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetOriginalDestination_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetPeerName_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetPeerName_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_GetSockName_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_GetSockName_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpMulticastInterface_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpMulticastInterface_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpMulticastLoopback_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpMulticastLoopback_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpMulticastTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpMulticastTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpPacketInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpPacketInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpReceiveOriginalDestinationAddress_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpReceiveTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpReceiveTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpReceiveTypeOfService_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpReceiveTypeOfService_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpTransparent_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpTransparent_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpTtl_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpTtl_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpTypeOfService_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpTypeOfService_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6MulticastHops_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6MulticastHops_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6MulticastInterface_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6MulticastInterface_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6MulticastLoopback_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6MulticastLoopback_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6Only_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6Only_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6ReceiveHopLimit_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6ReceivePacketInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6ReceiveTrafficClass_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6TrafficClass_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6TrafficClass_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_SetIpv6UnicastHops_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_SetIpv6UnicastHops_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseNetworkSocket_Shutdown_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseNetworkSocket_Shutdown_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetAcceptConn_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetAcceptConn_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetBindToDevice_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetBindToDevice_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetBindToInterfaceIndex_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetBindToInterfaceIndex_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetBroadcast_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetBroadcast_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetError_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetError_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetKeepAlive_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetKeepAlive_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetLinger_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetLinger_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetMark_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetMark_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetNoCheck_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetNoCheck_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetOutOfBandInline_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetOutOfBandInline_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetReceiveBuffer_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetReceiveBuffer_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetReuseAddress_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetReuseAddress_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetReusePort_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetReusePort_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetSendBuffer_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetSendBuffer_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_GetTimestamp_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_GetTimestamp_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetBindToDevice_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetBindToDevice_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetBindToInterfaceIndex_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetBindToInterfaceIndex_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetBroadcast_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetBroadcast_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetKeepAlive_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetKeepAlive_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetLinger_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetLinger_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetMark_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetMark_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetNoCheck_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetNoCheck_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetOutOfBandInline_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetOutOfBandInline_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetReceiveBuffer_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetReceiveBuffer_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetReuseAddress_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetReuseAddress_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetReusePort_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetReusePort_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetSendBuffer_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetSendBuffer_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BaseSocket_SetTimestamp_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
BaseSocket_SetTimestamp_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
DatagramSocket_RecvMsgPostflight_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
DatagramSocket_RecvMsgPostflight_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
DatagramSocket_SendMsgPreflight_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
DatagramSocket_SendMsgPreflight_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
OptionalUint32 strict
Defined in fuchsia.posix.socket/socket.fidl
An optional uint32 value.
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
value |
uint32
|
|
2 |
unset |
Empty
|
OptionalUint8 strict
Defined in fuchsia.posix.socket/socket.fidl
An optional byte value.
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
value |
uint8
|
|
2 |
unset |
Empty
|
Provider_DatagramSocketDeprecated_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_DatagramSocketDeprecated_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
Provider_DatagramSocket_Response strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
datagram_socket |
client_end:DatagramSocket
|
|
2 |
synchronous_datagram_socket |
client_end:SynchronousDatagramSocket
|
Provider_DatagramSocket_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_DatagramSocket_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
Provider_InterfaceIndexToName_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_InterfaceIndexToName_Response
|
|
2 |
err |
zx/Status
|
Provider_InterfaceNameToFlags_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_InterfaceNameToFlags_Response
|
|
2 |
err |
zx/Status
|
Provider_InterfaceNameToIndex_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_InterfaceNameToIndex_Response
|
|
2 |
err |
zx/Status
|
Provider_StreamSocket_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Provider_StreamSocket_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_Accept_Result strict resource
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_Accept_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpCongestion_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpCongestion_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpCork_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpCork_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpDeferAccept_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpDeferAccept_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpInfo_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpInfo_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpKeepAliveCount_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpKeepAliveCount_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpKeepAliveIdle_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpKeepAliveIdle_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpKeepAliveInterval_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpKeepAliveInterval_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpLinger_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpLinger_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpMaxSegment_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpMaxSegment_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpNoDelay_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpNoDelay_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpQuickAck_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpQuickAck_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpSynCount_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpSynCount_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpUserTimeout_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpUserTimeout_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_GetTcpWindowClamp_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_GetTcpWindowClamp_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_Listen_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_Listen_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpCongestion_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpCongestion_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpCork_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpCork_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpDeferAccept_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpDeferAccept_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpKeepAliveCount_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpKeepAliveCount_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpKeepAliveIdle_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpKeepAliveIdle_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpKeepAliveInterval_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpKeepAliveInterval_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpLinger_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpLinger_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpMaxSegment_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpMaxSegment_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpNoDelay_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpNoDelay_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpQuickAck_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpQuickAck_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpSynCount_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpSynCount_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpUserTimeout_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpUserTimeout_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
StreamSocket_SetTcpWindowClamp_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
StreamSocket_SetTcpWindowClamp_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
SynchronousDatagramSocket_RecvMsg_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
SynchronousDatagramSocket_RecvMsg_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
SynchronousDatagramSocket_SendMsg_Result strict
Defined in fuchsia.posix.socket/socket.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
SynchronousDatagramSocket_SendMsg_Response
|
|
2 |
err |
fuchsia.posix/Errno
|
BITS
CmsgRequests flexible
Type: uint32
Defined in fuchsia.posix.socket/socket.fidl
Name | Value | Description |
---|---|---|
IP_TOS |
1 | Identifies whether the |
IP_TTL |
2 | Identifies whether the |
IPV6_TCLASS |
4 | Identifies whether the |
IPV6_HOPLIMIT |
8 | Identifies whether the |
IPV6_PKTINFO |
16 | Identifies whether the |
IP_RECVORIGDSTADDR |
32 | Identifies whether the Added: 15
|
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.
Name | Value | Description |
---|---|---|
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.
Name | Value | Description |
---|---|---|
PEEK |
2 | Returns data from the receive queue without removing from it. Equivalent to |
SendMsgFlags strict
Type: uint16
Defined in fuchsia.posix.socket/socket.fidl
Name | Value | Description |
---|---|---|
RESERVED |
32768 |
ShutdownMode strict
Type: uint16
Defined in fuchsia.posix.socket/socket.fidl
Socket shutdown mode.
Name | Value | Description |
---|---|---|
READ |
1 | Shutdown socket read endpoint. |
WRITE |
2 | Shutdown socket write endpoint. |
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
DATAGRAM_SOCKET_PROTOCOL_NAME | fuchsia.posix.socket/DatagramSocket |
String |
|
FAST_UDP_WAIT_MANY_MAXIMUM_ITEMS |
63
|
uint32 |
Constant bounding the number of eventpairs returned by Netstack to clients of the fast protocol. Set equal to |
SIGNAL_DATAGRAM_ERROR |
USER_SIGNAL_2
|
uint32 |
|
SIGNAL_DATAGRAM_INCOMING |
USER_SIGNAL_0
|
uint32 |
|
SIGNAL_DATAGRAM_OUTGOING |
USER_SIGNAL_1
|
uint32 |
|
SIGNAL_DATAGRAM_SHUTDOWN_READ |
USER_SIGNAL_4
|
uint32 |
|
SIGNAL_DATAGRAM_SHUTDOWN_WRITE |
USER_SIGNAL_5
|
uint32 |
|
SIGNAL_STREAM_CONNECTED |
USER_SIGNAL_3
|
uint32 |
|
SIGNAL_STREAM_INCOMING |
USER_SIGNAL_0
|
uint32 |
|
STREAM_SOCKET_PROTOCOL_NAME | fuchsia.posix.socket/StreamSocket |
String |
|
SYNCHRONOUS_DATAGRAM_SOCKET_PROTOCOL_NAME | fuchsia.posix.socket/SynchronousDatagramSocket |
String |
|
USER_SIGNAL_0 |
16777216
|
uint32 |
|
USER_SIGNAL_1 |
33554432
|
uint32 |
|
USER_SIGNAL_2 |
67108864
|
uint32 |
|
USER_SIGNAL_3 |
134217728
|
uint32 |
|
USER_SIGNAL_4 |
268435456
|
uint32 |
|
USER_SIGNAL_5 |
536870912
|
uint32 |