FCoE Port Management Library Functions FCOE_DeletePort(3FCOE)
NAME
FCOE_DeletePort - delete an FCoE port
SYNOPSIS
cc [ flag... ] file... -lfcoe [ library... ]
#include
int FCOE_DeletePort(const char *macLinkName);
PARAMETERS
macLinkName The name of the MAC link from which to delete the FCoE port.DESCRIPTION
The FCOE_DeletePort() function deletes an FCoE port from the
specified MAC link.RETURN VALUES
The following values are returned:FCOE_STATUS_ERROR_BUSY
The fcoe driver is busy and cannot complete the opera-
tion.FCOE_STATUS_ERROR_MAC_LEN
The MAC link name exceeds the maximum length.FCOE_STATUS_MAC_NOT_FOUND
The FCoE port was not found on the specified MAC link.FCOE_STATUS_OK
The API call was successful.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 1 Apr 2009 1
FCoE Port Management Library Functions FCOE_DeletePort(3FCOE)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libfcoe(3LIB), attributes(5)SunOS 5.11 Last change: 1 Apr 2009 2