IMA_SetSlpDiscovery - Enables or disables SLP target discovery for a PHBA, LHBA, or network portal
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetSlpDiscovery( /* in */ IMA_OID oid, /* in */ IMA_BOOL enableSlpDiscovery );
The object ID of the physical host bus adapter (PHBA), logical host bus adapter (LHBA), or network portal whose SLP target discovery property is being set.
Set to the value, IMA_TRUE if SLP target discovery is being enabled for the specified PHBA or LHBA.
Set to the value, IMA_FALSE if SLP target discovery is being disabled for the specified PHBA or LHBA.
The IMA_SetSlpDiscovery() API enables or disables SLP target discovery for a PHBA, LHBA, or network portal.
Returned if a reboot is necessary before this change will take effect.
Returned if enabling or disabling SLP target discovery is not supported by the specified PHBA, LHBA, or network portal.
Returned if the enableSlpDiscovery argument has a value other than the value, IMA_TRUE and the value, IMA_FALSE.
Returned if the oid argument does not specify a valid object type.
Returned if the oid argument does not specify a PHBA, LHBA, or network portal object.
Returned if the oid argument does not specify a PHBA, LHBA, or network portal that is currently known to the system.
Returned if the enableSlpDiscovery argument is set to the value, IMA_FALSE, and SLP target discovery is the last primary discovery method for the PHBA, LHBA, or network portal. This means both SNS target discovery and static target discovery properties are either disabled or not supported.
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetDiscoveryProperties(3IMA), IMA_SetIsnsDiscovery(3IMA), IMA_SetStaticDiscovery(3IMA), IMA_SetSendTargetsDiscovery(3IMA)