X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd%2Fsd-rtnl%2Flocal-addresses.h;h=ef7def530db50d5d52b81c3228a6143ca46fc8da;hb=1d050e1e0a7082e23ee9b31fa0b819cb332b3444;hp=c6e3559bf1627edbc68c375a0710dec4b6a41bd8;hpb=0dd25fb9f005d8ab7ac4bc10a609d00569f8c56a;p=elogind.git diff --git a/src/libsystemd/sd-rtnl/local-addresses.h b/src/libsystemd/sd-rtnl/local-addresses.h index c6e3559bf..ef7def530 100644 --- a/src/libsystemd/sd-rtnl/local-addresses.h +++ b/src/libsystemd/sd-rtnl/local-addresses.h @@ -26,12 +26,16 @@ #include #include +#include "sd-rtnl.h" #include "in-addr-util.h" struct local_address { int family, ifindex; unsigned char scope; + uint32_t metric; union in_addr_union address; }; -int local_addresses(struct local_address **ret); +int local_addresses(sd_rtnl *rtnl, int ifindex, int af, struct local_address **ret); + +int local_gateways(sd_rtnl *rtnl, int ifindex, int af, struct local_address **ret);