Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_sport.h File Reference

Go to the source code of this file.

Detailed Description

OCS iSCSI SLI port (SPORT) exported declarations

Definition in file ocs_sport.h.

Functions

int ocs_ddump_sport (ocs_textbuf_t *textbuf, ocs_sport_t *sport)
 
void ocs_sport_force_free (ocs_sport_t *sport)
 Free memory resources of a SLI port object. More...
 
ocs_sport_t * ocs_sport_get_instance (ocs_domain_t *domain, uint32_t index)
 Return a SLI port object, given an instance index. More...
 

Function Details

int ocs_ddump_sport ( ocs_textbuf_t *  textbuf,
ocs_sport_t *  sport 
)
void ocs_sport_force_free ( ocs_sport_t *  sport)

Free memory resources of a SLI port object.

Description

After the sport object is freed, its child objects are freed.

Parameters
sportPointer to the SLI port object.
Returns
None.

Definition at line 67 of file ocs_sport.c.

ocs_sport_t* ocs_sport_get_instance ( ocs_domain_t *  domain,
uint32_t  index 
)

Return a SLI port object, given an instance index.

Description

A pointer to a sport object is returned, given its instance index.

Parameters
domainPointer to the domain.
indexInstance index value to find.
Returns
Returns a pointer to the ocs_sport_t object; or NULL.

Definition at line 99 of file ocs_sport.c.