From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Thu, 07 Aug 2003 12:25:08 +0000 Subject: Re: [LARTC] What is drop in Qdisc_ops for? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Chris, Have you discovered the following source of documentation on the QoS APIs for linux, yet? http://qos.ittc.ukans.edu/howto/index.html : What is the operation drop() in Qdisc_ops for? Well, from the userland perspective, drop is just like a netfilter -j DROP. Essentially we are saying "throw that packet away". : What are the requirements on a new qdisc? /me retreats to userland, maybe the link above will provide an answer. : As far as I can tell, the classfull qdiscs just pass it on to child : qdiscs and classless qdiscs drop the most recently queued packet. I : can't find any code that initiates all this though. Again, try the above documentation. : The operation is not described in the comments in sch_api.c where : enqueue, dequeue, requeue, reset, init, destroy & change are described : (dump isn't described either). Here's a little bit on dump. http://qos.ittc.ukans.edu/howto/node16.html Good luck, -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/