AT&T ECOMP Vendor Event Listener library  0.1
Functions
evel_scaling_measurement.c File Reference

Implementation of EVEL functions relating to the Measurement. More...

#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "evel.h"
#include "evel_internal.h"
#include "evel_throttle.h"
Include dependency graph for evel_scaling_measurement.c:

Go to the source code of this file.

Functions

EVENT_MEASUREMENTevel_new_measurement (double measurement_interval)
 Create a new Measurement event. More...
 
void evel_measurement_type_set (EVENT_MEASUREMENT *measurement, const char *const type)
 Set the Event Type property of the Measurement. More...
 
void evel_measurement_conc_sess_set (EVENT_MEASUREMENT *measurement, int concurrent_sessions)
 Set the Concurrent Sessions property of the Measurement. More...
 
void evel_measurement_cfg_ents_set (EVENT_MEASUREMENT *measurement, int configured_entities)
 Set the Configured Entities property of the Measurement. More...
 
void evel_measurement_errors_set (EVENT_MEASUREMENT *measurement, int receive_discards, int receive_errors, int transmit_discards, int transmit_errors)
 Add an additional set of Errors to the Measurement. More...
 
void evel_measurement_mean_req_lat_set (EVENT_MEASUREMENT *measurement, double mean_request_latency)
 Set the Mean Request Latency property of the Measurement. More...
 
void evel_measurement_mem_cfg_set (EVENT_MEASUREMENT *measurement, double memory_configured)
 Set the Memory Configured property of the Measurement. More...
 
void evel_measurement_mem_used_set (EVENT_MEASUREMENT *measurement, double memory_used)
 Set the Memory Used property of the Measurement. More...
 
void evel_measurement_request_rate_set (EVENT_MEASUREMENT *measurement, int request_rate)
 Set the Request Rate property of the Measurement. More...
 
void evel_measurement_cpu_use_add (EVENT_MEASUREMENT *measurement, char *id, double usage)
 Add an additional CPU usage value name/value pair to the Measurement. More...
 
void evel_measurement_fsys_use_add (EVENT_MEASUREMENT *measurement, char *filesystem_name, double block_configured, double block_used, int block_iops, double ephemeral_configured, double ephemeral_used, int ephemeral_iops)
 Add an additional File System usage value name/value pair to the Measurement. More...
 
void evel_measurement_feature_use_add (EVENT_MEASUREMENT *measurement, char *feature, int utilization)
 Add a Feature usage value name/value pair to the Measurement. More...
 
void evel_measurement_custom_measurement_add (EVENT_MEASUREMENT *measurement, const char *const group, const char *const name, const char *const value)
 Add a Additional Measurement value name/value pair to the Report. More...
 
void evel_measurement_codec_use_add (EVENT_MEASUREMENT *measurement, char *codec, int utilization)
 Add a Codec usage value name/value pair to the Measurement. More...
 
void evel_measurement_agg_cpu_use_set (EVENT_MEASUREMENT *measurement, double cpu_use)
 Set the Aggregate CPU Use property of the Measurement. More...
 
void evel_measurement_media_port_use_set (EVENT_MEASUREMENT *measurement, int media_ports_in_use)
 Set the Media Ports in Use property of the Measurement. More...
 
void evel_measurement_vnfc_scaling_metric_set (EVENT_MEASUREMENT *measurement, double scaling_metric)
 Set the VNFC Scaling Metric property of the Measurement. More...
 
MEASUREMENT_LATENCY_BUCKETevel_new_meas_latency_bucket (const int count)
 Create a new Latency Bucket to be added to a Measurement event. More...
 
void evel_meas_latency_bucket_high_end_set (MEASUREMENT_LATENCY_BUCKET *const bucket, const double high_end)
 Set the High End property of the Measurement Latency Bucket. More...
 
void evel_meas_latency_bucket_low_end_set (MEASUREMENT_LATENCY_BUCKET *const bucket, const double low_end)
 Set the Low End property of the Measurement Latency Bucket. More...
 
void evel_meas_latency_bucket_add (EVENT_MEASUREMENT *const measurement, MEASUREMENT_LATENCY_BUCKET *const bucket)
 Add an additional Measurement Latency Bucket to the specified event. More...
 
void evel_measurement_latency_add (EVENT_MEASUREMENT *const measurement, const double low_end, const double high_end, const int count)
 Add an additional Latency Distribution bucket to the Measurement. More...
 
