

Macros | |
| #define | RTNL_TC_STATS_MAX (__RTNL_TC_STATS_MAX - 1) |
| #define | RTNL_TC_RTABLE_SIZE 256 |
| Number of entries in a transmission time lookup table. More... | |
Enumerations | |
| enum | rtnl_tc_stats_id { RTNL_TC_PACKETS, RTNL_TC_BYTES, RTNL_TC_RATE_BPS, RTNL_TC_RATE_PPS, RTNL_TC_QLEN, RTNL_TC_BACKLOG, RTNL_TC_DROPS, RTNL_TC_REQUEUES, RTNL_TC_OVERLIMITS, __RTNL_TC_STATS_MAX } |
| TC statistics identifiers. More... | |
Functions | |
| int | rtnl_tc_calc_txtime (int, int) |
| Calculate time required to transmit buffer at a specific rate. More... | |
| int | rtnl_tc_calc_bufsize (int, int) |
| Calculate buffer size able to transmit in a specific time and rate. More... | |
| int | rtnl_tc_calc_cell_log (int) |
| Calculate the binary logarithm for a specific cell size. More... | |
| int | rtnl_tc_build_rate_table (uint32_t *, uint8_t, uint8_t, int, int) |
| Compute a transmission time lookup table. More... | |
| char * | rtnl_tc_handle2str (uint32_t, char *, size_t) |
| Convert a traffic control handle to a character string (Reentrant). More... | |
| int | rtnl_tc_str2handle (const char *, uint32_t *) |
| Convert a charactering strint to a traffic control handle. More... | |
| #define RTNL_TC_STATS_MAX (__RTNL_TC_STATS_MAX - 1) |