Expand description
Server instance management
Structs§
- Closed
Connection Summary - Summary of a connection that has closed and been removed from
ServerInstance::connections. Wall-clock timestamps (notInstant) so the struct is serializable and meaningful across a UI session. - Connection
State - Connection state within a server
- Protocol
Connection Info - Protocol-specific connection information
- Server
Id - Unique identifier for a server instance
- Server
Instance - A server instance with its own connections, state, and configuration
Enums§
- BgpSession
State - BGP session state (RFC 4271 FSM)
- Connection
Status - Connection status
- Imap
Session State - IMAP session state (RFC 3501)
- Ospf
Neighbor State - OSPF neighbor state (RFC 2328 Section 10.1)
- Protocol
State - Connection state for state machine (Idle/Processing/Accumulating)
- Server
Status - Status of a server instance
Constants§
- MAX_
LOG_ OUTPUT_ NAME_ LEN - Longest accepted
append_to_logoutput name. - RECENT_
CONNECTION_ CAPACITY - How many closed connections a server remembers for the “recently
connected” view. Live connections are reaped ~10s after closing (see the
cleanup reapers in
app_state.rs), so without this history they vanish without a trace.
Functions§
- validate_
log_ output_ name - Check an
append_to_logoutput_namebefore it becomes part of a filename.