CNDP
22.08.0
|
#include <netdev_funcs.h>
Data Fields | |
uint32_t | link_speed |
uint16_t | link_duplex: 1 |
uint16_t | link_autoneg: 1 |
uint16_t | link_status: 1 |
A structure used to retrieve link-level information of an Ethernet port.aligned for atomic64 read/write
Definition at line 25 of file netdev_funcs.h.
uint32_t link_speed |
ETH_SPEED_NUM_
Definition at line 26 of file netdev_funcs.h.
uint16_t link_duplex |
ETH_LINK_[HALF/FULL]_DUPLEX
Definition at line 27 of file netdev_funcs.h.
uint16_t link_autoneg |
ETH_LINK_[AUTONEG/FIXED]
Definition at line 28 of file netdev_funcs.h.
uint16_t link_status |
ETH_LINK_[DOWN/UP]
Definition at line 29 of file netdev_funcs.h.