This function is used to obtain the performance information on
a particular action. The action number is specified by actionNum.
When multiple policy rules refer to a given policy action, the performance
information in the action is an aggregate of all the rules that refer
to it.
The performance information is returned as an ActionPerfInfo structure,
defined as:
typedef struct {
char name[MAX_POLICY_NAME]; /* Rule / Action name */
Bit32 recordType; /* Rule / Action */
Bit32 recordId; /* Rule / Action Id */
time_t firstActivated; /* Time first activated */
time_t lastMapped; /* Time last mapped */
Bit64 bytesXmitted; /* Total bytes transmitted*/
Bit64 packetsXmitted; /* Total packets
transmitted */
Bit32 activeConnections; /* Active connections
count */
Bit32 reserved4; /* Reserved */
Bit64 acceptedConnections; /* Total accepted
connections */
Bit32 smoothedRttAvg; /* Average smoothed RTT */
Bit32 smoothedRttMdev; /* MDEV of smoothed RTT */
Bit64 bytesRexmitted; /* Total bytes
retransmitted */
Bit64 packetsRexmitted; /* Total packets
retransmitted */
Bit32 smoothedConnDelayAvg; /* Average smoothed conn
delay */
Bit32 smoothedConnDelayMdev; /* MDEV of smoothed conn
delay */
Bit32 acceptQDelayAvg; /* Average accept queue
delay */
Bit32 acceptQDelayMDev; /* MDEV of accept queue
delay */
Bit64 packetsXmittedInProfile;/* Outbound in profile
packets count */
Bit64 bytesXmittedInProfile; /* Outbound in profile bytes
count */
Bit64 reserved2; /* Reserved @Q1A*/
Bit64 reserved3; /* Reserved @Q1A*/
Bit64 packetsReceived; /* Total packets
received @Q1A*/
Bit64 bytesReceived; /* Total bytes
received @Q1A*/
Bit64 packetsXmittedTimedOut; /* Total transmitted
packets timed out @Q1A*/
Bit64 deniedConnections; /* Total denied
connections @Q1A*/
} RulePerfInfo, ActionPerfInfo;