MEASUREMENT_VNIC_USEevel_new_measurement_vnic_use (char *const vnic_id, const int packets_in, const int packets_out, const int bytes_in, const int bytes_out)
 Create a new vNIC Use to be added to a Measurement event. More...
 
void evel_free_measurement_vnic_use (MEASUREMENT_VNIC_USE *const vnic_use)
 Free a vNIC Use. More...
 
void evel_vnic_use_bcast_pkt_in_set (MEASUREMENT_VNIC_USE *const vnic_use, const int broadcast_packets_in)
 Set the Broadcast Packets Received property of the vNIC Use. More...
 
void evel_vnic_use_bcast_pkt_out_set (MEASUREMENT_VNIC_USE *const vnic_use, const int broadcast_packets_out)
 Set the Broadcast Packets Transmitted property of the vNIC Use. More...
 
void evel_vnic_use_mcast_pkt_in_set (MEASUREMENT_VNIC_USE *const vnic_use, const int multicast_packets_in)
 Set the Multicast Packets Received property of the vNIC Use. More...
 
void evel_vnic_use_mcast_pkt_out_set (MEASUREMENT_VNIC_USE *const vnic_use, const int multicast_packets_out)
 Set the Multicast Packets Transmitted property of the vNIC Use. More...
 
void evel_vnic_use_ucast_pkt_in_set (MEASUREMENT_VNIC_USE *const vnic_use, const int unicast_packets_in)
 Set the Unicast Packets Received property of the vNIC Use. More...
 
void evel_vnic_use_ucast_pkt_out_set (MEASUREMENT_VNIC_USE *const vnic_use, const int unicast_packets_out)
 Set the Unicast Packets Transmitted property of the vNIC Use. More...
 
void evel_meas_vnic_use_add (EVENT_MEASUREMENT *const measurement, MEASUREMENT_VNIC_USE *const vnic_use)
 Add an additional vNIC Use to the specified Measurement event. More...
 
void evel_measurement_vnic_use_add (EVENT_MEASUREMENT *const measurement, char *const vnic_id, const int packets_in, const int packets_out, const int broadcast_packets_in, const int broadcast_packets_out, const int bytes_in, const int bytes_out, const int multicast_packets_in, const int multicast_packets_out, const int unicast_packets_in, const int unicast_packets_out)
 Add an additional vNIC usage record Measurement. More...
 
void evel_json_encode_measurement (EVEL_JSON_BUFFER *jbuf, EVENT_MEASUREMENT *event)
 Encode the measurement as a JSON measurement. More...
 
void evel_free_measurement (EVENT_MEASUREMENT *event)
 Free a Measurement. More...
 

Detailed Description

Implementation of EVEL functions relating to the Measurement.

License

Copyright(c) <2016>, AT&T Intellectual Property. All other rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the AT&T.
  4. Neither the name of AT&T nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file evel_scaling_measurement.c.

Function Documentation

§ evel_free_measurement()

void evel_free_measurement ( EVENT_MEASUREMENT event)

Free a Measurement.

Free off the Measurement supplied. Will free all the contained allocated memory.

Note
It does not free the Measurement itself, since that may be part of a larger structure.

Definition at line 1607 of file evel_scaling_measurement.c.

§ evel_free_measurement_vnic_use()

void evel_free_measurement_vnic_use ( MEASUREMENT_VNIC_USE *const  vnic_use)

Free a vNIC Use.

Free off the MEASUREMENT_VNIC_USE supplied. Will free all the contained allocated memory.

Note
It does not free the vNIC Use itself, since that may be part of a larger structure.

Definition at line 955 of file evel_scaling_measurement.c.

§ evel_json_encode_measurement()

void evel_json_encode_measurement ( EVEL_JSON_BUFFER jbuf,
EVENT_MEASUREMENT event 
)

Encode the measurement as a JSON measurement.

Parameters
jbufPointer to the EVEL_JSON_BUFFER to encode into.
eventPointer to the EVENT_HEADER to encode.

Definition at line 1225 of file evel_scaling_measurement.c.

§ evel_meas_latency_bucket_add()

void evel_meas_latency_bucket_add ( EVENT_MEASUREMENT *const  measurement,
MEASUREMENT_LATENCY_BUCKET *const  bucket 
)

Add an additional Measurement Latency Bucket to the specified event.

Parameters
measurementPointer to the Measurement event.
bucketPointer to the Measurement Latency Bucket to add.

Definition at line 834 of file evel_scaling_measurement.c.

§ evel_meas_latency_bucket_high_end_set()

