net: RTA_MARK addition
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 20 Jul 2010 22:03:14 +0000 (22:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 20:46:21 +0000 (13:46 -0700)
commit963bfeeeec913d135c15dc400f2f86cb62655d81
tree73a5117b91580637df8c5c7e21ff40656eb93904
parente955cead031177b083fbf18d04a03c06e330a439
net: RTA_MARK addition

Add a new rt attribute, RTA_MARK, and use it in
rt_fill_info()/inet_rtm_getroute() to support following commands :

ip route get 192.168.20.110 mark NUMBER
ip route get 192.168.20.108 from 192.168.20.110 iif eth1 mark NUMBER
ip route list cache [192.168.20.110] mark NUMBER

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
net/ipv4/route.c