summaryrefslogtreecommitdiff
path: root/interface-ip.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-06-10 17:59:16 +0200
committerSteven Barth <steven@midlink.org>2014-06-10 17:59:16 +0200
commit8f0c8e8e91945a3e5c3fa7111b2a3494b731b32c (patch)
treeb6ab87437df9a14377a871ac130b9a24985c20a8 /interface-ip.h
parentf5a15b82dab84a6783bf0edf6f6fae1641725b2c (diff)
downloadnetifd-8f0c8e8e91945a3e5c3fa7111b2a3494b731b32c.tar.gz
Add support for onlink-flags for IPv4 routes
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index de8343d..93d55ee 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -42,6 +42,9 @@ enum device_addr_flags {
/* route resides in default source-route table */
DEVROUTE_SRCTABLE = (1 << 8),
+
+ /* route is on-link */
+ DEVROUTE_ONLINK = (1 << 9),
};
union if_addr {