summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-12-04 15:52:21 +0100
committerTom Gundersen <teg@jklm.no>2014-12-04 16:02:05 +0100
commit9e7e440835c43d81ffdbc299d2c07daaa641ed50 (patch)
tree9b55e90d4085997aeebaa738198765d2fa5bac4a /src/network/networkd.h
parent66bba0e701b95dc42ed53e8f0799a7e2b944c147 (diff)
networkd: add support for source routing
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 1297ef98a7..07917f0ef4 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -147,12 +147,14 @@ struct Route {
int family;
unsigned char dst_prefixlen;
+ unsigned char src_prefixlen;
unsigned char scope;
uint32_t metrics;
unsigned char protocol; /* RTPROT_* */
union in_addr_union in_addr;
union in_addr_union dst_addr;
+ union in_addr_union src_addr;
union in_addr_union prefsrc_addr;
LIST_FIELDS(Route, routes);