Module ping

Module ping 

Source
Expand description

ping: reachability and path quality, measured over the mesh.

Like manage and peer-repeaters this borrows the attached radio and becomes a node, but it needs no authorization from the far end: an Echo Request is a plain MAC command that every node’s MAC answers on its own. What a ping is for is measuring the path that real traffic will take, so the flags here are the frame’s own shape—MIC size, source form, flood budget, an explicit route, the channel it rides—and they carry through to the wire untouched.

Structs§

PingArgs
SendProgress 🔒
What the MAC observed of an ack-tracked frame it sent.

Enums§

Reply 🔒
What one ping came back as.

Constants§

DEFAULT_SIZE 🔒
The default echo size, in bytes of echo data.

Functions§

bare_seconds 🔒
describe_send 🔒
What went wrong on the way to the antenna, in the terms of the flag that caused it.
describe_shape 🔒
The one-line summary of the frame shape being measured, so the numbers below it can be read back later without the command line.
one_ping 🔒
Send one ping and wait out its deadline.
pump_until 🔒
Drive the host until done or the deadline, whichever comes first.
report 🔒
One line per ping, in the order they were sent.
run
seconds 🔒
summarize 🔒
Loss and round-trip spread over the whole run.