.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "HTB_CHANGE_CLASS_MODE" "9" "09 October 2005" "" "" .SH NAME htb_change_class_mode \- changes classe's mode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void htb_change_class_mode (struct htb_sched * \fIq\fB, struct htb_class * \fIcl\fB, long * \fIdiff\fB); \fR .SH "ARGUMENTS" .TP \fB\fIq\fB\fR -- undescribed -- .TP \fB\fIcl\fB\fR -- undescribed -- .TP \fB\fIdiff\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP This should be the only way how to change classe's mode under normal cirsumstances. Routine will update feed lists linkage, change mode and add class to the wait event queue if appropriate. New mode should be different from old one and cl->pq_key has to be valid if changing to mode other than HTB_CAN_SEND (see htb_add_to_wait_tree).