X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-network.h;h=4d96c867d958c91a0585242d7800fa56299d2abf;hb=d2d9ac67812e2f8c8b82a0f3428aa576b4d58a71;hp=027730d11d6b255ea70b2048588d6b508a8fcebc;hpb=49699bac94d24b444274f91f85c82e6fad04d029;p=elogind.git diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index 027730d11..4d96c867d 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -116,6 +116,12 @@ int sd_network_link_get_lldp(int ifindex, char **lldp); /* Get the DNS domain names for a given link. */ int sd_network_link_get_domains(int ifindex, char ***domains); +/* Get the CARRIERS to which current link is bound to. */ +int sd_network_link_get_carrier_bound_to(int ifindex, char ***carriers); + +/* Get the CARRIERS that are bound to current link. */ +int sd_network_link_get_carrier_bound_by(int ifindex, char ***carriers); + /* Returns whether or not domains that don't match any link should be resolved * on this link. 1 for yes, 0 for no and negative value for error */ int sd_network_link_get_wildcard_domain(int ifindex);