Skip to main content

Module runner

Module runner 

Source
Expand description

Runs one Session against the network: periodic transmission with jitter, the Final answer to a Poll, the Detection Time, and commands from the model or the dashboard. The server and the client each run one of these per session; the model is consulted outside it, through the Notes it sends.

Structs§

Link

Enums§

Input
Note

Functions§

check_action
Validate a session action: bfd_set_timers, bfd_admin_down, bfd_admin_up.
run
Run until the inputs close, or — when idle is given — until the session has been Down with nothing heard from the peer for that long.
state_event
The event data for a state change, given who the peer is.
tx_socket
A tx socket bound to ip on a source port in 49152–65535 (RFC 5881 §4), TTL 255.