.\" 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_DIRECT" "9" "09 October 2005" "" ""
.SH NAME
HTB_DIRECT \- classify a packet into class
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
HTB_DIRECT (struct htb_class * \fI\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fI\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
It returns NULL if the packet should be dropped or -1 if the packet
should be passed directly thru. In all other cases leaf class is returned.
We allow direct class selection by classid in priority. The we examine
filters in qdisc and in inner nodes (if higher filter points to the inner
node). If we end up with classid MAJOR:0 we enqueue the skb into special
internal fifo (direct). These packets then go directly thru. If we still
.SH "HAVE NO VALID LEAF WE TRY TO USE MAJOR"
.PP
default leaf. It still unsuccessfull
then finish and return direct queue.