summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/network-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-07 16:35:05 +0200
committerTom Gundersen <teg@jklm.no>2014-05-07 16:54:02 +0200
commitdeb2e5230b4dcbc0e2e02cc47a0b2d0d7179a044 (patch)
treeec088f69f3d58588bc22b3d3bf4c207b46f807f7 /src/libsystemd-network/network-internal.h
parent089377209f47e62f29b80b018ad9bbf17f6d5fbd (diff)
sd-network: expose both admin and operational state directly
Also add a call to check if a link is loopback, as this should commonly be ignored.
Diffstat (limited to 'src/libsystemd-network/network-internal.h')
-rw-r--r--src/libsystemd-network/network-internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h
index ef3cb8b91d..836472a776 100644
--- a/src/libsystemd-network/network-internal.h
+++ b/src/libsystemd-network/network-internal.h
@@ -65,5 +65,3 @@ int config_parse_ifalias(const char *unit, const char *filename, unsigned line,
int net_parse_inaddr(const char *address, unsigned char *family, void *dst);
int net_get_unique_predictable_data(struct udev_device *device, uint8_t result[8]);
-
-bool link_has_carrier(unsigned flags, uint8_t operstate);