Skip Navigation Links | |
Exit Print View | |
man pages section 3: Extended Library Functions, Volume 2 Oracle Solaris 11.1 Information Library |
Extended Library Functions, Volume 2
HBA_GetAdapterAttributes(3HBAAPI)
HBA_GetAdapterPortAttributes(3HBAAPI)
HBA_GetBindingCapability(3HBAAPI)
HBA_GetBindingSupport(3HBAAPI)
HBA_GetDiscoveredPortAttributes(3HBAAPI)
HBA_GetFcpPersistentBinding(3HBAAPI)
HBA_GetFcpTargetMapping(3HBAAPI)
HBA_GetFcpTargetMappingV2(3HBAAPI)
HBA_GetNumberOfAdapters(3HBAAPI)
HBA_GetPersistentBindingV2(3HBAAPI)
HBA_GetPortAttributesByWWN(3HBAAPI)
HBA_GetPortStatistics(3HBAAPI)
HBA_GetVendorLibraryAttributes(3HBAAPI)
HBA_GetWrapperLibraryAttributes(3HBAAPI)
HBA_RefreshAdapterConfiguration(3HBAAPI)
HBA_RefreshInformation(3HBAAPI)
HBA_RegisterForAdapterAddEvents(3HBAAPI)
HBA_RegisterForAdapterEvents(3HBAAPI)
HBA_RegisterForAdapterPortEvents(3HBAAPI)
HBA_RegisterForAdapterPortStatEvents(3HBAAPI)
HBA_RegisterForLinkEvents(3HBAAPI)
HBA_RegisterForTargetEvents(3HBAAPI)
HBA_RemoveAllPersistentBindings(3HBAAPI)
HBA_RemovePersistentBinding(3HBAAPI)
HBA_ScsiReadCapacityV2(3HBAAPI)
HBA_SetBindingSupport(3HBAAPI)
HBA_SetPersistentBindingV2(3HBAAPI)
lgrp_affinity_inherit_get(3LGRP)
lgrp_affinity_inherit_set(3LGRP)
MP_AssignLogicalUnitToTPG(3MPAPI)
MP_DeregisterForObjectPropertyChanges(3MPAPI)
MP_DeregisterForObjectVisibilityChanges(3MPAPI)
MP_DisableAutoFailback(3MPAPI)
MP_GetAssociatedPathOidList(3MPAPI)
MP_GetAssociatedPluginOid(3MPAPI)
MP_GetAssociatedTPGOidList(3MPAPI)
MP_GetDeviceProductOidList(3MPAPI)
MP_GetDeviceProductProperties(3MPAPI)
MP_GetInitiatorPortOidList(3MPAPI)
MP_GetInitiatorPortProperties(3MPAPI)
MP_GetLibraryProperties(3MPAPI)
MP_GetMPLogicalUnitProperties(3MPAPI)
MP_GetMPLuOidListFromTPG(3MPAPI)
MP_GetPathLogicalUnitProperties(3MPAPI)
MP_GetPluginProperties(3MPAPI)
MP_GetProprietaryLoadBalanceOidList(3MPAPI)
MP_GetProprietaryLoadBalanceProperties(3MPAPI)
MP_GetTargetPortGroupProperties(3MPAPI)
MP_GetTargetPortOidList(3MPAPI)
MP_GetTargetPortProperties(3MPAPI)
MP_RegisterForObjectPropertyChanges(3MPAPI)
MP_RegisterForObjectVisibilityChanges(3MPAPI)
MP_SetFailbackPollingRate(3MPAPI)
MP_SetLogicalUnitLoadBalanceType(3MPAPI)
MP_SetPluginLoadBalanceType(3MPAPI)
MP_SetProbingPollingRate(3MPAPI)
- issue an Extended Link Service through the local HBA Port
cc [ flag… ] file… -lHBAAPI [ library… ] #include <hbaapi.h> HBA_STATUS HBA_SendRLS(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN destWWN, void * pRspBuffer, HBA_UINT32 *pRspBufferSize);
HBA_STATUS HBA_SendRPL(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN agentWWN, HBA_UINT32 agent_domain, HBA_UINT32 portIndex, void * pRspBuffer, HBA_UINT32 *pRspBufferSize);
HBA_STATUS HBA_SendRPS(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN agentWWN, HBA_UINT32 agent_domain, HBA_WWN object_wwn, HBA_UINT32 object_port_number, void * pRspBuffer, HBA_UINT32 *pRspBufferSize);
HBA_STATUS HBA_SendSRL(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN wwn, HBA_UINT32 domain, void * pRspBuffer, HBA_UINT32 *pRspBufferSize);
HBA_STATUS HBA_SendLIRR(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN destWWN, HBA_UINT8 function, HBA_UINT8 type, void * pRspBuffer, HBA_UINT32 *pRspBufferSize);
an open handle returned from HBA_OpenAdapter(3HBAAPI)
the Port WWN of the local HBA through which to send the RLS
the Port WWN of the local HBA through which to send the RPL
the Port WWN of the local HBA through which to send the RPS
the Port WWN of the local HBA through which to send the SRL
the Port WWN of the local HBA through which to send the LIRR
the Port WWN of the remote Target to which the RLS is sent
he Port WWN of the remote Target to which the LIRR is sent
If non-zero, wwn is the port WWN to be scanned. If wwn is zero, it is ignored.
If wwn is zero, domain is the domain number for which loops will be scanned. If wwn is non-zero, domain is ignored.
If non-zero, agent_wwn is the port WWN for which the port list is requested. If agent_wwn is zero, it is ignored.
If agent_wwn is non-zero, agent_domain is the domain number and the domain controller for which the port list is requested. If agent_wwn is zero, it is ignored.
index of the first FC_Port returned in the response list
If non-zero, object_wwn is the port WWN for which the Port Status is requested. If object_wwn is zero, it is ignored.
If object_wwn is zero, object_port_number is the relative port number of the FC_Port for which the Port Status is requested. If object_wwn is non-zero, object_port_number is ignored.
the registration function to be performed
If type is non-zero, the type is the FC-4 device TYPE for which specific link incident information requested is requested. If type is zero, only common link incident information is requested.
a pointer to a buffer into which the RLS response is copied
a pointer to a buffer into which the RPL response is copied
a pointer to a buffer into which the RPS response is copied
a pointer to a buffer into which the SRL response is copied
A pointer to a buffer into which the LIRRresponse is copied.
a pointer to the size of the buffer
A size of 28 is sufficient for the largest response.
A size of 58 is sufficient for the largest response.
A size of 8 is sufficient for the largest response.
The HBA_SendRLS() function returns the Link Error Status Block associated with the agent WWN or agent-domain. For more information see "Read Link Status Block (RLS)" in FC-FS.
The HBA_SendRPL() function returns the Read Port List associated with the agent WWN or agent-domain. For more information see "Read Port List (RPL)" in FC-FS.
The HBA_SendRPS() function returns the Read Port Status Block associated with the agent WWN or agent-domain. For more information see "Read Port Status Block(RPS)" in FC-FS.
The HBA_SendSRL() function returns the Scan Remote Loop associated with the agent WWN or agent-domain. For more information see "Scan Remote Loop(SRL)" in FC-FS.
The HBA_SendLIRR() function returns the Link Incident Record Registration associated with the destportWWN. For more information see "Link Incident Record Registration (LIRR) in FC-FS.
These functions return the following values:
The LS_ACC for the ELS has been returned.
The ELS has been rejeced by the local HBA Port.
The value of hbaPortWWN is not a valid port WWN on the specified HBA.
An error occurred.
See attributes(5) for descriptions of the following attributes:
|