Hi,
I am assuming u have the latest version of tc available to u.
Look at the diffserv examples..there is information about how packets
can be classifed by the tos bits..it is done by a different filter..

Look at the linux-diffserv implementation at ::

icawww1.epfl.ch/linux-diffserv...

The xamples are very well detailed and u should easily understand the
u32 filter also..

hth,
Arni


Sebastien wrote:
> 
> Thank you very much!!
> 
> I have just few other questions about U32 filter, I've searched desesperatly for
> how to use this filter, and can't find anything. I mean, particularly concerning
> the
> 'matching SELECTORS'( If someone has a list of that...). If you have any link or
> information about that...
> 
> Does the value 46 correspond to an RSVP flag, in the selector???
> 
>  Is there a way to detect packets content type (audio, video, ftp, http...) :
> Is TOS bits using a good idea for that??? (If you could give me good links for
> that...)
> Is there a way in U32 filter to classify packets depending on the TOS bits
> value??
> 
> Thx in advance for your help!!
> 
> Jeff Kann wrote:
> 
> > We were using the following line to add protection for RSVP signalling
> > packets:
> >
> > # RSVP control packets
> > $TC filter add dev $DEV parent 1:2 prio 1 protocol ip u32 \
> >         match ip protocol 46 ff
> >
> > In short, U32 filter might be what you wanted.  If you want to use some
> > other field, such as TCP/UDP port, consider the following example:
> >
> > # VAN control packets (port 8320 = 0x2080)
> > $TC filter add dev $DEV parent 1:2 prio 1 protocol ip u32 \
> >         match tcp src 0x2080 0xffff match tcp dst 0x2080 0xffff
> >
> > Good luck,
> > Jeff
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to