FCOE_GETPORTLIST(3FCOE) | FCoE Port Management Library Functions | FCOE_GETPORTLIST(3FCOE) |
FCOE_GetPortList - get a list of FCoE ports
cc [ flag... ] file... -lfcoe [ library... ] #include <libfcoe.h> int FCOE_GetPortList(unsigned int *port_num,
struct fcoe_port_attr **portlist);
port_num
portlist
The FCOE_GetPortList() function retrieves a list of FCoE ports. When the caller is finished using the list, it must free the memory used by the list by calling free(3C).
The following values are returned:
FCOE_STATUS_ERROR_BUSY
FCOE_STATUS_ERROR_INVAL_ARG
FCOE_STATUS_ERROR_OPEN_DEV
FCOE_STATUS_OK
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
MT-Level | Safe |
April 1, 2009 | OmniOS |