diff options
author | Thomas Haller <thaller@redhat.com> | 2016-03-07 11:45:44 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-07 11:49:52 +0100 |
commit | 6165df788d58c3338e92efbcbd0514bf1e900c63 (patch) | |
tree | 088f406d9ff70c472308add6fac835a6573b48ba /src/platform/nm-platform-utils.h | |
parent | 0e90f1ba83c4204cad1da6d96e00e99f8c168534 (diff) | |
download | NetworkManager-6165df788d58c3338e92efbcbd0514bf1e900c63.tar.gz |
core: move simple utils function from "nm-platform-utils.h"
Most functions defined in "nm-platform-utils.h" perform a lookup
of link properties, for example via ethtool or sysfs. Those functions
depend on the system configuration, such as the current network namespace.
Move the simple helper functions away to "nm-core-internal.h", so that
all remaining functions from "nm-platform-utils.h" are really related to
somthing that interacts with the system/kernel.
Diffstat (limited to 'src/platform/nm-platform-utils.h')
-rw-r--r-- | src/platform/nm-platform-utils.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/platform/nm-platform-utils.h b/src/platform/nm-platform-utils.h index a9d29c0478..976bd8db40 100644 --- a/src/platform/nm-platform-utils.h +++ b/src/platform/nm-platform-utils.h @@ -52,21 +52,6 @@ gboolean nmp_utils_mii_supports_carrier_detect (const char *ifname); const char *nmp_utils_udev_get_driver (GUdevDevice *device); -guint32 nmp_utils_lifetime_rebase_relative_time_on_now (guint32 timestamp, - guint32 duration, - guint32 now, - guint32 padding); - -gboolean nmp_utils_lifetime_get (guint32 timestamp, - guint32 lifetime, - guint32 preferred, - guint32 now, - guint32 padding, - guint32 *out_lifetime, - guint32 *out_preferred); - gboolean nmp_utils_device_exists (const char *name); -gboolean nmp_utils_ip4_address_is_link_local (in_addr_t addr); - #endif /* __NM_PLATFORM_UTILS_H__ */ |