void evel_meas_latency_bucket_high_end_set ( MEASUREMENT_LATENCY_BUCKET *const  bucket,
const double  high_end 
)

Set the High End property of the Measurement Latency Bucket.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
bucketPointer to the Measurement Latency Bucket.
high_endHigh end of the bucket's range.

Definition at line 789 of file evel_scaling_measurement.c.

§ evel_meas_latency_bucket_low_end_set()

void evel_meas_latency_bucket_low_end_set ( MEASUREMENT_LATENCY_BUCKET *const  bucket,
const double  low_end 
)

Set the Low End property of the Measurement Latency Bucket.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
bucketPointer to the Measurement Latency Bucket.
low_endLow end of the bucket's range.

Definition at line 814 of file evel_scaling_measurement.c.

§ evel_meas_vnic_use_add()

void evel_meas_vnic_use_add ( EVENT_MEASUREMENT *const  measurement,
MEASUREMENT_VNIC_USE *const  vnic_use 
)

Add an additional vNIC Use to the specified Measurement event.

Parameters
measurementPointer to the measurement.
vnic_usePointer to the vNIC Use to add.

Definition at line 1148 of file evel_scaling_measurement.c.

§ evel_measurement_agg_cpu_use_set()

void evel_measurement_agg_cpu_use_set ( EVENT_MEASUREMENT measurement,
double  cpu_use 
)

Set the Aggregate CPU Use property of the Measurement.

} Set the Aggregate CPU Use property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the measurement.
cpu_useThe CPU use to set.

Definition at line 656 of file evel_scaling_measurement.c.

§ evel_measurement_cfg_ents_set()

void evel_measurement_cfg_ents_set ( EVENT_MEASUREMENT measurement,
int  configured_entities 
)

Set the Configured Entities property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
configured_entitiesThe Configured Entities to be set.

Definition at line 178 of file evel_scaling_measurement.c.

§ evel_measurement_codec_use_add()

void evel_measurement_codec_use_add ( EVENT_MEASUREMENT measurement,
char *  codec,
int  utilization 
)

Add a Codec usage value name/value pair to the Measurement.

The name is null delimited ASCII string. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the measurement.
codecASCIIZ string with the codec's name.
utilizationNumber of codecs in use.

Definition at line 615 of file evel_scaling_measurement.c.

§ evel_measurement_conc_sess_set()

void evel_measurement_conc_sess_set ( EVENT_MEASUREMENT measurement,
int  concurrent_sessions 
)

Set the Concurrent Sessions property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
concurrent_sessionsThe Concurrent Sessions to be set.

Definition at line 150 of file evel_scaling_measurement.c.

§ evel_measurement_cpu_use_add()

void evel_measurement_cpu_use_add ( EVENT_MEASUREMENT measurement,
char *  id,
double  usage 
)

Add an additional CPU usage value name/value pair to the Measurement.

The name and value are null delimited ASCII strings. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the measurement.
idASCIIZ string with the CPU's identifier.
usageCPU utilization.

Definition at line 385 of file evel_scaling_measurement.c.

§ evel_measurement_custom_measurement_add()

void evel_measurement_custom_measurement_add ( EVENT_MEASUREMENT measurement,
const char *const  group,
const char *const  name,
const char *const  value 
)

Add a Additional Measurement value name/value pair to the Report.

Add a Additional Measurement value name/value pair to the Measurement.

The name is null delimited ASCII string. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the Measaurement.
groupASCIIZ string with the measurement group's name.
nameASCIIZ string containing the measurement's name.
valueASCIIZ string containing the measurement's value.

Definition at line 531 of file evel_scaling_measurement.c.

§ evel_measurement_errors_set()

void evel_measurement_errors_set ( EVENT_MEASUREMENT measurement,
int  receive_discards,
int  receive_errors,
int  transmit_discards,
int  transmit_errors 
)

Add an additional set of Errors to the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the measurement.
receive_discardsThe number of receive discards.
receive_errorsThe number of receive errors.
transmit_discardsThe number of transmit discards.
transmit_errorsThe number of transmit errors.

Definition at line 209 of file evel_scaling_measurement.c.

§ evel_measurement_feature_use_add()

void evel_measurement_feature_use_add ( EVENT_MEASUREMENT measurement,
char *  feature,
int  utilization 
)

Add a Feature usage value name/value pair to the Measurement.

The name is null delimited ASCII string. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the measurement.
featureASCIIZ string with the feature's name.
utilizationUtilization of the feature.

Definition at line 488 of file evel_scaling_measurement.c.

