diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-20 22:03:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-22 13:46:21 -0700 |
commit | 963bfeeeec913d135c15dc400f2f86cb62655d81 (patch) | |
tree | 73a5117b91580637df8c5c7e21ff40656eb93904 /include | |
parent | e955cead031177b083fbf18d04a03c06e330a439 (diff) | |
download | linux-3.10-963bfeeeec913d135c15dc400f2f86cb62655d81.tar.gz linux-3.10-963bfeeeec913d135c15dc400f2f86cb62655d81.tar.bz2 linux-3.10-963bfeeeec913d135c15dc400f2f86cb62655d81.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index fbc8cb0d48c..58d44491880 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h @@ -282,6 +282,7 @@ enum rtattr_type_t { RTA_SESSION, /* no longer used */ RTA_MP_ALGO, /* no longer used */ RTA_TABLE, + RTA_MARK, __RTA_MAX }; |