|
ONLP
Open Network Linux Platform APIs
|
#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 |
SFP Information Structure.
| uint8_t onlp_sfp_info_t::a0[ONLP_SFP_BLOCK_DATA_SIZE] |
The last A0 data
| uint8_t onlp_sfp_info_t::a2[ONLP_SFP_BLOCK_DATA_SIZE] |
The last A2 data (for SFP+ only)
| struct { ... } onlp_sfp_info_t::bytes |
The raw data upon which the meta info is based.
| uint32_t onlp_sfp_info_t::controls |
The SFP Control Status
| sff_dom_info_t onlp_sfp_info_t::dom |
The SFF Diagnostics information.
| onlp_oid_hdr_t onlp_sfp_info_t::hdr |
OID Header
| 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.
| onlp_sfp_type_t onlp_sfp_info_t::type |
SFP Connector Type
1.8.13