IMA_GetPnpStatistics - Gets the statistics related to a PNP
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetPnpStatistics( /* in */ IMA_OID pnpOid, /* out */ IMA_PNP_STATISTICS *pStats );
The object ID of the physical network port (PNP) whose statistics are being retrieved.
A pointer to an IMA_PNP_STATISTICS data structure allocated by the caller. If returned successfully, this data structure contains the current statistics of the specified PNP.
The IMA_GetPnpStatistics() API gets the statistics related to a PNP.
Returned if the pStats argument is NULL, or specifies a memory area to which data cannot be written
Returned if the pnpOid argument does not specify a valid object type
Returned if the pnpOid argument does not specify a PNP object
Returned if the pnpOid argument does not specify a PNP known to the system
Returned if statistics collection is not enabled for the PNP specified by the pnpOid argument
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetStatisticsProperties(3IMA), IMA_SetStatisticsCollection(3IMA)