summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/local-addresses.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/sd-rtnl/local-addresses.h')
-rw-r--r--src/libsystemd/sd-rtnl/local-addresses.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-rtnl/local-addresses.h b/src/libsystemd/sd-rtnl/local-addresses.h
index b1ed6341f6..2a9b2f42b7 100644
--- a/src/libsystemd/sd-rtnl/local-addresses.h
+++ b/src/libsystemd/sd-rtnl/local-addresses.h
@@ -32,7 +32,10 @@
struct local_address {
int family, ifindex;
unsigned char scope;
+ uint32_t metric;
union in_addr_union address;
};
int local_addresses(sd_rtnl *rtnl, int ifindex, struct local_address **ret);
+
+int local_gateways(sd_rtnl *rtnl, int ifindex, struct local_address **ret);