§ evel_measurement_fsys_use_add()

void evel_measurement_fsys_use_add ( EVENT_MEASUREMENT measurement,
char *  filesystem_name,
double  block_configured,
double  block_used,
int  block_iops,
double  ephemeral_configured,
double  ephemeral_used,
int  ephemeral_iops 
)

Add an additional File System usage value name/value pair to the Measurement.

The filesystem_name is null delimited ASCII string. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the measurement.
filesystem_nameASCIIZ string with the file-system's UUID.
block_configuredBlock storage configured.
block_usedBlock storage in use.
block_iopsBlock storage IOPS.
ephemeral_configuredEphemeral storage configured.
ephemeral_usedEphemeral storage in use.
ephemeral_iopsEphemeral storage IOPS.

Definition at line 432 of file evel_scaling_measurement.c.

§ evel_measurement_latency_add()

void evel_measurement_latency_add ( EVENT_MEASUREMENT *const  measurement,
const double  low_end,
const double  high_end,
const int  count 
)

Add an additional Latency Distribution bucket to the Measurement.

This function implements the previous API, purely for convenience.

Parameters
measurementPointer to the measurement.
low_endLow end of the bucket's range.
high_endHigh end of the bucket's range.
countCount of events in this bucket.

Definition at line 860 of file evel_scaling_measurement.c.

§ evel_measurement_mean_req_lat_set()

void evel_measurement_mean_req_lat_set ( EVENT_MEASUREMENT measurement,
double  mean_request_latency 
)

Set the Mean Request Latency property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
mean_request_latencyThe Mean Request Latency to be set.

Definition at line 272 of file evel_scaling_measurement.c.

§ evel_measurement_media_port_use_set()

void evel_measurement_media_port_use_set ( EVENT_MEASUREMENT measurement,
int  media_ports_in_use 
)

Set the Media Ports in Use property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the measurement.
media_ports_in_useThe media port usage to set.

Definition at line 684 of file evel_scaling_measurement.c.

§ evel_measurement_mem_cfg_set()

void evel_measurement_mem_cfg_set ( EVENT_MEASUREMENT measurement,
double  memory_configured 
)

Set the Memory Configured property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
memory_configuredThe Memory Configured to be set.

Definition at line 300 of file evel_scaling_measurement.c.

§ evel_measurement_mem_used_set()

void evel_measurement_mem_used_set ( EVENT_MEASUREMENT measurement,
double  memory_used 
)

Set the Memory Used property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
memory_usedThe Memory Used to be set.

Definition at line 328 of file evel_scaling_measurement.c.

§ evel_measurement_request_rate_set()

void evel_measurement_request_rate_set ( EVENT_MEASUREMENT measurement,
int  request_rate 
)

Set the Request Rate property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
request_rateThe Request Rate to be set.

Definition at line 356 of file evel_scaling_measurement.c.

§ evel_measurement_type_set()

void evel_measurement_type_set ( EVENT_MEASUREMENT measurement,
const char *const  type 
)

Set the Event Type property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the Measurement.
typeThe Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 125 of file evel_scaling_measurement.c.

§ evel_measurement_vnfc_scaling_metric_set()

void evel_measurement_vnfc_scaling_metric_set ( EVENT_MEASUREMENT measurement,
double  scaling_metric 
)

Set the VNFC Scaling Metric property of the Measurement.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
measurementPointer to the measurement.
scaling_metricThe scaling metric to set.

Definition at line 712 of file evel_scaling_measurement.c.

§ evel_measurement_vnic_use_add()

void evel_measurement_vnic_use_add ( EVENT_MEASUREMENT *const  measurement,
char *const  vnic_id,
const int  packets_in,
const int  packets_out,
const int  broadcast_packets_in,
const int  broadcast_packets_out,
const int  bytes_in,
const int  bytes_out,
const int  multicast_packets_in,
const int  multicast_packets_out,
const int  unicast_packets_in,
const int  unicast_packets_out 
)

Add an additional vNIC usage record Measurement.

This function implements the previous API, purely for convenience.

The ID is null delimited ASCII string. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
measurementPointer to the measurement.
vnic_idASCIIZ string with the vNIC's ID.
packets_inTotal packets received.
packets_outTotal packets transmitted.
broadcast_packets_inBroadcast packets received.
broadcast_packets_outBroadcast packets transmitted.
bytes_inTotal bytes received.
bytes_outTotal bytes transmitted.
multicast_packets_inMulticast packets received.
multicast_packets_outMulticast packets transmitted.
unicast_packets_inUnicast packets received.
unicast_packets_outUnicast packets transmitted.

