diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-21 02:03:14 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-23 00:46:21 +0400 |
commit | 963bfeeeec913d135c15dc400f2f86cb62655d81 (patch) | |
tree | 73a5117b91580637df8c5c7e21ff40656eb93904 /include/linux/rtnetlink.h | |
parent | e955cead031177b083fbf18d04a03c06e330a439 (diff) | |
download | linux-963bfeeeec913d135c15dc400f2f86cb62655d81.tar.xz |
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/linux/rtnetlink.h')
-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 fbc8cb0d48c3..58d44491880f 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 }; |