summaryrefslogtreecommitdiffstats
path: root/include/linux/rtnetlink.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-07-20 22:03:14 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-22 13:46:21 -0700
commit963bfeeeec913d135c15dc400f2f86cb62655d81 (patch)
tree73a5117b91580637df8c5c7e21ff40656eb93904 /include/linux/rtnetlink.h
parente955cead031177b083fbf18d04a03c06e330a439 (diff)
downloadblackbird-op-linux-963bfeeeec913d135c15dc400f2f86cb62655d81.tar.gz
blackbird-op-linux-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/linux/rtnetlink.h')
-rw-r--r--include/linux/rtnetlink.h1
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
};
OpenPOWER on IntegriCloud