Hello, The man page for ifmedia(4) identifies media types defined for Ethernet under the heading "MEDIA TYPES AND OPTIONS FOR ETHERNET", but it omits several such types defined by #include <net/if_media.h>:
IFM_HPNA_1 /* HomePNA 1.0 (1Mb/s) */ IFM_10G_LRM /* 10GBase-LRM 850nm Multi-mode */ IFM_40G_CR4 /* 40GBase-CR4 */ IFM_40G_SR4 /* 40GBase-SR4 */ IFM_40G_LR4 /* 40GBase-LR4 */ IFM_1000_KX /* 1000Base-KX backplane */ IFM_10G_KX4 /* 10GBase-KX4 backplane */ IFM_10G_KR /* 10GBase-KR backplane */ IFM_10G_CR1 /* 10GBase-CR1 Twinax splitter */ IFM_20G_KR2 /* 20GBase-KR2 backplane */ IFM_2500_KX /* 2500Base-KX backplane */ IFM_5000_T /* 5000Base-T - RJ45 (NBaseT) */ IFM_1000_SGMII /* 1G media interface */ IFM_10G_SFI /* 10G media interface */ IFM_40G_XLPPI /* 40G media interface */ IFM_1000_CX_SGMII /* 1000Base-CX-SGMII */ IFM_40G_KR4 /* 40GBase-KR4 */ IFM_10G_ER /* 10GBase-ER */ IFM_100G_CR4 /* 100GBase-CR4 */ IFM_100G_SR4 /* 100GBase-SR4 */ IFM_100G_KR4 /* 100GBase-KR4 */ IFM_100G_LR4 /* 100GBase-LR4 */ IFM_56G_R4 /* 56GBase-R4 */ IFM_25G_CR /* 25GBase-CR */ IFM_25G_KR /* 25GBase-KR */ IFM_25G_SR /* 25GBase-SR */ IFM_50G_CR2 /* 50GBase-CR2 */ IFM_50G_KR2 /* 50GBase-KR2 */ IFM_25G_LR /* 25GBase-LR */ IFM_25G_ER /* 25GBase-ER */ IFM_10G_AOC /* 10G Active Optical Cable */ IFM_25G_AOC /* 25G Active Optical Cable */ IFM_40G_AOC /* 40G Active Optical Cable */ IFM_100G_AOC /* 100G Active Optical Cable */ I suggest revising the man page to address these omissions. Thank you for your assistance. Respectfully, Thomas Dunn Sent from my iPad