ONLP
Open Network Linux Platform APIs
Functions

Functions

int onlp_chassisi_sw_init (void)
 Software initializaiton of the Chassis module.
 
int onlp_chassisi_hw_init (uint32_t flags)
 Hardware initializaiton of the Chassis module. More...
 
int onlp_chassisi_sw_denit (void)
 Deinitialize the chassis software module. More...
 
int onlp_chassisi_hdr_get (onlp_oid_id_t id, onlp_oid_hdr_t *hdr)
 Get the chassis hdr structure. More...
 
int onlp_chassisi_info_get (onlp_oid_id_t id, onlp_chassis_info_t *info)
 Get the chassis info structure. More...
 

Detailed Description

Function Documentation

◆ onlp_chassisi_hdr_get()

int onlp_chassisi_hdr_get ( onlp_oid_id_t  id,
onlp_oid_hdr_t hdr 
)

Get the chassis hdr structure.

Parameters
idThe Chassis OID.
[out]hdrReceives the header.

◆ onlp_chassisi_hw_init()

int onlp_chassisi_hw_init ( uint32_t  flags)

Hardware initializaiton of the Chassis module.

Parameters
flagsThe hardware initialization flags.

◆ onlp_chassisi_info_get()

int onlp_chassisi_info_get ( onlp_oid_id_t  id,
onlp_chassis_info_t info 
)

Get the chassis info structure.

Parameters
idThe Chassis OID.
[out]infoReceives the chassis information.

◆ onlp_chassisi_sw_denit()

int onlp_chassisi_sw_denit ( void  )

Deinitialize the chassis software module.

Note
The primary purpose of this API is to properly deallocate any resources used by the module in order faciliate detection of real resouce leaks.