.. index:: pair: struct; net_drv_phy_mode_info .. _doxid-structnet__drv__phy__mode__info: struct net_drv_phy_mode_info ============================ .. toctree:: :hidden: Overview ~~~~~~~~ Description of one exact PHY mode exposed under ``/phy`` :/mode:\*. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct net_drv_phy_mode_info { // fields char* :ref:`name`; bool :ref:`advertised`; int :ref:`speed`; int :ref:`duplex`; }; .. _details-structnet__drv__phy__mode__info: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Description of one exact PHY mode exposed under ``/phy`` :/mode:\*. Fields ------ .. index:: pair: variable; name .. _doxid-structnet__drv__phy__mode__info_1a554bb108b19b4198a54ffa647187d4ab: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* name Exact PHY mode name. .. index:: pair: variable; advertised .. _doxid-structnet__drv__phy__mode__info_1ac55d688ea17e9ec72cba90ee09a010bf: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool advertised Whether this mode is currently advertised. .. index:: pair: variable; speed .. _doxid-structnet__drv__phy__mode__info_1a54fbb681fa5cb15b8e56a97f7a8eaa11: .. ref-code-block:: cpp :class: doxyrest-title-code-block int speed Parsed speed or ``TE_PHY_SPEED_UNKNOWN``. .. index:: pair: variable; duplex .. _doxid-structnet__drv__phy__mode__info_1aab7d3460588d07fa88ccf29c9a05eae4: .. ref-code-block:: cpp :class: doxyrest-title-code-block int duplex Parsed duplex or ``TE_PHY_DUPLEX_UNKNOWN``.