blob: 300c576616c60ad83e4b08bba51cba1788c07a7b [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.overnet.protocol;
/// Extra arguments for attaching a socket link to an Overnet mesh.
table SocketLinkOptions {
/// A label that might be used for debugging purposes.
1: string:32 connection_label;
/// How many bytes per second are transferable on this link (used to tune error recovery).
/// If unset, error recovery will be disabled.
/// If set, must not be 0, or else the receiving MeshController service will close the channel
/// (as discussed in that protocol's documentation).
2: uint32 bytes_per_second;
};