about summary refs log tree commit diff
path: root/src/libnm-platform/nm-platform-utils.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-08-01 19:15:18 +0200
committerMichael Biebl <biebl@debian.org>2025-08-01 19:15:18 +0200
commit43a9f1ee48d7f7b9f4447e9fe17a4274c6fad67f (patch)
tree5f570d79dfc6eb4c736b708a99b3b2e5ed7608d1 /src/libnm-platform/nm-platform-utils.h
parente0a3970cd0ea64b36773deae96366bbe7d1efbee (diff)
parent7e9091a5960f67a84787c03153324915220e4816 (diff)
Update upstream source from tag 'upstream/1.54.0'
Update to upstream version '1.54.0'
with Debian dir efd253369d835d8f9c404eef4f97d88deb9625fe
Diffstat (limited to 'src/libnm-platform/nm-platform-utils.h')
-rw-r--r--src/libnm-platform/nm-platform-utils.h57
1 files changed, 1 insertions, 56 deletions
diff --git a/src/libnm-platform/nm-platform-utils.h b/src/libnm-platform/nm-platform-utils.h
index f47bcd49..4477d7ed 100644
--- a/src/libnm-platform/nm-platform-utils.h
+++ b/src/libnm-platform/nm-platform-utils.h
@@ -8,72 +8,17 @@
 
 #include "libnm-base/nm-base.h"
 #include "libnm-platform/nmp-base.h"
+#include "libnm-platform/nm-platform.h"
 
 /*****************************************************************************/
 
-const char *nmp_utils_ethtool_get_driver(int ifindex);
-gboolean    nmp_utils_ethtool_supports_carrier_detect(int ifindex);
-gboolean    nmp_utils_ethtool_supports_vlans(int ifindex);
-int         nmp_utils_ethtool_get_peer_ifindex(int ifindex);
-gboolean    nmp_utils_ethtool_get_wake_on_lan(int ifindex);
-gboolean    nmp_utils_ethtool_set_wake_on_lan(int                      ifindex,
-                                              _NMSettingWiredWakeOnLan wol,
-                                              const char              *wol_password);
-
 const char *nm_platform_link_duplex_type_to_string(NMPlatformLinkDuplexType duplex);
 
 extern const guint8  _nmp_link_mode_all_advertised_modes_bits[79];
 extern const guint32 _nmp_link_mode_all_advertised_modes[3];
 
-gboolean nmp_utils_ethtool_get_link_settings(int                       ifindex,
-                                             gboolean                 *out_autoneg,
-                                             guint32                  *out_speed,
-                                             NMPlatformLinkDuplexType *out_duplex);
-gboolean nmp_utils_ethtool_set_link_settings(int                      ifindex,
-                                             gboolean                 autoneg,
-                                             guint32                  speed,
-                                             NMPlatformLinkDuplexType duplex);
-
-gboolean nmp_utils_ethtool_get_permanent_address(int ifindex, guint8 *buf, size_t *length);
-
-gboolean nmp_utils_ethtool_get_driver_info(int ifindex, NMPUtilsEthtoolDriverInfo *data);
-
-NMEthtoolFeatureStates *nmp_utils_ethtool_get_features(int ifindex);
-
-gboolean nmp_utils_ethtool_set_features(
-    int                           ifindex,
-    const NMEthtoolFeatureStates *features,
-    const NMOptionBool *requested /* indexed by NMEthtoolID - _NM_ETHTOOL_ID_FEATURE_FIRST */,
-    gboolean            do_set /* or reset */);
-
-gboolean nmp_utils_ethtool_get_coalesce(int ifindex, NMEthtoolCoalesceState *coalesce);
-
-gboolean nmp_utils_ethtool_set_coalesce(int ifindex, const NMEthtoolCoalesceState *coalesce);
-
-gboolean nmp_utils_ethtool_get_ring(int ifindex, NMEthtoolRingState *ring);
-
-gboolean nmp_utils_ethtool_set_ring(int ifindex, const NMEthtoolRingState *ring);
-
-gboolean nmp_utils_ethtool_get_channels(int ifindex, NMEthtoolChannelsState *channels);
-
-gboolean nmp_utils_ethtool_set_channels(int ifindex, const NMEthtoolChannelsState *channels);
-
-gboolean nmp_utils_ethtool_get_pause(int ifindex, NMEthtoolPauseState *pause);
-
-gboolean nmp_utils_ethtool_set_pause(int ifindex, const NMEthtoolPauseState *pause);
-
-gboolean nmp_utils_ethtool_get_eee(int ifindex, NMEthtoolEEEState *eee);
-
-gboolean nmp_utils_ethtool_set_eee(int ifindex, const NMEthtoolEEEState *eee);
-
-gboolean nmp_utils_ethtool_get_fec_mode(int ifindex, uint32_t *fec_mode);
-
-gboolean nmp_utils_ethtool_set_fec_mode(int ifindex, uint32_t fec_mode);
-
 /*****************************************************************************/
 
-gboolean nmp_utils_mii_supports_carrier_detect(int ifindex);
-
 struct udev_device;
 
 const char *nmp_utils_udev_get_driver(struct udev_device *udevice);