diff options
author | Alin Rauta <alin.rauta@intel.com> | 2015-02-17 04:06:57 -0800 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-27 13:58:30 -0500 |
commit | 0d4ad91dd4fc831c31a9775b0eadf97fea6cd7f6 (patch) | |
tree | ae6009e73a82ac399632f1e56d0c9d5f5fcf857a /src/systemd | |
parent | 2bdbf32183fc6816cf34f4850e9fc5f070a34303 (diff) | |
download | systemd-0d4ad91dd4fc831c31a9775b0eadf97fea6cd7f6.tar.gz |
networkd: add support for Uplink Failure Detection
Introduce BindCarrier= to indicate the set of links that determine if
the current link should be brought UP or DOWN.
[tomegun: add a bit to commit message]
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-network.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index 027730d11d..4d96c867d9 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); |