|
wlmaker
|

Public Attributes | |
| FILE * | proc_fp |
| unsigned long long | prev_rx_bytes |
| unsigned long long | prev_tx_bytes |
| unsigned long long | peak_rate |
| size_t | scale_index |
| rate_history_t | history [WLM_GRAPH_REGENERATE_HISTORY_MAX] |
| uint32_t | history_index |
| uint32_t | history_num |
State for the network graph (mutable runtime data).
| rate_history_t netgraph_state_t::history[WLM_GRAPH_REGENERATE_HISTORY_MAX] |
Raw rate history for regeneration (ring buffer, newest first).
| uint32_t netgraph_state_t::history_index |
Current write position in history (next slot to write).
| uint32_t netgraph_state_t::history_num |
Number of valid entries in history.
| unsigned long long netgraph_state_t::peak_rate |
Peak observed rate (for auto-scaling).
| unsigned long long netgraph_state_t::prev_rx_bytes |
Previous absolute RX byte count for computing rate.
| unsigned long long netgraph_state_t::prev_tx_bytes |
Previous absolute TX byte count for computing rate.
| FILE* netgraph_state_t::proc_fp |
Open file handle to /proc/net/dev.
| size_t netgraph_state_t::scale_index |
Index into _scales for current display scale.