[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100823084140.3bd1dfe5@nehalam>
Date: Mon, 23 Aug 2010 08:41:40 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>
Subject: Re: [PATCH iproute2] ip: add RTA_MARK support
On Wed, 21 Jul 2010 11:42:50 +0200
Eric Dumazet <eric.dumazet@...il.com> wrote:
> Adds support for RTA_MARK rt attribute added in linux-2.6.36
>
> $ ip route get ADDR mark 4
> 192.168.20.110 dev eth1 src 192.168.20.108 mark 4
> cache mtu 1500 advmss 1460 hoplimit 64
>
> $ ip route get 192.168.20.108 from ADDR iif STRING mark 256
> local 192.168.20.108 from 192.168.20.110 dev lo src 192.168.20.108 mark 0x100
> cache <local,src-direct> iif eth1
>
> $ ip route list cache [ADDR] mark NUMBER
>
> Hexadecimal output if mark >= 16
> null marks are not displayed.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists