IMA_SetNetworkPortalIpAddress - Sets the IP address of a specified network portal
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetNetworkPortalIpAddress( /* in */ IMA_OID networkPortalOid, /* in */ const IMA_IP_ADDRESS *pNewIpAddress );
The object ID of the network portal whose IP address is being set.
A pointer to an IMA_IP_ADDRESS data structure allocated and initialized by the caller. The structure contains the new IP address of the network portal specified by the networkPortalOid argument.
The IMA_SetNetworkPortalIpAddress() API sets the IP address of a specified network portal.
Returned if a reboot is necessary before the setting of the IP address takes effect
Returned if the specified network portal does not support the setting of its IP address
Returned if the pNewIpAddress argument is NULL, or specifies a memory area from which data cannot be read
Returned if the networkPortalOid argument does not specify a valid object type
Returned if the networkPortalOid argument does not specify a network portal object
Returned if the networkPortalOid argument does not specify a network portal known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetNetworkPortalProperties(3IMA)