Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
token
target_requests_outstanding
http_timeout
- max_batch_down } not supplied
- max_batch_up } by older clients
+ mtu } not supplied
+ max_batch_down } by older
+ max_batch_up } clients
d data (SLIP format, with SLIP_ESC and `-' swapped)
``mtu``
Of virtual interface.
- Must match exactly at each end - *this is not checked*.
+ Must match exactly at each end (checked).
[``1500`` (bytes)]
{}
{}
{}
+ {}
{}"#),
&c.ic.link.client,
token,
c.ic.target_requests_outstanding,
show_timeout,
+ c.ic.mtu,
c.ic.max_batch_down,
c.ic.max_batch_up,
);
let server, client = Duration::from_secs(meta.need_parse()?);
}
+ meta!{
+ mtu, ( != ), client,
+ let server, client: u32 = meta.parse()?.unwrap_or(server);
+ }
+
meta!{
max_batch_down, (), min(client, server),
let server, client: u32 = meta.parse()?.unwrap_or(server);