aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorXin Long <[email protected]>2015-12-16 17:50:11 +0800
committerDavid S. Miller <[email protected]>2015-12-17 15:08:51 -0500
commit32bc201e1974976b7d3fea9a9b17bb7392ca6394 (patch)
tree638ac4a2106795aac740c6c9fd6c9b9e6a2818da /include/uapi/linux
parentb3379041ddf68ba46c31fce741ddb71675b39d23 (diff)
ipv6: allow routes to be configured with expire values
Add the support for adding expire value to routes, requested by Tom Gundersen <[email protected]> for systemd-networkd, and NetworkManager wants it too. implement it by adding the new RTNETLINK attribute RTA_EXPIRES. Signed-off-by: Xin Long <[email protected]> Acked-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/rtnetlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index 123a5af4e8bb..ca764b5da86d 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -311,6 +311,7 @@ enum rtattr_type_t {
RTA_PREF,
RTA_ENCAP_TYPE,
RTA_ENCAP,
+ RTA_EXPIRES,
__RTA_MAX
};