diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-21 12:07:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-21 12:07:08 +0200 |
commit | 27f9eda40a73d419ddb7a62b67a7284f5543180d (patch) | |
tree | e63d3a633e98f990e6eece6b0eed9eb827235238 /src/network/networkd-route.h | |
parent | bf3ee9cdc9c7489e442e43cec09ad9275739875a (diff) | |
parent | 84de38c56915e14c148f558c6acc489a00755696 (diff) |
Merge pull request #1626 from teg/networkd
networkd: assorted fixes
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r-- | src/network/networkd-route.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h index e3ed1be866..c9972e4933 100644 --- a/src/network/networkd-route.h +++ b/src/network/networkd-route.h @@ -36,6 +36,9 @@ struct Route { unsigned char scope; uint32_t metrics; unsigned char protocol; /* RTPROT_* */ + unsigned char tos; + unsigned char priority; + unsigned char table; union in_addr_union in_addr; union in_addr_union dst_addr; @@ -46,7 +49,7 @@ struct Route { }; int route_new_static(Network *network, unsigned section, Route **ret); -int route_new(Route **ret, unsigned char rtm_protocol); +int route_new(Route **ret); void route_free(Route *route); int route_configure(Route *route, Link *link, sd_netlink_message_handler_t callback); int route_remove(Route *route, Link *link, sd_netlink_message_handler_t callback); |