ONLP
Open Network Linux Platform APIs
Data Fields
onlp_sfp_info_t Struct Reference

#include <sfp.h>

Data Fields

onlp_oid_hdr_t hdr
 
onlp_sfp_type_t type
 
uint32_t controls
 
sff_info_t sff
 
sff_dom_info_t dom
 
struct {
   uint8_t   a0 [ONLP_SFP_BLOCK_DATA_SIZE]
 
   uint8_t   a2 [ONLP_SFP_BLOCK_DATA_SIZE]
 
bytes
 

Detailed Description

SFP Information Structure.

Field Documentation

◆ a0

uint8_t onlp_sfp_info_t::a0[ONLP_SFP_BLOCK_DATA_SIZE]

The last A0 data

◆ a2

uint8_t onlp_sfp_info_t::a2[ONLP_SFP_BLOCK_DATA_SIZE]

The last A2 data (for SFP+ only)

◆ bytes

struct { ... } onlp_sfp_info_t::bytes

The raw data upon which the meta info is based.

◆ controls

uint32_t onlp_sfp_info_t::controls

The SFP Control Status

◆ dom

sff_dom_info_t onlp_sfp_info_t::dom

The SFF Diagnostics information.

◆ hdr

onlp_oid_hdr_t onlp_sfp_info_t::hdr

OID Header

◆ sff

sff_info_t onlp_sfp_info_t::sff

The SFF Parse of the idprom. The parse is valid if sff.sfp_type != INVALID.

Note that the vendor, model, and serial will likely be populated correctly event if the rest of the data could not be parsed correctly.

◆ type

onlp_sfp_type_t onlp_sfp_info_t::type

SFP Connector Type


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