IMA_SetSubnetMask - Sets the subnet mask for the specified physical network port
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_SetSubnetMask( /* in */ IMA_OID oid, /* in */ IMA_IP_ADDRESS subnetMask );
The object ID of the physical network port (PNP) whose subnet mask is to be set
The new subnet mask for the PNP
The IMA_SetSubnetMask() API sets the subnet mask for the specified PNP.
Returned if a reboot is necessary before the setting of the subnetMask argument takes effect
Returned if setting the subnetMask argument is not supported by the specified PNP
Returned if any fields in the subnetMask argument contain invalid values
Returned if the oid argument does not specify a valid object type
Returned if the oid argument does not specify a PNP
Returned if the oid argument does not specify a PNP known to the system
See attributes(7) for descriptions of the following attributes:
|