netdev
[Top] [All Lists]

Re: [RFC] nfmark modify extension to classifiers

To: Thomas Graf <tgraf@xxxxxxx>
Subject: Re: [RFC] nfmark modify extension to classifiers
From: jamal <hadi@xxxxxxxxxx>
Date: 12 Oct 2003 16:00:58 -0400
Cc: "David S. Miller" <davem@xxxxxxxxxx>, Alexey <kuznet@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20031007012858.GF11250@xxxxxxxxxxxxxx>
Organization: jamalopolis
References: <20031006002619.GC11250@xxxxxxxxxxxxxx> <1065479986.1102.3.camel@xxxxxxxxxxxxxxxx> <20031007012858.GF11250@xxxxxxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Mon, 2003-10-06 at 21:28, Thomas Graf wrote:
> Hello
> 
> > This is a bad idea.
> > Please consider using the tc action extensions. 
> 
> You mean TC_POLICE_NFMARK? This was actually my initial idea
> but I wanted to avoid a dependency mess.
> 

I meant this:
http://www.cyberus.ca/~hadi/patches/action/README

so you can do:
tc filter add dev lo parent ffff: protocol ip prio 10 u32 match ip src \
127.0.0.1/32 flowid 1:1 ....
action metaset classid 1:14 nfmark 0x10 ...


cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>