Crate fidl_fuchsia_overnet_protocol

Source

Structs§

BeginTransfer
Body for [fuchsia.overnet.protocol/StreamControl.begin_transfer].
ChannelHandle
A proxied channel.
ChannelRights
Channel rights. Overnet treats rights as per-object type, to reduce the space of things that can be communicated over its wire format. Transfer rights are always assumed present.
ConfigRequest
Overall connection configuration request
ConfigResponse
Overall connection configuration response - sent as the first response message on the connection stream.
ConnectToService
Create a new stream, labelled stream_id, to communicate with the advertised service service_name.
ConnectToServiceOptions
Options for service connection formation.
Empty
EventPairHandle
A proxied eventpair.
EventPairRights
EventPair rights. Overnet treats rights as per-object type, to reduce the space of things that can be communicated over its wire format. Transfer rights are always assumed present.
NodeId
Address of a node on the overlay network.
OpenTransfer
Create a new stream, labelled stream_id, to finalize the transfer labelled transfer_key.
PeerDescription
Description of a single node.
SignalUpdate
Signal state updates. Transported as a side channel for each handle type, these propagate some signal bits.
Signals
Signals that can be propagated. These are deliberately chosen to be different bits than defined in Zircon, to force mapping code to exist, and minimize the chance that Zircon ABI accidentally becomes Overnet protocol.
SocketHandle
A proxied socket.
SocketRights
Socket rights. Overnet treats rights as per-object type, to reduce the space of things that can be communicated over its wire format. Transfer rights are always assumed present.
StreamId
Identifies a single overnet stream between two processes on the Overnet mesh.
TransferInitiator
Body for [fuchsia.overnet.protocol/StreamRef.transfer_initiator].
TransferWaiter
Body for [fuchsia.overnet.protocol/StreamRef.transfer_waiter].
ZirconChannelMessage
A single message proxied from a Zircon channel over an Overnet stream.

Enums§

PeerMessage
Peer-to-peer protocol between two Overnet nodes. Client QUIC connections send this xunion to servers over QUIC stream 0.
PeerReply
Reply messages for PeerMessage, where appropriate. The ConfigResponse message must have been sent already.
SocketType
The type of socket being communicated via [fuchsia.overnet.protocol/SocketHandle].
StreamControl
Stream control message: sent instead of usual stream frames if the frame type is 1 (StreamControl). TODO: consider defining the stream framing format in FIDL also.
StreamRef
A StreamRef identifies a new proxied stream, and details how that stream will come to be on the receiving node.
ZirconHandle
A single handle to be proxied. Not all Zircon types are supported.

Constants§

MAX_SERVICE_NAME_LENGTH
TRANSFER_KEY_LENGTH
Length of a transfer key.

Type Aliases§

TransferKey
A transfer key is used when moving a stream endpoint from one node to another. It identifies a single transfer, should be unique (so, made from random bytes), and should be discarded at the end of the transfer.