ONLP
Open Network Linux Platform APIs
Functions

Functions

int onlp_generici_sw_init (void)
 Software initialization of the Generic module.
 
int onlp_generici_hw_init (uint32_t flags)
 Hardware initialization of the Generic module. More...
 
int onlp_generici_sw_denit (void)
 Deinitialize the generic software module. More...
 
int onlp_generici_hdr_get (onlp_oid_id_t id, onlp_oid_hdr_t *rv)
 Retrieve the generic's oid header. More...
 
int onlp_generici_info_get (onlp_oid_id_t id, onlp_generic_info_t *rv)
 Get the information for the given generic OID. More...
 

Detailed Description

Function Documentation

◆ onlp_generici_hdr_get()

int onlp_generici_hdr_get ( onlp_oid_id_t  id,
onlp_oid_hdr_t rv 
)

Retrieve the generic's oid header.

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

◆ onlp_generici_hw_init()

int onlp_generici_hw_init ( uint32_t  flags)

Hardware initialization of the Generic module.

Parameters
flagsThe hardware initialization flags.

◆ onlp_generici_info_get()

int onlp_generici_info_get ( onlp_oid_id_t  id,
onlp_generic_info_t rv 
)

Get the information for the given generic OID.

Parameters
idThe Generic OID
[out]rvReceives the generic information.

◆ onlp_generici_sw_denit()

int onlp_generici_sw_denit ( void  )

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