summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-12-13 11:34:39 +0100
committerThomas Haller <thaller@redhat.com>2018-12-19 09:03:43 +0100
commit395374cfbebf877d19b06fae13c35ebb74c07b4f (patch)
tree8364234d60d9f6365fcf19a8b1fc67665082735a /src/devices/nm-device-private.h
parentd27fa362722e9ccfdc29aae49b098bece0e4ca00 (diff)
downloadNetworkManager-395374cfbebf877d19b06fae13c35ebb74c07b4f.tar.gz
device/trivial: rename device's sysctl function
These functions call platform's sysctl getter and setters. Note that the called platform functions are called nm_platform_sysctl_get() and nm_platform_sysctl_set(). Also, in this case they use the ip-conf path via nm_utils_sysctl_ip_conf_path(). Also, next we will add API nm_platform_sysctl_ip_conf_get() and nm_platform_sysctl_ip_conf_set(), which will be wrappers around nm_platform_sysctl_get() and nm_platform_sysctl_set(), using the ip-conf paths as well. Rename the device functions, to be more similar to the existing and future naming in platform.
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r--src/devices/nm-device-private.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index 8edcd3d1de..6c0f473d53 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -113,7 +113,10 @@ gboolean nm_device_hw_addr_is_explict (NMDevice *device);
void nm_device_ip_method_failed (NMDevice *self, int addr_family, NMDeviceStateReason reason);
-gboolean nm_device_ip_sysctl_set (NMDevice *self, int addr_family, const char *property, const char *value);
+gboolean nm_device_sysctl_ip_conf_set (NMDevice *self,
+ int addr_family,
+ const char *property,
+ const char *value);
/*****************************************************************************/