Sends a SCSI SET RNID command to a remote port of the end device.
Common Host Bus Adapter Library (libHBAAPI.a)
#include <sys/hbaapi.h>
HBA_STATUS HBA_SetRNIDMgmtInfo (handle, info)
HBA_HANDLE handle;
HBA_MGMTINFO info;
If successful, the SET RNID data in info is sent to the adapter.
Item | Description |
---|---|
handle | Specifies the open file descriptor obtained from a successful call to the open subroutine. |
info | Specifies the structure containing the information to be set or received from the RNID command |
Upon successful completion, the HBA_SetRNIDMgmtInfo subroutine returns a value of HBA_STATUS_OK, or a value of 0. If unsuccessful, a value of HBA_STATUS_ERROR, or a 1 is returned.
Item | Description |
---|---|
HBA_STATUS_OK | A value of 0 on successful completion. |
HBA_STATUS_ERROR | A value of 1 if an error occurred. |
HBA_STATUS_ERROR_INVALID_HANDLE | A value of 3 if there was an invalid file handle. |