diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:09:27 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2019-08-09 11:18:39 +0200 |
| commit | 820498b2158e0b05421ce0922f203a0699927fa8 (patch) | |
| tree | 3bf6d1089b762535ec5e59738d47ae2d2f54750f /libnm-core/nm-setting-ethtool.h | |
| parent | 1bd9f376796563dfb5016bada66c78b203f41d33 (diff) | |
| parent | 488dda3930545969f5644b57cfca81e21df031c3 (diff) | |
Merge remote-tracking branch 'salsa/master'
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__ */ |