svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
FCOE_GetPortList(3fcoe)
FCoE Port Management Library Functions FCOE_GetPortList(3FCOE)
NAME
FCOE_GetPortList - get a list of FCoE ports
SYNOPSIS
cc [ flag... ] file... -lfcoe [ library... ]
#include <libfcoe.h>
FCOE_STATUS FCOE_GetPortList(FCOE_UINT32 *port_num, FCOE_PORT_ATTRIBUTE **portlist);
PARAMETERS
port_num A pointer to an integer that, on successful return, con‐
tains the number of FCoE ports in the system.
portlist A pointer to a pointer to an fcoe_port_attr structure that,
on successful return, contains a list of the FCoE ports in
the system.
DESCRIPTION
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).
RETURN VALUES
The following values are returned:
FCOE_STATUS_ERROR_BUSY
The fcoe driver is busy and cannot complete the operation.
FCOE_STATUS_ERROR_INVAL_ARG
The value specified for port_num or portlist was not valid.
FCOE_STATUS_ERROR_OPEN_DEV
Failed to open fcoe device.
FCOE_STATUS_OK
The API call was successful.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe
SEE ALSO
free(3C), libfcoe(3LIB), attributes(7)
Oracle Solaris 11.4 1 Apr 2009 FCOE_GetPortList(3FCOE)