libnm: add ethtool fec backported symbols from 1.50.4

Add to main branch ethtool fec symbols that were backported to 1.50.4 to
allow seamless upgrading from 1.50 to 1.54.
This commit is contained in:
Wen Liang 2025-04-27 22:30:16 -04:00
parent 64a4c2271a
commit 6f1437b79e
2 changed files with 14 additions and 0 deletions

View file

@ -2009,6 +2009,11 @@ global:
nm_setting_wireless_get_channel_width;
} libnm_1_48_0;
libnm_1_50_4 {
#nm_ethtool_optname_is_fec@libnm_1_50_4;
#nm_setting_ethtool_fec_mode_get_type@libnm_1_50_4;
} libnm_1_50_0;
libnm_1_52_0 {
global:
nm_device_ipvlan_get_mode;

View file

@ -59,6 +59,7 @@
#include "nm-object-private.h"
#include "nm-remote-connection.h"
#include "nm-utils.h"
#include "nm-setting-ethtool.h"
#include "nm-vpn-connection.h"
/*****************************************************************************/
@ -9314,3 +9315,11 @@ NM_BACKPORT_SYMBOL(libnm_1_30_8,
(address));
NM_BACKPORT_SYMBOL(libnm_1_30_8, NMIPRoute *, nm_ip_route_dup, (NMIPRoute * route), (route));
NM_BACKPORT_SYMBOL(libnm_1_50_4,
gboolean,
nm_ethtool_optname_is_fec,
(const char *optname),
(optname));
NM_BACKPORT_SYMBOL(libnm_1_50_4, GType, nm_setting_ethtool_fec_mode_get_type, (void), ());