API Reference Manual  1.45.0
odp_pktio_link_info_t Struct Reference

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.
 

Detailed Description

Packet IO link information.

Examples
odp_debug.c, and odp_packet_gen.c.

Definition at line 1219 of file api/spec/packet_io_types.h.

Field Documentation

◆ media

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.

Examples
odp_debug.c, and odp_packet_gen.c.

Definition at line 1229 of file api/spec/packet_io_types.h.

◆ speed

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.

Examples
odp_debug.c, and odp_packet_gen.c.

Definition at line 1239 of file api/spec/packet_io_types.h.


The documentation for this struct was generated from the following file: