libnm: add ethtool fec backported symbols from 1.46.8

Add to main branch ethtool fec symbols that were backported to 1.46.8 to
allow seamless upgrading from 1.46 to 1.54.
This commit is contained in:
Wen Liang
2025-04-28 15:20:20 -04:00
parent 799a7a432a
commit 5b25bc4f9d
2 changed files with 13 additions and 0 deletions

View File

@@ -1979,6 +1979,11 @@ global:
nm_sriov_eswitch_mode_get_type;
} libnm_1_44_0;
libnm_1_46_8 {
#nm_ethtool_optname_is_fec@libnm_1_46_8;
#nm_setting_ethtool_fec_mode_get_type@libnm_1_46_8;
} libnm_1_46_0;
libnm_1_48_0 {
global:
nm_setting_connection_down_on_poweroff_get_type;

View File

@@ -9316,6 +9316,14 @@ NM_BACKPORT_SYMBOL(libnm_1_30_8,
NM_BACKPORT_SYMBOL(libnm_1_30_8, NMIPRoute *, nm_ip_route_dup, (NMIPRoute * route), (route));
NM_BACKPORT_SYMBOL(libnm_1_46_8,
gboolean,
nm_ethtool_optname_is_fec,
(const char *optname),
(optname));
NM_BACKPORT_SYMBOL(libnm_1_46_8, GType, nm_setting_ethtool_fec_mode_get_type, (void), ());
NM_BACKPORT_SYMBOL(libnm_1_48_18,
gboolean,
nm_ethtool_optname_is_fec,