Skip to main content

Module rwhod_protocol

Module rwhod_protocol 

Source

Modules§

time_codec 🔒
The original rwhod protocol uses 32-bit integers for timestamps, which will cause overflow issues after 2038-01-19. To mitigate this, we decode timestamps by looking at the time the packet was received, comparing it to the current time or the time the packet was received, and ensuring any overflowed timestamps are corrected accordingly.

Structs§

Outmp
Classic C struct for utmp data for a single user session.
Whod
Classic C struct for a rwhod status update.
WhodStatusUpdate
High-level representation of a rwhod status update.
WhodUserEntry
High-level representation of a single user session in a rwhod status update.
Whoent
Classic C struct for a single user session.

Type Aliases§

LoadAverage
Load average representation: (5 min, 10 min, 15 min) All values are multiplied by 100.