From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kiruthika Selvamani Date: Thu, 23 Jun 2005 20:48:44 +0000 Subject: Re: [LARTC] where s filtering done? Message-Id: <5ee6fe6105062313481baacce3@mail.gmail.com> List-Id: References: <103339c805062309076e092497@mail.gmail.com> In-Reply-To: <103339c805062309076e092497@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org filtering is done right at the place where your packet leaves qdisc and gets read to go out of the outbound interface. Before a packet leaves the interface it is requested from the qdisc where it is residing. As it traverses the virtual tree in the qdisc it checks what filters are attached to that packet and applies those filter and then lets them out. The link below might a give a clear picture of how traffic control works=20 http://www.mnis.fr/en/support/doc/rtos/x1252.html Kiruthika On 6/23/05, Fatih D=FCzova wrote: > hello, > I am trying to find where filtering is done in order to drop packets > randomly there (eg.10%of them) for a testing purpose in a school > project. > I want to do this after packet is filtered and before being sent. I d > aprreciate if you could help or suggest. > Thanks. > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc