|
libnl
1.1.4
|
Attribute Modifications | |
| void | rtnl_htb_set_rate2quantum (struct rtnl_qdisc *qdisc, uint32_t rate2quantum) |
| void | rtnl_htb_set_defcls (struct rtnl_qdisc *qdisc, uint32_t defcls) |
| Set default class of the htb qdisc to the specified value. More... | |
| void | rtnl_htb_set_prio (struct rtnl_class *class, uint32_t prio) |
| void | rtnl_htb_set_mtu (struct rtnl_class *class, uint32_t mtu) |
| Set MTU of the data link. More... | |
| void | rtnl_htb_set_rate (struct rtnl_class *class, uint32_t rate) |
| Set rate of HTB class. More... | |
| void | rtnl_htb_set_ceil (struct rtnl_class *class, uint32_t ceil) |
| Set ceil of HTB class. More... | |
| void | rtnl_htb_set_rbuffer (struct rtnl_class *class, uint32_t rbuffer) |
| Set size of the rate bucket of HTB class. More... | |
| void | rtnl_htb_set_cbuffer (struct rtnl_class *class, uint32_t cbuffer) |
| Set size of the ceil bucket of HTB class. More... | |
| void | rtnl_htb_set_quantum (struct rtnl_class *class, uint32_t quantum) |
| Set how much bytes to serve from leaf at once of HTB class {use r2q}. More... | |
| void | rtnl_htb_set_overhead (struct rtnl_class *class, uint8_t overhead) |
| Set per-packet size overhead used in rate computations of HTB class. More... | |
| void | rtnl_htb_set_mpu (struct rtnl_class *class, uint8_t mpu) |
| Set the minimum packet size used in rate computations of HTB class. More... | |
| void rtnl_htb_set_defcls | ( | struct rtnl_qdisc * | qdisc, |
| uint32_t | defcls | ||
| ) |
| void rtnl_htb_set_mtu | ( | struct rtnl_class * | class, |
| uint32_t | mtu | ||
| ) |
| class | HTB class to be modified. |
| mtu | New MTU in bytes. |
Sets MTU of the data link controlled by the HTB class. If not set, the Ethernet MTU (1600) is used.
| void rtnl_htb_set_rate | ( | struct rtnl_class * | class, |
| uint32_t | rate | ||
| ) |
| class | HTB class to be modified. |
| rate | New rate in bytes per second. |
| void rtnl_htb_set_ceil | ( | struct rtnl_class * | class, |
| uint32_t | ceil | ||
| ) |
| class | HTB class to be modified. |
| ceil | New ceil in bytes per second. |
| void rtnl_htb_set_rbuffer | ( | struct rtnl_class * | class, |
| uint32_t | rbuffer | ||
| ) |
| void rtnl_htb_set_cbuffer | ( | struct rtnl_class * | class, |
| uint32_t | cbuffer | ||
| ) |
| void rtnl_htb_set_quantum | ( | struct rtnl_class * | class, |
| uint32_t | quantum | ||
| ) |
| void rtnl_htb_set_overhead | ( | struct rtnl_class * | class, |
| uint8_t | overhead | ||
| ) |
| void rtnl_htb_set_mpu | ( | struct rtnl_class * | class, |
| uint8_t | mpu | ||
| ) |
| class | HTB class to be modified. |
| mpu | Size in bytes. |
Definition at line 512 of file htb.c.
References rtnl_class_ops::co_kind, NL_DUMP_BRIEF, NL_DUMP_FULL, rtnl_qdisc_ops::qo_kind, rtnl_class_register(), rtnl_class_unregister(), rtnl_qdisc_register(), and rtnl_qdisc_unregister().
1.8.11