HTB_DIRECT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

HTB_DIRECT - classify a packet into class  

SYNOPSIS

"SYNOPSIS"

HTB_DIRECT (struct htb_class * );  

ARGUMENTS

-- undescribed --
 

DESCRIPTION

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  

HAVE NO VALID LEAF WE TRY TO USE MAJOR

default leaf. It still unsuccessfull then finish and return direct queue.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
HAVE NO VALID LEAF WE TRY TO USE MAJOR

This document was created by man2html, using the manual pages.
Time: 00:01:51 GMT, October 09, 2005