API Reference Manual
1.46.0
|
Packet IO link information. More...
#include <packet_io_types.h>
Data Fields | |
odp_pktio_link_autoneg_t | autoneg |
Link autonegotiation. | |
odp_pktio_link_duplex_t | duplex |
Duplex mode. | |
const char * | media |
Link media type. More... | |
odp_pktio_link_pause_t | pause_rx |
Reception of pause frames. | |
odp_pktio_link_pause_t | pause_tx |
Transmission of pause frames. | |
uint32_t | speed |
Link speed in Mbps. More... | |
odp_pktio_link_status_t | status |
Link status. | |
Packet IO link information.
Definition at line 1341 of file api/spec/packet_io_types.h.
const char* odp_pktio_link_info_t::media |
Link media type.
The implementation owned string describes link media type. Values are implementation specific short names like copper, fiber, or virtual. The value of "unknown" is used when media type cannot be determined.
Definition at line 1351 of file api/spec/packet_io_types.h.
uint32_t odp_pktio_link_info_t::speed |
Link speed in Mbps.
The value of zero means that the link speed is unknown. ODP_PKTIO_LINK_SPEED_* (link_speed) defines can be used to compare the value to standard link speeds.
Definition at line 1361 of file api/spec/packet_io_types.h.