netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iproute2 fwmark feature request
@ 2005-01-18  8:17 Nguyen Dinh Nam
  2005-01-18 12:17 ` Thomas Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Nguyen Dinh Nam @ 2005-01-18  8:17 UTC (permalink / raw)
  To: netdev

Hello netdev,
There are 2^32 values for fwmark, it's a hugh number.
netfilter deal with it better than iproute2, particularly, there is an 
optional mask to apply to the fwmark before comparing it with some value 
(mark module of iptables). It's very helpful because we can use that 32 
bits to store several sub values at the same time.
So it'll be cool if the syntax is
SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark 
FWMARK[/MASK] ]
Regards,
Nam

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

* Re: iproute2 fwmark feature request
  2005-01-18  8:17 iproute2 fwmark feature request Nguyen Dinh Nam
@ 2005-01-18 12:17 ` Thomas Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Graf @ 2005-01-18 12:17 UTC (permalink / raw)
  To: Nguyen Dinh Nam; +Cc: netdev

* Nguyen Dinh Nam <41ECC61E.7060908@cardvn.net> 2005-01-18 15:17
> There are 2^32 values for fwmark, it's a hugh number.
> netfilter deal with it better than iproute2, particularly, there is an 
> optional mask to apply to the fwmark before comparing it with some value 
> (mark module of iptables). It's very helpful because we can use that 32 
> bits to store several sub values at the same time.
> So it'll be cool if the syntax is
> SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark 
> FWMARK[/MASK] ]

http://oss.sgi.com/archives/netdev/2005-01/msg00548.html

Wait 2-3 weeks and it will be all finished.

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

end of thread, other threads:[~2005-01-18 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-18  8:17 iproute2 fwmark feature request Nguyen Dinh Nam
2005-01-18 12:17 ` Thomas Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).