IMA_SetDefaultTime2Retain - Sets the DefaultTime2Retain iSCSI login parameter value for the specified LHBA or target
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetDefaultTime2Retain( /* in */ IMA_OID oid, /* in */ IMA_UINT defaultTime2Retain );
The object ID of the logical host bus adapter (LHBA) or target whose DefaultTime2Retain value is being set
The new value for the defaultTime2Retain argument for the specified LHBA or target
The IMA_SetDefaultTime2Retain() API sets the defaultTime2Retain iSCSI login parameter value for the specified LHBA or target
Returned if the LHBA does not support setting the defaultTime2Retain value
Returned if a reboot is necessary before the setting of the defaultTime2Retain value actually takes effect
Returned if the defaultTime2Retain value is out of range for the LHBA
Returned if the oid argument does not specify a valid object type
Returned if the oid argument does not specify an LHBA or target object
Returned if the oid argument does not specify an LHBA or target known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetDefaultTime2RetainProperties(3IMA)