All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic conditioning in mobile ad hoc network
@ 2004-10-06 15:31 Alexander Eigl
  2004-10-06 15:48 ` Thomas Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Eigl @ 2004-10-06 15:31 UTC (permalink / raw)
  To: lartc

Hello,

since LARTC handbook "only discuss case of ip protocol" I want to ask 
something about the u32 classifier and possible options about other 
protocols
(for example the position based routing protocol I use for the mobile ad 
hoc network :-)

I need is to install a filter which selects packets by specific code 
points in the header for a DiffServ like approach.
How to make LARTC u32 classifier work without ip protocol / with 
different protocol?

Any comment welcome.

Sincerely yours
Alexander



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] traffic conditioning in mobile ad hoc network
  2004-10-06 15:31 [LARTC] traffic conditioning in mobile ad hoc network Alexander Eigl
@ 2004-10-06 15:48 ` Thomas Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Graf @ 2004-10-06 15:48 UTC (permalink / raw)
  To: lartc

> I need is to install a filter which selects packets by specific code 
> points in the header for a DiffServ like approach.
> How to make LARTC u32 classifier work without ip protocol / with 
> different protocol?

Set protocol to a valid ETH_P_* protocol number you want or "all" to match
all protocols. The generic offset definitions u(8|16|32) are not
dependant on any protocol.

u8 at 0 points to the first octet at the first payload header which
some people call layer 3. u16 at 2 would be a 16bit chunk starting
at the 3rd octet and so on.  u8 at nexthdr+0 is the first octet at the
next-header layer which some people call layer 4.  You can theortically
get to lower layers by specifying negative offsets.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-06 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 15:31 [LARTC] traffic conditioning in mobile ad hoc network Alexander Eigl
2004-10-06 15:48 ` Thomas Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.