diff options
| author | Michael Biebl <biebl@debian.org> | 2019-07-31 10:51:42 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-07-31 10:51:42 +0200 |
| commit | 2e5fa45ddfbb5cffa1e78221f1cea706e2f298af (patch) | |
| tree | 86f69d36c56de3074280456eddc854a780b8e04b /libnm-core/nm-setting-ethtool.h | |
| parent | 85563b7fc7ec2cd21e38debb9b28db342e2e8e7c (diff) | |
New upstream version 1.19.90 upstream/1.19.90
Diffstat (limited to 'libnm-core/nm-setting-ethtool.h')
| -rw-r--r-- | libnm-core/nm-setting-ethtool.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-ethtool.h b/libnm-core/nm-setting-ethtool.h index 66a94489..7b747be9 100644 --- a/libnm-core/nm-setting-ethtool.h +++ b/libnm-core/nm-setting-ethtool.h @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -84,7 +83,7 @@ G_BEGIN_DECLS #define NM_ETHTOOL_OPTNAME_FEATURE_TX_UDP_TNL_SEGMENTATION "feature-tx-udp_tnl-segmentation" #define NM_ETHTOOL_OPTNAME_FEATURE_TX_VLAN_STAG_HW_INSERT "feature-tx-vlan-stag-hw-insert" -NM_AVAILABLE_IN_1_14 +NM_AVAILABLE_IN_1_20 gboolean nm_ethtool_optname_is_feature (const char *optname); /*****************************************************************************/ @@ -120,6 +119,10 @@ void nm_setting_ethtool_set_feature (NMSettingEthtool *setting, NM_AVAILABLE_IN_1_14 void nm_setting_ethtool_clear_features (NMSettingEthtool *setting); +NM_AVAILABLE_IN_1_20 +const char ** nm_setting_ethtool_get_optnames (NMSettingEthtool *setting, + guint *out_length); + G_END_DECLS #endif /* __NM_SETTING_ETHTOOL_H__ */ |