Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Kaustubh Phanse" <kphanse@vt.edu>
To: lartc@vger.kernel.org
Subject: [LARTC] u32 filter
Date: Fri, 06 Dec 2002 18:53:36 +0000	[thread overview]
Message-ID: <marc-lartc-103920065528929@msgid-missing> (raw)

Hello!

What is the significance of "handle" in a u32 filter??

For example, if I have a HTB class 1:1 and three child classes 1:11, 1:12,
and 1:13. Within 1:11, I define dsmark, say 2:0, and let it mark packets
with certain DSCP. Now, using the u32 filter I need to classify packets of a
certain flow (e.g., based on src ip address and dest port), then can someone
give me an example of exactly how the u32 filter would look.

The following configuration does not seem to work (i.e., packets are not
getting marked!)...so I guess the problem is with my u32 filter

tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1: \
	u32 divisor 1

tc filter add dev eth0 parent 1:1 prio 1 u32 \
	match ip src 192.168.1.12
	match ip protocol 17 0xff
	match ip dport 4984 0xffff
	flowid 2:0

Any help in this matter is greatly appreciated.
Thank you
regards
Kaustubh

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-12-06 18:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06 18:53 Kaustubh Phanse [this message]
2003-05-06 11:10 ` [LARTC] u32 filter Vitor Carlos Flausino
2003-05-06 12:07 ` Michael Yuan
2003-05-06 17:27 ` Stef Coene
2003-05-23  9:57 ` Esteban
2003-05-23 13:14 ` Harkisoon Sharan (CCI-Gainesville)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103920065528929@msgid-missing \
    --to=kphanse@vt.edu \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox