enum ta_ethtool_link_mode
Ethtool command independent IDs for all known link modes.
When adding a new link mode, you also need to update lists in agent/unix/meson.build, agent/unix/configure.ac and conf_ethtool.c.
#include <conf_ethtool.h> enum ta_ethtool_link_mode { TA_ETHTOOL_LINK_MODE_10baseT_Half, TA_ETHTOOL_LINK_MODE_10baseT_Full, TA_ETHTOOL_LINK_MODE_100baseT_Half, TA_ETHTOOL_LINK_MODE_100baseT_Full, TA_ETHTOOL_LINK_MODE_1000baseT_Half, TA_ETHTOOL_LINK_MODE_1000baseT_Full, TA_ETHTOOL_LINK_MODE_Autoneg, TA_ETHTOOL_LINK_MODE_TP, TA_ETHTOOL_LINK_MODE_AUI, TA_ETHTOOL_LINK_MODE_MII, TA_ETHTOOL_LINK_MODE_FIBRE, TA_ETHTOOL_LINK_MODE_BNC, TA_ETHTOOL_LINK_MODE_10000baseT_Full, TA_ETHTOOL_LINK_MODE_Pause, TA_ETHTOOL_LINK_MODE_Asym_Pause, TA_ETHTOOL_LINK_MODE_2500baseX_Full, TA_ETHTOOL_LINK_MODE_Backplane, TA_ETHTOOL_LINK_MODE_1000baseKX_Full, TA_ETHTOOL_LINK_MODE_10000baseKX4_Full, TA_ETHTOOL_LINK_MODE_10000baseKR_Full, TA_ETHTOOL_LINK_MODE_10000baseR_FEC, TA_ETHTOOL_LINK_MODE_20000baseMLD2_Full, TA_ETHTOOL_LINK_MODE_20000baseKR2_Full, TA_ETHTOOL_LINK_MODE_40000baseKR4_Full, TA_ETHTOOL_LINK_MODE_40000baseCR4_Full, TA_ETHTOOL_LINK_MODE_40000baseSR4_Full, TA_ETHTOOL_LINK_MODE_40000baseLR4_Full, TA_ETHTOOL_LINK_MODE_56000baseKR4_Full, TA_ETHTOOL_LINK_MODE_56000baseCR4_Full, TA_ETHTOOL_LINK_MODE_56000baseSR4_Full, TA_ETHTOOL_LINK_MODE_56000baseLR4_Full, TA_ETHTOOL_LINK_MODE_25000baseCR_Full, TA_ETHTOOL_LINK_MODE_25000baseKR_Full, TA_ETHTOOL_LINK_MODE_25000baseSR_Full, TA_ETHTOOL_LINK_MODE_50000baseCR2_Full, TA_ETHTOOL_LINK_MODE_50000baseKR2_Full, TA_ETHTOOL_LINK_MODE_100000baseKR4_Full, TA_ETHTOOL_LINK_MODE_100000baseSR4_Full, TA_ETHTOOL_LINK_MODE_100000baseCR4_Full, TA_ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full, TA_ETHTOOL_LINK_MODE_50000baseSR2_Full, TA_ETHTOOL_LINK_MODE_1000baseX_Full, TA_ETHTOOL_LINK_MODE_10000baseCR_Full, TA_ETHTOOL_LINK_MODE_10000baseSR_Full, TA_ETHTOOL_LINK_MODE_10000baseLR_Full, TA_ETHTOOL_LINK_MODE_10000baseLRM_Full, TA_ETHTOOL_LINK_MODE_10000baseER_Full, TA_ETHTOOL_LINK_MODE_2500baseT_Full, TA_ETHTOOL_LINK_MODE_5000baseT_Full, TA_ETHTOOL_LINK_MODE_FEC_NONE, TA_ETHTOOL_LINK_MODE_FEC_RS, TA_ETHTOOL_LINK_MODE_FEC_BASER, TA_ETHTOOL_LINK_MODE_50000baseKR_Full, TA_ETHTOOL_LINK_MODE_50000baseSR_Full, TA_ETHTOOL_LINK_MODE_50000baseCR_Full, TA_ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full, TA_ETHTOOL_LINK_MODE_50000baseDR_Full, TA_ETHTOOL_LINK_MODE_100000baseKR2_Full, TA_ETHTOOL_LINK_MODE_100000baseSR2_Full, TA_ETHTOOL_LINK_MODE_100000baseCR2_Full, TA_ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full, TA_ETHTOOL_LINK_MODE_100000baseDR2_Full, TA_ETHTOOL_LINK_MODE_200000baseKR4_Full, TA_ETHTOOL_LINK_MODE_200000baseSR4_Full, TA_ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full, TA_ETHTOOL_LINK_MODE_200000baseDR4_Full, TA_ETHTOOL_LINK_MODE_200000baseCR4_Full, TA_ETHTOOL_LINK_MODE_100baseT1_Full, TA_ETHTOOL_LINK_MODE_1000baseT1_Full, TA_ETHTOOL_LINK_MODE_400000baseKR8_Full, TA_ETHTOOL_LINK_MODE_400000baseSR8_Full, TA_ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full, TA_ETHTOOL_LINK_MODE_400000baseDR8_Full, TA_ETHTOOL_LINK_MODE_400000baseCR8_Full, TA_ETHTOOL_LINK_MODE_FEC_LLRS, TA_ETHTOOL_LINK_MODE_100000baseKR_Full, TA_ETHTOOL_LINK_MODE_100000baseSR_Full, TA_ETHTOOL_LINK_MODE_100000baseLR_ER_FR_Full, TA_ETHTOOL_LINK_MODE_100000baseCR_Full, TA_ETHTOOL_LINK_MODE_100000baseDR_Full, TA_ETHTOOL_LINK_MODE_200000baseKR2_Full, TA_ETHTOOL_LINK_MODE_200000baseSR2_Full, TA_ETHTOOL_LINK_MODE_200000baseLR2_ER2_FR2_Full, TA_ETHTOOL_LINK_MODE_200000baseDR2_Full, TA_ETHTOOL_LINK_MODE_200000baseCR2_Full, TA_ETHTOOL_LINK_MODE_400000baseKR4_Full, TA_ETHTOOL_LINK_MODE_400000baseSR4_Full, TA_ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full, TA_ETHTOOL_LINK_MODE_400000baseDR4_Full, TA_ETHTOOL_LINK_MODE_400000baseCR4_Full, TA_ETHTOOL_LINK_MODE_100baseFX_Half, TA_ETHTOOL_LINK_MODE_100baseFX_Full, };