ONLP
Open Network Linux Platform APIs
Functions

Functions

int onlp_modulei_sw_init (void)
 Software initialization of the Module module.
 
int onlp_modulei_hw_init (uint32_t flags)
 Hardware initialization of the Module module. More...
 
int onlp_modulei_sw_denit (void)
 Deinitialize the module software module. More...
 
int onlp_modulei_hdr_get (onlp_oid_id_t id, onlp_oid_hdr_t *rv)
 Retrieve the module's oid header. More...
 
int onlp_modulei_info_get (onlp_oid_id_t id, onlp_module_info_t *rv)
 Get the information for the given module OID. More...
 

Detailed Description

Function Documentation

◆ onlp_modulei_hdr_get()

int onlp_modulei_hdr_get ( onlp_oid_id_t  id,
onlp_oid_hdr_t rv 
)

Retrieve the module's oid header.

Parameters
idThe module oid.
[out]rvReceives the header.

◆ onlp_modulei_hw_init()

int onlp_modulei_hw_init ( uint32_t  flags)

Hardware initialization of the Module module.

Parameters
flagsThe hardware initialization flags.

◆ onlp_modulei_info_get()

int onlp_modulei_info_get ( onlp_oid_id_t  id,
onlp_module_info_t rv 
)

Get the information for the given module OID.

Parameters
idThe Module OID
[out]rvReceives the module information.

◆ onlp_modulei_sw_denit()

int onlp_modulei_sw_denit ( void  )

Deinitialize the module 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.