Definition at line 1186 of file evel_scaling_measurement.c.

§ evel_new_meas_latency_bucket()

MEASUREMENT_LATENCY_BUCKET* evel_new_meas_latency_bucket ( const int  count)

Create a new Latency Bucket to be added to a Measurement event.

Note
The mandatory fields on the MEASUREMENT_LATENCY_BUCKET must be supplied to this factory function and are immutable once set. Optional fields have explicit setter functions, but again values may only be set once so that the MEASUREMENT_LATENCY_BUCKET has immutable properties.
Parameters
countCount of events in this bucket.
Returns
pointer to the newly manufactured MEASUREMENT_LATENCY_BUCKET. If the structure is not used it must be released using free.
Return values
NULLFailed to create the Latency Bucket.

Definition at line 745 of file evel_scaling_measurement.c.

§ evel_new_measurement()

EVENT_MEASUREMENT* evel_new_measurement ( double  measurement_interval)

Create a new Measurement event.

Note
The mandatory fields on the Measurement must be supplied to this factory function and are immutable once set. Optional fields have explicit setter functions, but again values may only be set once so that the Measurement has immutable properties.
Parameters
measurement_interval
Returns
pointer to the newly manufactured EVENT_MEASUREMENT. If the event is not used (i.e. posted) it must be released using evel_free_event.
Return values
NULLFailed to create the event.

Definition at line 60 of file evel_scaling_measurement.c.

§ evel_new_measurement_vnic_use()

MEASUREMENT_VNIC_USE* evel_new_measurement_vnic_use ( char *const  vnic_id,
const int  packets_in,
const int  packets_out,
const int  bytes_in,
const int  bytes_out 
)

Create a new vNIC Use to be added to a Measurement event.

Note
The mandatory fields on the MEASUREMENT_VNIC_USE must be supplied to this factory function and are immutable once set. Optional fields have explicit setter functions, but again values may only be set once so that the MEASUREMENT_VNIC_USE has immutable properties.
Parameters
vnic_idASCIIZ string with the vNIC's ID.
packets_inTotal packets received.
packets_outTotal packets transmitted.
bytes_inTotal bytes received.
bytes_outTotal bytes transmitted.
Returns
pointer to the newly manufactured MEASUREMENT_VNIC_USE. If the structure is not used it must be released using evel_free_measurement_vnic_use.
Return values
NULLFailed to create the vNIC Use.

Definition at line 900 of file evel_scaling_measurement.c.

§ evel_vnic_use_bcast_pkt_in_set()

void evel_vnic_use_bcast_pkt_in_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  broadcast_packets_in 
)

Set the Broadcast Packets Received property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
broadcast_packets_inBroadcast packets received.

Definition at line 985 of file evel_scaling_measurement.c.

§ evel_vnic_use_bcast_pkt_out_set()

void evel_vnic_use_bcast_pkt_out_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  broadcast_packets_out 
)

Set the Broadcast Packets Transmitted property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
broadcast_packets_outBroadcast packets transmitted.

Definition at line 1013 of file evel_scaling_measurement.c.

§ evel_vnic_use_mcast_pkt_in_set()

void evel_vnic_use_mcast_pkt_in_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  multicast_packets_in 
)

Set the Multicast Packets Received property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
multicast_packets_inMulticast packets received.

Definition at line 1041 of file evel_scaling_measurement.c.

§ evel_vnic_use_mcast_pkt_out_set()

void evel_vnic_use_mcast_pkt_out_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  multicast_packets_out 
)

Set the Multicast Packets Transmitted property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
multicast_packets_outMulticast packets transmitted.

Definition at line 1069 of file evel_scaling_measurement.c.

§ evel_vnic_use_ucast_pkt_in_set()

void evel_vnic_use_ucast_pkt_in_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  unicast_packets_in 
)

Set the Unicast Packets Received property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
unicast_packets_inUnicast packets received.

Definition at line 1097 of file evel_scaling_measurement.c.

§ evel_vnic_use_ucast_pkt_out_set()

void evel_vnic_use_ucast_pkt_out_set ( MEASUREMENT_VNIC_USE *const  vnic_use,
const int  unicast_packets_out 
)

Set the Unicast Packets Transmitted property of the vNIC Use.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
vnic_usePointer to the vNIC Use.
unicast_packets_outUnicast packets transmitted.

Definition at line 1125 of file evel_scaling_measurement.c.