AT&T ECOMP Vendor Event Listener library
0.1
|
Header for EVEL library. More...
#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include "double_list.h"
Go to the source code of this file.
Data Structures | |
struct | evel_option_double |
Optional parameter holder for double. More... | |
struct | evel_option_string |
Optional parameter holder for string. More... | |
struct | evel_option_int |
Optional parameter holder for int. More... | |
struct | evel_option_ull |
Optional parameter holder for unsigned long long. More... | |
struct | evel_option_time |
Optional parameter holder for time_t. More... | |
struct | event_header |
Event header. More... | |
struct | event_fault |
Fault. More... | |
struct | fault_additional_info |
Fault Additional Info. More... | |
struct | measurement_errors |
Errors. More... | |
struct | event_measurement |
Measurement. More... | |
struct | measurement_cpu_use |
CPU Usage. More... | |
struct | measurement_fsys_use |
Filesystem Usage. More... | |
struct | measurement_latency_bucket |
Latency Bucket. More... | |
struct | measurement_vnic_use |
Virtual NIC usage. More... | |
struct | measurement_codec_use |
Codec Usage. More... | |
struct | measurement_feature_use |
Feature Usage. More... | |
struct | measurement_group |
Measurement Group. More... | |
struct | custom_measurement |
Custom Defined Measurement. More... | |
struct | event_report |
Report. More... | |
struct | mobile_gtp_per_flow_metrics |
Mobile GTP Per Flow Metrics. More... | |
struct | event_mobile_flow |
Mobile Flow. More... | |
struct | event_other |
Other. More... | |
struct | other_field |
Other Field. More... | |
struct | evel_event_instance_id |
Event Instance Identifier JSON equivalent field: eventInstanceIdentifier. More... | |
struct | event_service |
Service Events. More... | |
struct | event_signaling |
Signaling. More... | |
struct | event_state_change |
State Change. More... | |
struct | state_change_additional_field |
State Change Additional Field. More... | |
struct | event_syslog |
Syslog. More... | |
struct | syslog_additional_field |
Syslog Additional Field. More... | |
struct | copyright |
Copyright. More... | |
Functions | |
EVEL_ERR_CODES | evel_initialize (const char *const fqdn, int port, const char *const path, const char *const topic, int secure, const char *const username, const char *const password, EVEL_SOURCE_TYPES source_type, const char *const role, int verbosity) |
Library initialization. More... | |
EVEL_ERR_CODES | evel_terminate (void) |
Clean up the EVEL library. More... | |
EVEL_ERR_CODES | evel_post_event (EVENT_HEADER *event) |
Post an event. More... | |
const char * | evel_error_string (void) |
Descriptive text for library errors. More... | |
void | evel_free_event (void *event) |
Free an event. More... | |
int | evel_json_encode_event (char *json, int max_size, EVENT_HEADER *event) |
Encode the event as a JSON event object according to AT&T's schema. More... | |
size_t | evel_write_callback (void *contents, size_t size, size_t nmemb, void *userp) |
Callback function to provide returned data. More... | |
EVENT_HEADER * | evel_new_heartbeat (void) |
Create a new heartbeat event. More... | |
void | evel_free_header (EVENT_HEADER *const event) |
Free an event header. More... | |
void | evel_init_header (EVENT_HEADER *const header) |
Initialize a newly created event header. More... | |
void | evel_header_type_set (EVENT_HEADER *const header, const char *const type) |
Set the Event Type property of the event header. More... | |
void | evel_start_epoch_set (EVENT_HEADER *const header, const unsigned long long start_epoch_microsec) |
Set the Start Epoch property of the event header. More... | |
void | evel_last_epoch_set (EVENT_HEADER *const header, const unsigned long long last_epoch_microsec) |
Set the Last Epoch property of the event header. More... | |
void | evel_reporting_entity_name_set (EVENT_HEADER *const header, const char *const entity_name) |
Set the Reporting Entity Name property of the event header. More... | |
void | evel_reporting_entity_id_set (EVENT_HEADER *const header, const char *const entity_id) |
Set the Reporting Entity Id property of the event header. More... | |
EVENT_FAULT * | evel_new_fault (const char *const condition, const char *const specific_problem, EVEL_EVENT_PRIORITIES priority, EVEL_SEVERITIES severity) |
Create a new fault event. More... | |
void | evel_free_fault (EVENT_FAULT *event) |
Free a Fault. More... | |
void | evel_fault_interface_set (EVENT_FAULT *fault, const char *const interface) |
Set the Alarm Interface A property of the Fault. More... | |
void | evel_fault_addl_info_add (EVENT_FAULT *fault, char *name, char *value) |
Add an additional value name/value pair to the Fault. More... | |
void | evel_fault_type_set (EVENT_FAULT *fault, const char *const type) |
Set the Event Type property of the Fault. More... | |
EVENT_MEASUREMENT * | evel_new_measurement (double measurement_interval) |
Create a new Measurement event. More... | |
void | evel_free_measurement (EVENT_MEASUREMENT *event) |
Free a Measurement. 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 Measurement. 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_BUCKET * | evel_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_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. 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... | |
EVENT_REPORT * | evel_new_report (double measurement_interval) |
Create a new Report event. More... | |
void | evel_free_report (EVENT_REPORT *event) |
Free a Report. More... | |
void | evel_report_type_set (EVENT_REPORT *report, const char *const type) |
Set the Event Type property of the Report. More... | |
void | evel_report_feature_use_add (EVENT_REPORT *report, char *feature, int utilization) |
Add a Feature usage value name/value pair to the Report. More... | |
void | evel_report_custom_measurement_add (EVENT_REPORT *report, const char *const group, const char *const name, const char *const value) |
Add a Additional Measurement value name/value pair to the Report. More... | |
EVENT_MOBILE_FLOW * | evel_new_mobile_flow (const char *const flow_direction, MOBILE_GTP_PER_FLOW_METRICS *gtp_per_flow_metrics, const char *const ip_protocol_type, const char *const ip_version, const char *const other_endpoint_ip_address, int other_endpoint_port, const char *const reporting_endpoint_ip_addr, int reporting_endpoint_port) |
Create a new Mobile Flow event. More... | |
void | evel_free_mobile_flow (EVENT_MOBILE_FLOW *event) |
Free a Mobile Flow. More... | |
void | evel_mobile_flow_type_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const type) |
Set the Event Type property of the Mobile Flow. More... | |
void | evel_mobile_flow_app_type_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const type) |
Set the Application Type property of the Mobile Flow. More... | |
void | evel_mobile_flow_app_prot_type_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const type) |
Set the Application Protocol Type property of the Mobile Flow. More... | |
void | evel_mobile_flow_app_prot_ver_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const version) |
Set the Application Protocol Version property of the Mobile Flow. More... | |
void | evel_mobile_flow_cid_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const cid) |
Set the CID property of the Mobile Flow. More... | |
void | evel_mobile_flow_con_type_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const type) |
Set the Connection Type property of the Mobile Flow. More... | |
void | evel_mobile_flow_ecgi_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const ecgi) |
Set the ECGI property of the Mobile Flow. More... | |
void | evel_mobile_flow_gtp_prot_type_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const type) |
Set the GTP Protocol Type property of the Mobile Flow. More... | |
void | evel_mobile_flow_gtp_prot_ver_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const version) |
Set the GTP Protocol Version property of the Mobile Flow. More... | |
void | evel_mobile_flow_http_header_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const header) |
Set the HTTP Header property of the Mobile Flow. More... | |
void | evel_mobile_flow_imei_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const imei) |
Set the IMEI property of the Mobile Flow. More... | |
void | evel_mobile_flow_imsi_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const imsi) |
Set the IMSI property of the Mobile Flow. More... | |
void | evel_mobile_flow_lac_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const lac) |
Set the LAC property of the Mobile Flow. More... | |
void | evel_mobile_flow_mcc_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const mcc) |
Set the MCC property of the Mobile Flow. More... | |
void | evel_mobile_flow_mnc_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const mnc) |
Set the MNC property of the Mobile Flow. More... | |
void | evel_mobile_flow_msisdn_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const msisdn) |
Set the MSISDN property of the Mobile Flow. More... | |
void | evel_mobile_flow_other_func_role_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const role) |
Set the Other Functional Role property of the Mobile Flow. More... | |
void | evel_mobile_flow_rac_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const rac) |
Set the RAC property of the Mobile Flow. More... | |
void | evel_mobile_flow_radio_acc_tech_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const tech) |
Set the Radio Access Technology property of the Mobile Flow. More... | |
void | evel_mobile_flow_sac_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const sac) |
Set the SAC property of the Mobile Flow. More... | |
void | evel_mobile_flow_samp_alg_set (EVENT_MOBILE_FLOW *mobile_flow, int algorithm) |
Set the Sampling Algorithm property of the Mobile Flow. More... | |
void | evel_mobile_flow_tac_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const tac) |
Set the TAC property of the Mobile Flow. More... | |
void | evel_mobile_flow_tunnel_id_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const tunnel_id) |
Set the Tunnel ID property of the Mobile Flow. More... | |
void | evel_mobile_flow_vlan_id_set (EVENT_MOBILE_FLOW *mobile_flow, const char *const vlan_id) |
Set the VLAN ID property of the Mobile Flow. More... | |
MOBILE_GTP_PER_FLOW_METRICS * | evel_new_mobile_gtp_flow_metrics (double avg_bit_error_rate, double avg_packet_delay_variation, int avg_packet_latency, int avg_receive_throughput, int avg_transmit_throughput, int flow_activation_epoch, int flow_activation_microsec, int flow_deactivation_epoch, int flow_deactivation_microsec, time_t flow_deactivation_time, const char *const flow_status, int max_packet_delay_variation, int num_activation_failures, int num_bit_errors, int num_bytes_received, int num_bytes_transmitted, int num_dropped_packets, int num_l7_bytes_received, int num_l7_bytes_transmitted, int num_lost_packets, int num_out_of_order_packets, int num_packet_errors, int num_packets_received_excl_retrans, int num_packets_received_incl_retrans, int num_packets_transmitted_incl_retrans, int num_retries, int num_timeouts, int num_tunneled_l7_bytes_received, int round_trip_time, int time_to_first_byte) |
Create a new Mobile GTP Per Flow Metrics. More... | |
void | evel_free_mobile_gtp_flow_metrics (MOBILE_GTP_PER_FLOW_METRICS *metrics) |
Free a Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_dur_con_fail_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int duration) |
Set the Duration of Connection Failed Status property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_dur_tun_fail_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int duration) |
Set the Duration of Tunnel Failed Status property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_act_by_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, const char *const act_by) |
Set the Activated By property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_act_time_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, time_t act_time) |
Set the Activation Time property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_deact_by_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, const char *const deact_by) |
Set the Deactivated By property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_con_status_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, const char *const status) |
Set the GTP Connection Status property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_tun_status_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, const char *const status) |
Set the GTP Tunnel Status property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_iptos_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int index, int count) |
Set an IP Type-of-Service count property of the Mobile GTP Per Flow metrics. More... | |
void | evel_mobile_gtp_metrics_large_pkt_rtt_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int rtt) |
Set the Large Packet Round-Trip Time property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_large_pkt_thresh_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, double threshold) |
Set the Large Packet Threshold property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_max_rcv_bit_rate_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int rate) |
Set the Max Receive Bit Rate property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_max_trx_bit_rate_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int rate) |
Set the Max Transmit Bit Rate property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_num_echo_fail_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int num) |
Set the Number of GTP Echo Failures property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_num_tun_fail_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int num) |
Set the Number of GTP Tunnel Errors property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_num_http_errors_set (MOBILE_GTP_PER_FLOW_METRICS *metrics, int num) |
Set the Number of HTTP Errors property of the Mobile GTP Per Flow Metrics. More... | |
void | evel_mobile_gtp_metrics_tcp_flag_count_add (MOBILE_GTP_PER_FLOW_METRICS *metrics, const EVEL_TCP_FLAGS tcp_flag, const int count) |
Add a TCP flag count to the metrics. More... | |
void | evel_mobile_gtp_metrics_qci_cos_count_add (MOBILE_GTP_PER_FLOW_METRICS *metrics, const EVEL_QCI_COS_TYPES qci_cos, const int count) |
Add a QCI COS count to the metrics. More... | |
EVENT_SERVICE * | evel_new_service (const char *const vendor_id, const char *const event_id) |
Create a new Service event. More... | |
void | evel_free_service (EVENT_SERVICE *const event) |
Free a Service Events event. More... | |
void | evel_service_type_set (EVENT_SERVICE *const event, const char *const type) |
Set the Event Type property of the Service event. More... | |
void | evel_service_product_id_set (EVENT_SERVICE *const event, const char *const product_id) |
Set the Product Id property of the Service event. More... | |
void | evel_service_subsystem_id_set (EVENT_SERVICE *const event, const char *const subsystem_id) |
Set the Subsystem Id property of the Service event. More... | |
void | evel_service_friendly_name_set (EVENT_SERVICE *const event, const char *const friendly_name) |
Set the Friendly Name property of the Service event. More... | |
void | evel_service_correlator_set (EVENT_SERVICE *const event, const char *const correlator) |
Set the correlator property of the Service event. More... | |
void | evel_service_codec_set (EVENT_SERVICE *const event, const char *const codec) |
Set the Codec property of the Service event. More... | |
void | evel_service_callee_codec_set (EVENT_SERVICE *const event, const char *const codec) |
Set the Callee Side Codec property of the Service event. More... | |
void | evel_service_caller_codec_set (EVENT_SERVICE *const event, const char *const codec) |
Set the Caller Side Codec property of the Service event. More... | |
void | evel_service_rtcp_data_set (EVENT_SERVICE *const event, const char *const rtcp_data) |
Set the RTCP Data property of the Service event. More... | |
void | evel_service_adjacency_name_set (EVENT_SERVICE *const event, const char *const adjacency_name) |
Set the Adjacency Name property of the Service event. More... | |
void | evel_service_endpoint_desc_set (EVENT_SERVICE *const event, const EVEL_SERVICE_ENDPOINT_DESC endpoint_desc) |
Set the Endpoint Descriptor property of the Service event. More... | |
void | evel_service_endpoint_jitter_set (EVENT_SERVICE *const event, const int jitter) |
Set the Endpoint Jitter property of the Service event. More... | |
void | evel_service_endpoint_rtp_oct_disc_set (EVENT_SERVICE *const event, const int rtp_oct_disc) |
Set the Endpoint Rtp Octets Discarded property of the Service event. More... | |
void | evel_service_endpoint_rtp_oct_recv_set (EVENT_SERVICE *const event, const int rtp_oct_recv) |
Set the Endpoint Rtp Octets Received property of the Service event. More... | |
void | evel_service_endpoint_rtp_oct_sent_set (EVENT_SERVICE *const event, const int rtp_oct_sent) |
Set the Endpoint Rtp Octets Sent property of the Service event. More... | |
void | evel_service_endpoint_rtp_pkt_disc_set (EVENT_SERVICE *const event, const int rtp_pkt_disc) |
Set the Endpoint Rtp Packets Discarded property of the Service event. More... | |
void | evel_service_endpoint_rtp_pkt_recv_set (EVENT_SERVICE *const event, const int rtp_pkt_recv) |
Set the Endpoint Rtp Packets Received property of the Service event. More... | |
void | evel_service_endpoint_rtp_pkt_sent_set (EVENT_SERVICE *const event, const int rtp_pkt_sent) |
Set the Endpoint Rtp Packets Sent property of the Service event. More... | |
void | evel_service_local_jitter_set (EVENT_SERVICE *const event, const int jitter) |
Set the Local Jitter property of the Service event. More... | |
void | evel_service_local_rtp_oct_disc_set (EVENT_SERVICE *const event, const int rtp_oct_disc) |
Set the Local Rtp Octets Discarded property of the Service event. More... | |
void | evel_service_local_rtp_oct_recv_set (EVENT_SERVICE *const event, const int rtp_oct_recv) |
Set the Local Rtp Octets Received property of the Service event. More... | |
void | evel_service_local_rtp_oct_sent_set (EVENT_SERVICE *const event, const int rtp_oct_sent) |
Set the Local Rtp Octets Sent property of the Service event. More... | |
void | evel_service_local_rtp_pkt_disc_set (EVENT_SERVICE *const event, const int rtp_pkt_disc) |
Set the Local Rtp Packets Discarded property of the Service event. More... | |
void | evel_service_local_rtp_pkt_recv_set (EVENT_SERVICE *const event, const int rtp_pkt_recv) |
Set the Local Rtp Packets Received property of the Service event. More... | |
void | evel_service_local_rtp_pkt_sent_set (EVENT_SERVICE *const event, const int rtp_pkt_sent) |
Set the Local Rtp Packets Sent property of the Service event. More... | |
void | evel_service_mos_cqe_set (EVENT_SERVICE *const event, const double mos_cqe) |
Set the Mos Cqe property of the Service event. More... | |
void | evel_service_packets_lost_set (EVENT_SERVICE *const event, const int packets_lost) |
Set the Packets Lost property of the Service event. More... | |
void | evel_service_packet_loss_percent_set (EVENT_SERVICE *const event, const double packet_loss_percent) |
Set the packet Loss Percent property of the Service event. More... | |
void | evel_service_r_factor_set (EVENT_SERVICE *const event, const int r_factor) |
Set the R Factor property of the Service event. More... | |
void | evel_service_round_trip_delay_set (EVENT_SERVICE *const event, const int round_trip_delay) |
Set the Round Trip Delay property of the Service event. More... | |
void | evel_service_phone_number_set (EVENT_SERVICE *const event, const char *const phone_number) |
Set the Phone Number property of the Service event. More... | |
void | evel_service_addl_field_add (EVENT_SERVICE *const event, const char *const name, const char *const value) |
Add a name/value pair to the Service, under the additionalFields array. More... | |
EVENT_SIGNALING * | evel_new_signaling (const char *const vendor_id, const char *const event_id) |
Create a new Signaling event. More... | |
void | evel_free_signaling (EVENT_SIGNALING *const event) |
Free a Signaling event. More... | |
void | evel_signaling_type_set (EVENT_SIGNALING *const event, const char *const type) |
Set the Event Type property of the Signaling event. More... | |
void | evel_signaling_product_id_set (EVENT_SIGNALING *const event, const char *const product_id) |
Set the Product Id property of the Signaling event. More... | |
void | evel_signaling_subsystem_id_set (EVENT_SIGNALING *const event, const char *const subsystem_id) |
Set the Subsystem Id property of the Signaling event. More... | |
void | evel_signaling_friendly_name_set (EVENT_SIGNALING *const event, const char *const friendly_name) |
Set the Friendly Name property of the Signaling event. More... | |
void | evel_signaling_correlator_set (EVENT_SIGNALING *const event, const char *const correlator) |
Set the Correlator property of the Signaling event. More... | |
void | evel_signaling_local_ip_address_set (EVENT_SIGNALING *const event, const char *const local_ip_address) |
Set the Local Ip Address property of the Signaling event. More... | |
void | evel_signaling_local_port_set (EVENT_SIGNALING *const event, const char *const local_port) |
Set the Local Port property of the Signaling event. More... | |
void | evel_signaling_remote_ip_address_set (EVENT_SIGNALING *const event, const char *const remote_ip_address) |
Set the Remote Ip Address property of the Signaling event. More... | |
void | evel_signaling_remote_port_set (EVENT_SIGNALING *const event, const char *const remote_port) |
Set the Remote Port property of the Signaling event. More... | |
void | evel_signaling_compressed_sip_set (EVENT_SIGNALING *const event, const char *const compressed_sip) |
Set the Compressed SIP property of the Signaling event. More... | |
void | evel_signaling_summary_sip_set (EVENT_SIGNALING *const event, const char *const summary_sip) |
Set the Summary SIP property of the Signaling event. More... | |
EVENT_STATE_CHANGE * | evel_new_state_change (const EVEL_ENTITY_STATE new_state, const EVEL_ENTITY_STATE old_state, const char *const interface) |
Create a new State Change event. More... | |
void | evel_free_state_change (EVENT_STATE_CHANGE *const state_change) |
Free a State Change. More... | |
void | evel_state_change_type_set (EVENT_STATE_CHANGE *const state_change, const char *const type) |
Set the Event Type property of the State Change. More... | |
void | evel_state_change_addl_field_add (EVENT_STATE_CHANGE *const state_change, const char *const name, const char *const value) |
Add an additional field name/value pair to the State Change. More... | |
EVENT_SYSLOG * | evel_new_syslog (EVEL_SOURCE_TYPES event_source_type, const char *const syslog_msg, const char *const syslog_tag) |
Create a new syslog event. More... | |
void | evel_syslog_type_set (EVENT_SYSLOG *syslog, const char *const type) |
Set the Event Type property of the Syslog. More... | |
void | evel_free_syslog (EVENT_SYSLOG *event) |
Free a Syslog. More... | |
void | evel_syslog_addl_field_add (EVENT_SYSLOG *syslog, char *name, char *value) |
Add an additional field name/value pair to the Syslog. More... | |
void | evel_syslog_event_source_host_set (EVENT_SYSLOG *syslog, const char *const host) |
Set the Event Source Host property of the Syslog. More... | |
void | evel_syslog_facility_set (EVENT_SYSLOG *syslog, EVEL_SYSLOG_FACILITIES facility) |
Set the Syslog Facility property of the Syslog. More... | |
void | evel_syslog_proc_set (EVENT_SYSLOG *syslog, const char *const proc) |
Set the Process property of the Syslog. More... | |
void | evel_syslog_proc_id_set (EVENT_SYSLOG *syslog, int proc_id) |
Set the Process ID property of the Syslog. More... | |
void | evel_syslog_version_set (EVENT_SYSLOG *syslog, int version) |
Set the Version property of the Syslog. More... | |
void | evel_syslog_s_data_set (EVENT_SYSLOG *syslog, const char *const s_data) |
Set the Structured Data property of the Syslog. More... | |
EVENT_OTHER * | evel_new_other (void) |
Create a new other event. More... | |
void | evel_free_other (EVENT_OTHER *event) |
Free an Other. More... | |
void | evel_other_type_set (EVENT_OTHER *other, const char *const type) |
Set the Event Type property of the Other. More... | |
void | evel_other_field_add (EVENT_OTHER *other, char *name, char *value) |
Add a value name/value pair to the Other. More... | |
int | evel_get_measurement_interval () |
Return the current measurement interval provided by the Event Listener. More... | |
void | log_initialize (EVEL_LOG_LEVELS level, const char *ident) |
Initialize logging. More... | |
void | log_debug (EVEL_LOG_LEVELS level, char *format,...) |
Log debug information. More... | |
void | log_error_state (char *format,...) |
Variables | |
EVEL_LOG_LEVELS | debug_level |
int | debug_indent |
FILE * | fout |
Header for EVEL library.
This file implements the EVEL library which is intended to provide a simple wrapper around the complexity of AT&T's Vendor Event Listener API so that VNFs can use it without worrying about details of the API transport.
Zero return value is success (EVEL_SUCCESS), non-zero is failure and will be one of EVEL_ERR_CODES.
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:
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.h.
#define EVEL_DEBUG | ( | FMT, | |
... | |||
) | log_debug(EVEL_LOG_DEBUG, (FMT), ##__VA_ARGS__) |
#define EVEL_DEBUG_ON | ( | ) | ((debug_level) >= EVEL_LOG_DEBUG) |
#define EVEL_ENTER | ( | ) |
#define EVEL_ERROR | ( | FMT, | |
... | |||
) |
#define EVEL_EXIT | ( | ) |
#define EVEL_INFO | ( | FMT, | |
... | |||
) | log_debug(EVEL_LOG_INFO, (FMT), ##__VA_ARGS__) |
#define EVEL_SPAMMY | ( | FMT, | |
... | |||
) | log_debug(EVEL_LOG_SPAMMY, (FMT), ##__VA_ARGS__) |
#define INDENT_SEPARATORS "| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | " |
typedef struct custom_measurement CUSTOM_MEASUREMENT |
Custom Defined Measurement.
JSON equivalent field: measurements
typedef struct evel_event_instance_id EVEL_EVENT_INSTANCE_ID |
Event Instance Identifier JSON equivalent field: eventInstanceIdentifier.
typedef struct evel_option_double EVEL_OPTION_DOUBLE |
Optional parameter holder for double.
typedef struct evel_option_int EVEL_OPTION_INT |
Optional parameter holder for int.
typedef struct evel_option_string EVEL_OPTION_STRING |
Optional parameter holder for string.
typedef struct evel_option_time EVEL_OPTION_TIME |
Optional parameter holder for time_t.
typedef struct evel_option_ull EVEL_OPTION_ULL |
Optional parameter holder for unsigned long long.
typedef struct event_fault EVENT_FAULT |
Fault.
JSON equivalent field: faultFields
typedef struct event_header EVENT_HEADER |
Event header.
JSON equivalent field: commonEventHeader
typedef struct event_measurement EVENT_MEASUREMENT |
Measurement.
JSON equivalent field: measurementsForVfScalingFields
typedef struct event_mobile_flow EVENT_MOBILE_FLOW |
Mobile Flow.
JSON equivalent field: mobileFlow
typedef struct event_other EVENT_OTHER |
Other.
JSON equivalent field: otherFields
typedef struct event_report EVENT_REPORT |
Report.
JSON equivalent field: measurementsForVfReportingFields
typedef struct event_service EVENT_SERVICE |
Service Events.
JSON equivalent field: serviceEventsFields
typedef struct event_signaling EVENT_SIGNALING |
Signaling.
JSON equivalent field: signalingFields
typedef struct event_state_change EVENT_STATE_CHANGE |
State Change.
JSON equivalent field: stateChangeFields
typedef struct event_syslog EVENT_SYSLOG |
Syslog.
JSON equivalent field: syslogFields
typedef struct fault_additional_info FAULT_ADDL_INFO |
Fault Additional Info.
JSON equivalent field: alarmAdditionalInformation
typedef struct measurement_codec_use MEASUREMENT_CODEC_USE |
Codec Usage.
JSON equivalent field: codecsInUse
typedef struct measurement_cpu_use MEASUREMENT_CPU_USE |
CPU Usage.
JSON equivalent field: cpuUsage
typedef struct measurement_errors MEASUREMENT_ERRORS |
Errors.
JSON equivalent field: errors
typedef struct measurement_feature_use MEASUREMENT_FEATURE_USE |
Feature Usage.
JSON equivalent field: featuresInUse
typedef struct measurement_fsys_use MEASUREMENT_FSYS_USE |
Filesystem Usage.
JSON equivalent field: filesystemUsage
typedef struct measurement_group MEASUREMENT_GROUP |
Measurement Group.
JSON equivalent field: additionalMeasurements
typedef struct measurement_latency_bucket MEASUREMENT_LATENCY_BUCKET |
Latency Bucket.
JSON equivalent field: latencyBucketMeasure
typedef struct measurement_vnic_use MEASUREMENT_VNIC_USE |
Virtual NIC usage.
JSON equivalent field: vNicUsage
typedef struct mobile_gtp_per_flow_metrics MOBILE_GTP_PER_FLOW_METRICS |
Mobile GTP Per Flow Metrics.
JSON equivalent field: gtpPerFlowMetrics
typedef struct other_field OTHER_FIELD |
Other Field.
JSON equivalent field: otherFields
typedef struct state_change_additional_field STATE_CHANGE_ADDL_FIELD |
State Change Additional Field.
JSON equivalent field: additionalFields
typedef struct syslog_additional_field SYSLOG_ADDL_FIELD |
Syslog Additional Field.
JSON equivalent field: additionalFields
enum EVEL_ALERT_ACTIONS |
enum EVEL_ALERT_TYPES |
enum EVEL_BOOLEAN |
enum EVEL_ENTITY_STATE |
enum EVEL_ERR_CODES |
Error codes.
Error codes for EVEL low level interface
enum EVEL_EVENT_DOMAINS |
Event domains for the various events we support.
JSON equivalent field: domain
enum EVEL_LOG_LEVELS |
enum EVEL_QCI_COS_TYPES |
Mobile QCI Classes of Service.
JSON equivalent fields: mobileQciCosCountList, mobileQciCosList
enum EVEL_SEVERITIES |
enum EVEL_SOURCE_TYPES |
Fault source types.
JSON equivalent field: eventSourceType
Syslog facilities.
JSON equivalent field: syslogFacility
enum EVEL_TCP_FLAGS |
enum EVEL_VF_STATUSES |
const char* evel_error_string | ( | void | ) |
Descriptive text for library errors.
Return a text error string that relates to the last failure. May be "<null>" but will never be NULL.
Definition at line 87 of file evel_logging.c.
void evel_fault_addl_info_add | ( | EVENT_FAULT * | fault, |
char * | name, | ||
char * | value | ||
) |
Add an additional value name/value pair to the Fault.
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.
fault | Pointer to the fault. |
name | ASCIIZ string with the attribute's name. |
value | ASCIIZ string with the attribute's value. |
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.
fault | Pointer to the fault. |
name | ASCIIZ string with the attribute's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the attribute's value. The caller does not need to preserve the value once the function returns. |
Definition at line 125 of file evel_fault.c.
void evel_fault_interface_set | ( | EVENT_FAULT * | fault, |
const char *const | interface | ||
) |
Set the Alarm Interface A property of the Fault.
fault | Pointer to the fault. |
interface | The Alarm Interface A to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 164 of file evel_fault.c.
void evel_fault_type_set | ( | EVENT_FAULT * | fault, |
const char *const | type | ||
) |
Set the Event Type property of the Fault.
fault | Pointer to the fault. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 194 of file evel_fault.c.
void evel_free_event | ( | void * | event | ) |
void evel_free_fault | ( | EVENT_FAULT * | event | ) |
Free a Fault.
Free off the Fault supplied. Will free all the contained allocated memory.
Definition at line 304 of file evel_fault.c.
void evel_free_header | ( | EVENT_HEADER *const | event | ) |
Free an event header.
Free off the event header supplied. Will free all the contained allocated memory.
Definition at line 349 of file evel_event.c.
void evel_free_measurement | ( | EVENT_MEASUREMENT * | event | ) |
Free a Measurement.
Free off the Measurement supplied. Will free all the contained allocated memory.
Definition at line 1607 of file evel_scaling_measurement.c.
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.
Definition at line 955 of file evel_scaling_measurement.c.
void evel_free_mobile_flow | ( | EVENT_MOBILE_FLOW * | event | ) |
Free a Mobile Flow.
Free off the Mobile Flow supplied. Will free all the contained allocated memory.
Definition at line 980 of file evel_mobile_flow.c.
void evel_free_mobile_gtp_flow_metrics | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics | ) |
Free a Mobile GTP Per Flow Metrics.
Free off the Mobile GTP Per Flow Metrics supplied. Will free all the contained allocated memory.
Definition at line 2016 of file evel_mobile_flow.c.
void evel_free_other | ( | EVENT_OTHER * | event | ) |
Free an Other.
Free off the Other supplied. Will free all the contained allocated memory.
Definition at line 201 of file evel_other.c.
void evel_free_report | ( | EVENT_REPORT * | event | ) |
Free a Report.
Free off the Report supplied. Will free all the contained allocated memory.
Definition at line 400 of file evel_reporting_measurement.c.
void evel_free_service | ( | EVENT_SERVICE *const | event | ) |
Free a Service Events event.
Free off the event supplied. Will free all the contained allocated memory.
Free a Service Events event.
Free off the event supplied. Will free all the contained allocated memory.
Definition at line 1277 of file evel_service.c.
void evel_free_signaling | ( | EVENT_SIGNALING *const | event | ) |
Free a Signaling event.
Free off the event supplied. Will free all the contained allocated memory.
Definition at line 487 of file evel_signaling.c.
void evel_free_state_change | ( | EVENT_STATE_CHANGE *const | state_change | ) |
Free a State Change.
Free off the State Change supplied. Will free all the contained allocated memory.
Definition at line 111 of file evel_state_change.c.
void evel_free_syslog | ( | EVENT_SYSLOG * | event | ) |
Free a Syslog.
Free off the Syslog supplied. Will free all the contained allocated memory.
Definition at line 464 of file evel_syslog.c.
int evel_get_measurement_interval | ( | ) |
Return the current measurement interval provided by the Event Listener.
EVEL_MEASUREMENT_INTERVAL_UKNOWN | (0) - interval has not been specified |
Definition at line 206 of file evel_throttle.c.
void evel_header_type_set | ( | EVENT_HEADER *const | header, |
const char *const | type | ||
) |
Set the Event Type property of the event header.
header | Pointer to the EVENT_HEADER. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
header | Pointer to the EVENT_HEADER. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 164 of file evel_event.c.
void evel_init_header | ( | EVENT_HEADER *const | header | ) |
Initialize a newly created event header.
header | Pointer to the header being initialized. |
Definition at line 112 of file evel_event.c.
EVEL_ERR_CODES evel_initialize | ( | const char *const | fqdn, |
int | port, | ||
const char *const | path, | ||
const char *const | topic, | ||
int | secure, | ||
const char *const | username, | ||
const char *const | password, | ||
EVEL_SOURCE_TYPES | source_type, | ||
const char *const | role, | ||
int | verbosity | ||
) |
Library initialization.
Initialize the EVEL library.
fqdn | The API's FQDN or IP address. |
port | The API's port. |
path | The optional path (may be NULL). |
topic | The optional topic part of the URL (may be NULL). |
secure | Whether to use HTTPS (0=HTTP, 1=HTTPS). |
username | Username for Basic Authentication of requests. |
password | Password for Basic Authentication of requests. |
source_type | The kind of node we represent. |
role | The role this node undertakes. |
verbosity | 0 for normal operation, positive values for chattier logs. |
EVEL_SUCCESS | On success |
EVEL_ERR_CODES | On failure. |
Initialize the EVEL library.
fqdn | The API's FQDN or IP address. |
port | The API's port. |
path | The optional path (may be NULL). |
topic | The optional topic part of the URL (may be NULL). |
secure | Whether to use HTTPS (0=HTTP, 1=HTTPS) |
username | Username for Basic Authentication of requests. |
password | Password for Basic Authentication of requests. |
source_type | The kind of node we represent. |
role | The role this node undertakes. |
verbosity | 0 for normal operation, positive values for chattier logs. |
EVEL_SUCCESS | On success |
EVEL_ERR_CODES | On failure. |
int evel_json_encode_event | ( | char * | json, |
int | max_size, | ||
EVENT_HEADER * | event | ||
) |
Encode the event as a JSON event object according to AT&T's schema.
json | Pointer to where to store the JSON encoded data. |
max_size | Size of storage available in json_body. |
event | Pointer to the EVENT_HEADER to encode. |
Definition at line 381 of file evel_event.c.
void evel_last_epoch_set | ( | EVENT_HEADER *const | header, |
const unsigned long long | last_epoch_microsec | ||
) |
Set the Last Epoch property of the event header.
header | Pointer to the EVENT_HEADER. |
last_epoch_microsec | The last epoch to set, in microseconds. |
Definition at line 212 of file evel_event.c.
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.
measurement | Pointer to the Measurement event. |
bucket | Pointer to the Measurement Latency Bucket to add. |
Definition at line 834 of file evel_scaling_measurement.c.
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.
bucket | Pointer to the Measurement Latency Bucket. |
high_end | High end of the bucket's range. |
Definition at line 789 of file evel_scaling_measurement.c.
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.
bucket | Pointer to the Measurement Latency Bucket. |
low_end | Low end of the bucket's range. |
Definition at line 814 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
vnic_use | Pointer to the vNIC Use to add. |
Definition at line 1148 of file evel_scaling_measurement.c.
void evel_measurement_agg_cpu_use_set | ( | EVENT_MEASUREMENT * | measurement, |
double | cpu_use | ||
) |
} Set the Aggregate CPU Use property of the Measurement.
measurement | Pointer to the measurement. |
cpu_use | The CPU use to set. |
} Set the Aggregate CPU Use property of the Measurement.
measurement | Pointer to the measurement. |
cpu_use | The CPU use to set. |
Definition at line 656 of file evel_scaling_measurement.c.
void evel_measurement_cfg_ents_set | ( | EVENT_MEASUREMENT * | measurement, |
int | configured_entities | ||
) |
Set the Configured Entities property of the Measurement.
measurement | Pointer to the Measurement. |
configured_entities | The Configured Entities to be set. |
Definition at line 178 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
codec | ASCIIZ string with the codec's name. |
utilization | Utilization of the feature. |
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.
measurement | Pointer to the measurement. |
codec | ASCIIZ string with the codec's name. |
utilization | Number of codecs in use. |
Definition at line 615 of file evel_scaling_measurement.c.
void evel_measurement_conc_sess_set | ( | EVENT_MEASUREMENT * | measurement, |
int | concurrent_sessions | ||
) |
Set the Concurrent Sessions property of the Measurement.
measurement | Pointer to the Measurement. |
concurrent_sessions | The Concurrent Sessions to be set. |
Definition at line 150 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
id | ASCIIZ string with the CPU's identifier. |
usage | CPU utilization. |
Definition at line 385 of file evel_scaling_measurement.c.
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 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.
measurement | Pointer to the Measurement. |
group | ASCIIZ string with the measurement group's name. |
name | ASCIIZ string containing the measurement's name. |
name | ASCIIZ string containing the measurement's value. |
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.
measurement | Pointer to the Measaurement. |
group | ASCIIZ string with the measurement group's name. |
name | ASCIIZ string containing the measurement's name. |
value | ASCIIZ string containing the measurement's value. |
Definition at line 531 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
receive_discards | The number of receive discards. |
receive_errors | The number of receive errors. |
transmit_discards | The number of transmit discards. |
transmit_errors | The number of transmit errors. |
Definition at line 209 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
feature | ASCIIZ string with the feature's name. |
utilization | Utilization of the feature. |
Definition at line 488 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
filesystem_name | ASCIIZ string with the file-system's UUID. |
block_configured | Block storage configured. |
block_used | Block storage in use. |
block_iops | Block storage IOPS. |
ephemeral_configured | Ephemeral storage configured. |
ephemeral_used | Ephemeral storage in use. |
ephemeral_iops | Ephemeral storage IOPS. |
Definition at line 432 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
low_end | Low end of the bucket's range. |
high_end | High end of the bucket's range. |
count | Count of events in this bucket. |
Definition at line 860 of file evel_scaling_measurement.c.
void evel_measurement_mean_req_lat_set | ( | EVENT_MEASUREMENT * | measurement, |
double | mean_request_latency | ||
) |
Set the Mean Request Latency property of the Measurement.
measurement | Pointer to the Measurement. |
mean_request_latency | The Mean Request Latency to be set. |
Definition at line 272 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
media_ports_in_use | The media port usage to set. |
Definition at line 684 of file evel_scaling_measurement.c.
void evel_measurement_mem_cfg_set | ( | EVENT_MEASUREMENT * | measurement, |
double | memory_configured | ||
) |
Set the Memory Configured property of the Measurement.
measurement | Pointer to the Measurement. |
memory_configured | The Memory Configured to be set. |
Definition at line 300 of file evel_scaling_measurement.c.
void evel_measurement_mem_used_set | ( | EVENT_MEASUREMENT * | measurement, |
double | memory_used | ||
) |
Set the Memory Used property of the Measurement.
measurement | Pointer to the Measurement. |
memory_used | The Memory Used to be set. |
Definition at line 328 of file evel_scaling_measurement.c.
void evel_measurement_request_rate_set | ( | EVENT_MEASUREMENT * | measurement, |
int | request_rate | ||
) |
Set the Request Rate property of the Measurement.
measurement | Pointer to the Measurement. |
request_rate | The Request Rate to be set. |
Definition at line 356 of file evel_scaling_measurement.c.
void evel_measurement_type_set | ( | EVENT_MEASUREMENT * | measurement, |
const char *const | type | ||
) |
Set the Event Type property of the Measurement.
measurement | Pointer to the Measurement. |
type | The 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.
void evel_measurement_vnfc_scaling_metric_set | ( | EVENT_MEASUREMENT * | measurement, |
double | scaling_metric | ||
) |
Set the VNFC Scaling Metric property of the Measurement.
measurement | Pointer to the measurement. |
scaling_metric | The scaling metric to set. |
Definition at line 712 of file evel_scaling_measurement.c.
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.
measurement | Pointer to the measurement. |
vnic_id | ASCIIZ string with the vNIC's ID. |
packets_in | Total packets received. |
packets_out | Total packets transmitted. |
broadcast_packets_in | Broadcast packets received. |
broadcast_packets_out | Broadcast packets transmitted. |
bytes_in | Total bytes received. |
bytes_out | Total bytes transmitted. |
multicast_packets_in | Multicast packets received. |
multicast_packets_out | Multicast packets transmitted. |
unicast_packets_in | Unicast packets received. |
unicast_packets_out | Unicast packets transmitted. |
Definition at line 1186 of file evel_scaling_measurement.c.
void evel_mobile_flow_app_prot_type_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | type | ||
) |
Set the Application Protocol Type property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
type | The Application Protocol Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 259 of file evel_mobile_flow.c.
void evel_mobile_flow_app_prot_ver_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | version | ||
) |
Set the Application Protocol Version property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
version | The Application Protocol Version to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 289 of file evel_mobile_flow.c.
void evel_mobile_flow_app_type_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | type | ||
) |
Set the Application Type property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
type | The Application Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 229 of file evel_mobile_flow.c.
void evel_mobile_flow_cid_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | cid | ||
) |
Set the CID property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
cid | The CID to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 318 of file evel_mobile_flow.c.
void evel_mobile_flow_con_type_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | type | ||
) |
Set the Connection Type property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
type | The Connection Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 348 of file evel_mobile_flow.c.
void evel_mobile_flow_ecgi_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | ecgi | ||
) |
Set the ECGI property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
ecgi | The ECGI to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 377 of file evel_mobile_flow.c.
void evel_mobile_flow_gtp_prot_type_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | type | ||
) |
Set the GTP Protocol Type property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
type | The GTP Protocol Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 407 of file evel_mobile_flow.c.
void evel_mobile_flow_gtp_prot_ver_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | version | ||
) |
Set the GTP Protocol Version property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
version | The GTP Protocol Version to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 437 of file evel_mobile_flow.c.
void evel_mobile_flow_http_header_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | header | ||
) |
Set the HTTP Header property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
header | The HTTP header to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 466 of file evel_mobile_flow.c.
void evel_mobile_flow_imei_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | imei | ||
) |
Set the IMEI property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
imei | The IMEI to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 495 of file evel_mobile_flow.c.
void evel_mobile_flow_imsi_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | imsi | ||
) |
Set the IMSI property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
imsi | The IMSI to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 524 of file evel_mobile_flow.c.
void evel_mobile_flow_lac_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | lac | ||
) |
Set the LAC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
lac | The LAC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 553 of file evel_mobile_flow.c.
void evel_mobile_flow_mcc_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | mcc | ||
) |
Set the MCC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
mcc | The MCC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 582 of file evel_mobile_flow.c.
void evel_mobile_flow_mnc_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | mnc | ||
) |
Set the MNC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
mnc | The MNC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 611 of file evel_mobile_flow.c.
void evel_mobile_flow_msisdn_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | msisdn | ||
) |
Set the MSISDN property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
msisdn | The MSISDN to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 640 of file evel_mobile_flow.c.
void evel_mobile_flow_other_func_role_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | role | ||
) |
Set the Other Functional Role property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
role | The Other Functional Role to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 670 of file evel_mobile_flow.c.
void evel_mobile_flow_rac_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | rac | ||
) |
Set the RAC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
rac | The RAC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 699 of file evel_mobile_flow.c.
void evel_mobile_flow_radio_acc_tech_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | tech | ||
) |
Set the Radio Access Technology property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
tech | The Radio Access Technology to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 729 of file evel_mobile_flow.c.
void evel_mobile_flow_sac_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | sac | ||
) |
Set the SAC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
sac | The SAC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 758 of file evel_mobile_flow.c.
void evel_mobile_flow_samp_alg_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
int | algorithm | ||
) |
Set the Sampling Algorithm property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
algorithm | The Sampling Algorithm to be set. |
Definition at line 786 of file evel_mobile_flow.c.
void evel_mobile_flow_tac_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | tac | ||
) |
Set the TAC property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
tac | The TAC to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 815 of file evel_mobile_flow.c.
void evel_mobile_flow_tunnel_id_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | tunnel_id | ||
) |
Set the Tunnel ID property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
tunnel_id | The Tunnel ID to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 844 of file evel_mobile_flow.c.
void evel_mobile_flow_type_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | type | ||
) |
Set the Event Type property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 202 of file evel_mobile_flow.c.
void evel_mobile_flow_vlan_id_set | ( | EVENT_MOBILE_FLOW * | mobile_flow, |
const char *const | vlan_id | ||
) |
Set the VLAN ID property of the Mobile Flow.
mobile_flow | Pointer to the Mobile Flow. |
vlan_id | The VLAN ID to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 873 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_act_by_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const char *const | act_by | ||
) |
Set the Activated By property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
act_by | The Activated By to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1304 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_act_time_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
time_t | act_time | ||
) |
Set the Activation Time property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
act_time | The Activation Time to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1333 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_con_status_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const char *const | status | ||
) |
Set the GTP Connection Status property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
status | The GTP Connection Status to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1393 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_deact_by_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const char *const | deact_by | ||
) |
Set the Deactivated By property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
deact_by | The Deactivated By to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1363 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_dur_con_fail_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | duration | ||
) |
Set the Duration of Connection Failed Status property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
duration | The Duration of Connection Failed Status to be set. |
Definition at line 1245 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_dur_tun_fail_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | duration | ||
) |
Set the Duration of Tunnel Failed Status property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
duration | The Duration of Tunnel Failed Status to be set. |
Definition at line 1274 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_iptos_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | index, | ||
int | count | ||
) |
Set an IP Type-of-Service count property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
index | The index of the IP Type-of-Service. |
count | The count. |
Definition at line 1448 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_large_pkt_rtt_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | rtt | ||
) |
Set the Large Packet Round-Trip Time property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
rtt | The Large Packet Round-Trip Time to be set. |
Definition at line 1481 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_large_pkt_thresh_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
double | threshold | ||
) |
Set the Large Packet Threshold property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
threshold | The Large Packet Threshold to be set. |
Definition at line 1509 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_max_rcv_bit_rate_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | rate | ||
) |
Set the Max Receive Bit Rate property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
rate | The Max Receive Bit Rate to be set. |
Definition at line 1537 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_max_trx_bit_rate_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | rate | ||
) |
Set the Max Transmit Bit Rate property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
rate | The Max Transmit Bit Rate to be set. |
Definition at line 1565 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_num_echo_fail_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | num | ||
) |
Set the Number of GTP Echo Failures property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
num | The Number of GTP Echo Failures to be set. |
Definition at line 1594 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_num_http_errors_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | num | ||
) |
Set the Number of HTTP Errors property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
num | The Number of HTTP Errors to be set. |
Definition at line 1651 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_num_tun_fail_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
int | num | ||
) |
Set the Number of GTP Tunnel Errors property of the Mobile GTP Per Flow Metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
num | The Number of GTP Tunnel Errors to be set. |
Definition at line 1623 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_qci_cos_count_add | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const EVEL_QCI_COS_TYPES | qci_cos, | ||
const int | count | ||
) |
Add a QCI COS count to the metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
qci_cos | The QCI COS count to be updated. |
count | The associated QCI COS count. |
Definition at line 1713 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_tcp_flag_count_add | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const EVEL_TCP_FLAGS | tcp_flag, | ||
const int | count | ||
) |
Add a TCP flag count to the metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
tcp_flag | The TCP flag count to be updated. |
count | The associated flag count. |
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
tcp_flag | The TCP flag to be updated. |
count | The associated flag count, which must be nonzero. |
Definition at line 1680 of file evel_mobile_flow.c.
void evel_mobile_gtp_metrics_tun_status_set | ( | MOBILE_GTP_PER_FLOW_METRICS * | metrics, |
const char *const | status | ||
) |
Set the GTP Tunnel Status property of the Mobile GTP Per Flow metrics.
metrics | Pointer to the Mobile GTP Per Flow Metrics. |
status | The GTP Tunnel Status to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1423 of file evel_mobile_flow.c.
EVENT_FAULT* evel_new_fault | ( | const char *const | condition, |
const char *const | specific_problem, | ||
EVEL_EVENT_PRIORITIES | priority, | ||
EVEL_SEVERITIES | severity | ||
) |
Create a new fault event.
NULL | Failed to create the event. |
condition | The condition indicated by the Fault. |
specific_problem | The specific problem triggering the fault. |
priority | The priority of the event. |
severity | The severity of the Fault. |
NULL | Failed to create the event. |
Definition at line 60 of file evel_fault.c.
EVENT_HEADER* evel_new_heartbeat | ( | void | ) |
Create a new heartbeat event.
NULL | Failed to create the event. |
Definition at line 78 of file evel_event.c.
MEASUREMENT_LATENCY_BUCKET* evel_new_meas_latency_bucket | ( | const int | count | ) |
Create a new Latency Bucket to be added to a Measurement event.
count | Count of events in this bucket. |
NULL | Failed to create the Latency Bucket. |
count | Count of events in this bucket. |
NULL | Failed to create the Latency Bucket. |
Definition at line 745 of file evel_scaling_measurement.c.
EVENT_MEASUREMENT* evel_new_measurement | ( | double | measurement_interval | ) |
Create a new Measurement event.
measurement_interval |
NULL | Failed to create the event. |
Definition at line 60 of file evel_scaling_measurement.c.
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.
vnic_id | ASCIIZ string with the vNIC's ID. |
packets_in | Total packets received. |
packets_out | Total packets transmitted. |
bytes_in | Total bytes received. |
bytes_out | Total bytes transmitted. |
NULL | Failed to create the vNIC Use. |
Definition at line 900 of file evel_scaling_measurement.c.
EVENT_MOBILE_FLOW* evel_new_mobile_flow | ( | const char *const | flow_direction, |
MOBILE_GTP_PER_FLOW_METRICS * | gtp_per_flow_metrics, | ||
const char *const | ip_protocol_type, | ||
const char *const | ip_version, | ||
const char *const | other_endpoint_ip_address, | ||
int | other_endpoint_port, | ||
const char *const | reporting_endpoint_ip_addr, | ||
int | reporting_endpoint_port | ||
) |
Create a new Mobile Flow event.
flow_direction | |
gtp_per_flow_metrics | |
ip_protocol_type | |
ip_version | |
other_endpoint_ip_address | |
other_endpoint_port | |
reporting_endpoint_ip_addr | |
reporting_endpoint_port |
NULL | Failed to create the event. |
flow_direction | Flow direction. |
gtp_per_flow_metrics | GTP per-flow metrics. |
ip_protocol_type | IP protocol type. |
ip_version | IP protocol version. |
other_endpoint_ip_address | IP address of the other endpoint. |
other_endpoint_port | IP port of the other endpoint. |
reporting_endpoint_ip_addr | IP address of the reporting endpoint. |
reporting_endpoint_port | IP port of the reporting endpoint. |
NULL | Failed to create the event. |
Definition at line 108 of file evel_mobile_flow.c.
MOBILE_GTP_PER_FLOW_METRICS* evel_new_mobile_gtp_flow_metrics | ( | double | avg_bit_error_rate, |
double | avg_packet_delay_variation, | ||
int | avg_packet_latency, | ||
int | avg_receive_throughput, | ||
int | avg_transmit_throughput, | ||
int | flow_activation_epoch, | ||
int | flow_activation_microsec, | ||
int | flow_deactivation_epoch, | ||
int | flow_deactivation_microsec, | ||
time_t | flow_deactivation_time, | ||
const char *const | flow_status, | ||
int | max_packet_delay_variation, | ||
int | num_activation_failures, | ||
int | num_bit_errors, | ||
int | num_bytes_received, | ||
int | num_bytes_transmitted, | ||
int | num_dropped_packets, | ||
int | num_l7_bytes_received, | ||
int | num_l7_bytes_transmitted, | ||
int | num_lost_packets, | ||
int | num_out_of_order_packets, | ||
int | num_packet_errors, | ||
int | num_packets_received_excl_retrans, | ||
int | num_packets_received_incl_retrans, | ||
int | num_packets_transmitted_incl_retrans, | ||
int | num_retries, | ||
int | num_timeouts, | ||
int | num_tunneled_l7_bytes_received, | ||
int | round_trip_time, | ||
int | time_to_first_byte | ||
) |
Create a new Mobile GTP Per Flow Metrics.
avg_bit_error_rate | |
avg_packet_delay_variation | |
avg_packet_latency | |
avg_receive_throughput | |
avg_transmit_throughput | |
flow_activation_epoch | |
flow_activation_microsec | |
flow_deactivation_epoch | |
flow_deactivation_microsec | |
flow_deactivation_time | |
flow_status | |
max_packet_delay_variation | |
num_activation_failures | |
num_bit_errors | |
num_bytes_received | |
num_bytes_transmitted | |
num_dropped_packets | |
num_l7_bytes_received | |
num_l7_bytes_transmitted | |
num_lost_packets | |
num_out_of_order_packets | |
num_packet_errors | |
num_packets_received_excl_retrans | |
num_packets_received_incl_retrans | |
num_packets_transmitted_incl_retrans | |
num_retries | |
num_timeouts | |
num_tunneled_l7_bytes_received | |
round_trip_time | |
time_to_first_byte |
NULL | Failed to create the event. |
avg_bit_error_rate | Average bit error rate. |
avg_packet_delay_variation | Average delay or jitter in ms. |
avg_packet_latency | Average delivery latency. |
avg_receive_throughput | Average receive throughput. |
avg_transmit_throughput | Average transmit throughput. |
flow_activation_epoch | Time the connection is activated. |
flow_activation_microsec | Microseconds for the start of the flow connection. |
flow_deactivation_epoch | Time for the end of the connection. |
flow_deactivation_microsec | Microseconds for the end of the flow connection. |
flow_deactivation_time | Transmission time of the first packet. |
flow_status | Connection status. |
max_packet_delay_variation | Maximum packet delay or jitter in ms. |
num_activation_failures | Number of failed activation requests. |
num_bit_errors | Number of errored bits. |
num_bytes_received | Number of bytes received. |
num_bytes_transmitted | Number of bytes transmitted. |
num_dropped_packets | Number of received packets dropped. |
num_l7_bytes_received | Number of tunneled Layer 7 bytes received. |
num_l7_bytes_transmitted | Number of tunneled Layer 7 bytes transmitted. |
num_lost_packets | Number of lost packets. |
num_out_of_order_packets | Number of out-of-order packets. |
num_packet_errors | Number of errored packets. |
num_packets_received_excl_retrans | Number of packets received, excluding retransmits. |
num_packets_received_incl_retrans | Number of packets received. |
num_packets_transmitted_incl_retrans | Number of packets transmitted. |
num_retries | Number of packet retries. |
num_timeouts | Number of packet timeouts. |
num_tunneled_l7_bytes_received | Number of tunneled Layer 7 bytes received, excluding retransmits. |
round_trip_time | Round trip time. |
time_to_first_byte | Time in ms between connection activation and first byte received. |
NULL | Failed to create the event. |
Definition at line 1083 of file evel_mobile_flow.c.
EVENT_OTHER* evel_new_other | ( | void | ) |
Create a new other event.
NULL | Failed to create the event. |
Create a new other event.
NULL | Failed to create the event. |
Definition at line 53 of file evel_other.c.
EVENT_REPORT* evel_new_report | ( | double | measurement_interval | ) |
Create a new Report event.
measurement_interval |
NULL | Failed to create the event. |
measurement_interval |
NULL | Failed to create the event. |
Definition at line 66 of file evel_reporting_measurement.c.
EVENT_SERVICE* evel_new_service | ( | const char *const | vendor_id, |
const char *const | event_id | ||
) |
Create a new Service event.
vendor_id | The vendor id to encode in the event instance id. |
event_id | The vendor event id to encode in the event instance id. |
NULL | Failed to create the event. |
Definition at line 55 of file evel_service.c.
EVENT_SIGNALING* evel_new_signaling | ( | const char *const | vendor_id, |
const char *const | event_id | ||
) |
Create a new Signaling event.
vendor_id | The vendor id to encode in the event instance id. |
event_id | The vendor event id to encode in the event instance id. |
NULL | Failed to create the event. |
Definition at line 55 of file evel_signaling.c.
EVENT_STATE_CHANGE* evel_new_state_change | ( | const EVEL_ENTITY_STATE | new_state, |
const EVEL_ENTITY_STATE | old_state, | ||
const char *const | interface | ||
) |
Create a new State Change event.
new_state | The new state of the reporting entity. |
old_state | The old state of the reporting entity. |
interface | The card or port name of the reporting entity. |
NULL | Failed to create the event. |
new_state | The new state of the reporting entity. |
old_state | The old state of the reporting entity. |
interface | The card or port name of the reporting entity. |
NULL | Failed to create the event. |
Definition at line 58 of file evel_state_change.c.
EVENT_SYSLOG* evel_new_syslog | ( | EVEL_SOURCE_TYPES | event_source_type, |
const char *const | syslog_msg, | ||
const char *const | syslog_tag | ||
) |
Create a new syslog event.
event_source_type | |
syslog_msg | |
syslog_tag |
NULL | Failed to create the event. |
Create a new syslog event.
event_source_type | The type of Syslog event source. |
syslog_msg | The Syslog event message. |
syslog_tag | The messgaeId identifying the type of message. |
NULL | Failed to create the event. |
Definition at line 56 of file evel_syslog.c.
void evel_other_field_add | ( | EVENT_OTHER * | other, |
char * | name, | ||
char * | value | ||
) |
Add a value name/value pair to the Other.
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.
other | Pointer to the Other. |
name | ASCIIZ string with the attribute's name. |
value | ASCIIZ string with the attribute's value. |
Add a value name/value pair to the Other.
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.
other | Pointer to the Other. |
name | ASCIIZ string with the field's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the field's value. The caller does not need to preserve the value once the function returns. |
Definition at line 127 of file evel_other.c.
void evel_other_type_set | ( | EVENT_OTHER * | other, |
const char *const | type | ||
) |
Set the Event Type property of the Other.
other | Pointer to the Other. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 99 of file evel_other.c.
EVEL_ERR_CODES evel_post_event | ( | EVENT_HEADER * | event | ) |
Post an event.
event | The event to be posted. |
EVEL_SUCCESS | On success |
One of ::EVEL_ERR_CODES | On failure. |
Definition at line 497 of file evel_event_mgr.c.
void evel_report_custom_measurement_add | ( | EVENT_REPORT * | report, |
const char *const | group, | ||
const char *const | name, | ||
const char *const | value | ||
) |
Add a Additional Measurement value name/value pair to the Report.
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.
report | Pointer to the report. |
group | ASCIIZ string with the measurement group's name. |
name | ASCIIZ string containing the measurement's name. |
value | ASCIIZ string containing the measurement's value. |
Definition at line 187 of file evel_reporting_measurement.c.
void evel_report_feature_use_add | ( | EVENT_REPORT * | report, |
char * | feature, | ||
int | utilization | ||
) |
Add a Feature usage value name/value pair to the Report.
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.
report | Pointer to the report. |
feature | ASCIIZ string with the feature's name. |
utilization | Utilization of the feature. |
Definition at line 144 of file evel_reporting_measurement.c.
void evel_report_type_set | ( | EVENT_REPORT * | report, |
const char *const | type | ||
) |
Set the Event Type property of the Report.
report | Pointer to the Report. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 118 of file evel_reporting_measurement.c.
void evel_reporting_entity_id_set | ( | EVENT_HEADER *const | header, |
const char *const | entity_id | ||
) |
Set the Reporting Entity Id property of the event header.
header | Pointer to the EVENT_HEADER. |
entity_id | The entity id to set. |
Definition at line 264 of file evel_event.c.
void evel_reporting_entity_name_set | ( | EVENT_HEADER *const | header, |
const char *const | entity_name | ||
) |
Set the Reporting Entity Name property of the event header.
header | Pointer to the EVENT_HEADER. |
entity_name | The entity name to set. |
Definition at line 234 of file evel_event.c.
void evel_service_addl_field_add | ( | EVENT_SERVICE *const | event, |
const char *const | name, | ||
const char *const | value | ||
) |
Add a name/value pair to the Service, under the additionalFields array.
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.
event | Pointer to the Service event. |
name | ASCIIZ string with the field's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the field's value. The caller does not need to preserve the value once the function returns. |
Definition at line 163 of file evel_service.c.
void evel_service_adjacency_name_set | ( | EVENT_SERVICE *const | event, |
const char *const | adjacency_name | ||
) |
Set the Adjacency Name property of the Service event.
event | Pointer to the Service event. |
adjacency_name | The adjacency name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 434 of file evel_service.c.
void evel_service_callee_codec_set | ( | EVENT_SERVICE *const | event, |
const char *const | codec | ||
) |
Set the Callee Side Codec property of the Service event.
event | Pointer to the Service event. |
codec | The codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 347 of file evel_service.c.
void evel_service_caller_codec_set | ( | EVENT_SERVICE *const | event, |
const char *const | codec | ||
) |
Set the Caller Side Codec property of the Service event.
event | Pointer to the Service event. |
codec | The codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 375 of file evel_service.c.
void evel_service_codec_set | ( | EVENT_SERVICE *const | event, |
const char *const | codec | ||
) |
Set the Codec property of the Service event.
event | Pointer to the Service event. |
codec | The codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 319 of file evel_service.c.
void evel_service_correlator_set | ( | EVENT_SERVICE *const | event, |
const char *const | correlator | ||
) |
Set the correlator property of the Service event.
event | Pointer to the Service event. |
correlator | The correlator to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Set the correlator property of the Service event.
event | Pointer to the Service event. |
correlator | The correlator to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 291 of file evel_service.c.
void evel_service_endpoint_desc_set | ( | EVENT_SERVICE *const | event, |
const EVEL_SERVICE_ENDPOINT_DESC | endpoint_desc | ||
) |
Set the Endpoint Descriptor property of the Service event.
event | Pointer to the Service event. |
endpoint_desc | The endpoint descriptor to be set. |
Definition at line 461 of file evel_service.c.
void evel_service_endpoint_jitter_set | ( | EVENT_SERVICE *const | event, |
const int | jitter | ||
) |
Set the Endpoint Jitter property of the Service event.
event | Pointer to the Service event. |
jitter | The jitter to be set. |
Definition at line 489 of file evel_service.c.
void evel_service_endpoint_rtp_oct_disc_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_disc | ||
) |
Set the Endpoint Rtp Octets Discarded property of the Service event.
event | Pointer to the Service event. |
rtp_oct_disc | The discard count. |
Definition at line 516 of file evel_service.c.
void evel_service_endpoint_rtp_oct_recv_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_recv | ||
) |
Set the Endpoint Rtp Octets Received property of the Service event.
event | Pointer to the Service event. |
rtp_oct_recv | The receive count. |
Definition at line 543 of file evel_service.c.
void evel_service_endpoint_rtp_oct_sent_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_sent | ||
) |
Set the Endpoint Rtp Octets Sent property of the Service event.
event | Pointer to the Service event. |
rtp_oct_sent | The send count. |
Definition at line 570 of file evel_service.c.
void evel_service_endpoint_rtp_pkt_disc_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_disc | ||
) |
Set the Endpoint Rtp Packets Discarded property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_disc | The discard count. |
Definition at line 597 of file evel_service.c.
void evel_service_endpoint_rtp_pkt_recv_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_recv | ||
) |
Set the Endpoint Rtp Packets Received property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_recv | The receive count. |
Definition at line 624 of file evel_service.c.
void evel_service_endpoint_rtp_pkt_sent_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_sent | ||
) |
Set the Endpoint Rtp Packets Sent property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_sent | The send count. |
Definition at line 651 of file evel_service.c.
void evel_service_friendly_name_set | ( | EVENT_SERVICE *const | event, |
const char *const | friendly_name | ||
) |
Set the Friendly Name property of the Service event.
event | Pointer to the Service event. |
friendly_name | The vendor friendly name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 262 of file evel_service.c.
void evel_service_local_jitter_set | ( | EVENT_SERVICE *const | event, |
const int | jitter | ||
) |
Set the Local Jitter property of the Service event.
event | Pointer to the Service event. |
jitter | The jitter to be set. |
Definition at line 678 of file evel_service.c.
void evel_service_local_rtp_oct_disc_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_disc | ||
) |
Set the Local Rtp Octets Discarded property of the Service event.
event | Pointer to the Service event. |
rtp_oct_disc | The discard count. |
Definition at line 705 of file evel_service.c.
void evel_service_local_rtp_oct_recv_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_recv | ||
) |
Set the Local Rtp Octets Received property of the Service event.
event | Pointer to the Service event. |
rtp_oct_recv | The receive count. |
Definition at line 732 of file evel_service.c.
void evel_service_local_rtp_oct_sent_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_oct_sent | ||
) |
Set the Local Rtp Octets Sent property of the Service event.
event | Pointer to the Service event. |
rtp_oct_sent | The send count. |
Definition at line 759 of file evel_service.c.
void evel_service_local_rtp_pkt_disc_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_disc | ||
) |
Set the Local Rtp Packets Discarded property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_disc | The discard count. |
Definition at line 786 of file evel_service.c.
void evel_service_local_rtp_pkt_recv_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_recv | ||
) |
Set the Local Rtp Packets Received property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_recv | The receive count. |
Definition at line 813 of file evel_service.c.
void evel_service_local_rtp_pkt_sent_set | ( | EVENT_SERVICE *const | event, |
const int | rtp_pkt_sent | ||
) |
Set the Local Rtp Packets Sent property of the Service event.
event | Pointer to the Service event. |
rtp_pkt_sent | The send count. |
Definition at line 840 of file evel_service.c.
void evel_service_mos_cqe_set | ( | EVENT_SERVICE *const | event, |
const double | mos_cqe | ||
) |
Set the Mos Cqe property of the Service event.
event | Pointer to the Service event. |
mos_cqe | The mosCqe to be set. |
Definition at line 867 of file evel_service.c.
void evel_service_packet_loss_percent_set | ( | EVENT_SERVICE *const | event, |
const double | packet_loss_percent | ||
) |
Set the packet Loss Percent property of the Service event.
event | Pointer to the Service event. |
packet_loss_percent | The packet loss in percent. |
Definition at line 922 of file evel_service.c.
void evel_service_packets_lost_set | ( | EVENT_SERVICE *const | event, |
const int | packets_lost | ||
) |
Set the Packets Lost property of the Service event.
event | Pointer to the Service event. |
packets_lost | The number of packets lost to be set. |
Definition at line 894 of file evel_service.c.
void evel_service_phone_number_set | ( | EVENT_SERVICE *const | event, |
const char *const | phone_number | ||
) |
Set the Phone Number property of the Service event.
event | Pointer to the Service event. |
phone_number | The Phone Number to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 1006 of file evel_service.c.
void evel_service_product_id_set | ( | EVENT_SERVICE *const | event, |
const char *const | product_id | ||
) |
Set the Product Id property of the Service event.
event | Pointer to the Service event. |
product_id | The vendor product id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 204 of file evel_service.c.
void evel_service_r_factor_set | ( | EVENT_SERVICE *const | event, |
const int | r_factor | ||
) |
Set the R Factor property of the Service event.
event | Pointer to the Service event. |
r_factor | The R Factor to be set. |
Definition at line 949 of file evel_service.c.
void evel_service_round_trip_delay_set | ( | EVENT_SERVICE *const | event, |
const int | round_trip_delay | ||
) |
Set the Round Trip Delay property of the Service event.
event | Pointer to the Service event. |
round_trip_delay | The Round trip delay to be set. |
Definition at line 977 of file evel_service.c.
void evel_service_rtcp_data_set | ( | EVENT_SERVICE *const | event, |
const char *const | rtcp_data | ||
) |
Set the RTCP Data property of the Service event.
event | Pointer to the Service event. |
rtcp_data | The RTCP Data to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 404 of file evel_service.c.
void evel_service_subsystem_id_set | ( | EVENT_SERVICE *const | event, |
const char *const | subsystem_id | ||
) |
Set the Subsystem Id property of the Service event.
event | Pointer to the Service event. |
subsystem_id | The vendor subsystem id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 233 of file evel_service.c.
void evel_service_type_set | ( | EVENT_SERVICE *const | event, |
const char *const | type | ||
) |
Set the Event Type property of the Service event.
event | Pointer to the Service event. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 135 of file evel_service.c.
void evel_signaling_compressed_sip_set | ( | EVENT_SIGNALING *const | event, |
const char *const | compressed_sip | ||
) |
Set the Compressed SIP property of the Signaling event.
event | Pointer to the Signaling event. |
compressed_sip | The Compressed SIP to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 268 of file evel_signaling.c.
void evel_signaling_correlator_set | ( | EVENT_SIGNALING *const | event, |
const char *const | correlator | ||
) |
Set the Correlator property of the Signaling event.
event | Pointer to the Signaling event. |
correlator | The correlator to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 417 of file evel_signaling.c.
void evel_signaling_friendly_name_set | ( | EVENT_SIGNALING *const | event, |
const char *const | friendly_name | ||
) |
Set the Friendly Name property of the Signaling event.
event | Pointer to the Signaling event. |
friendly_name | The vendor friendly name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 388 of file evel_signaling.c.
void evel_signaling_local_ip_address_set | ( | EVENT_SIGNALING *const | event, |
const char *const | local_ip_address | ||
) |
Set the Local Ip Address property of the Signaling event.
event | Pointer to the Signaling event. |
local_ip_address | The Local Ip Address to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 142 of file evel_signaling.c.
void evel_signaling_local_port_set | ( | EVENT_SIGNALING *const | event, |
const char *const | local_port | ||
) |
Set the Local Port property of the Signaling event.
event | Pointer to the Signaling event. |
local_port | The Local Port to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 173 of file evel_signaling.c.
void evel_signaling_product_id_set | ( | EVENT_SIGNALING *const | event, |
const char *const | product_id | ||
) |
Set the Product Id property of the Signaling event.
event | Pointer to the Signaling event. |
product_id | The vendor product id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 330 of file evel_signaling.c.
void evel_signaling_remote_ip_address_set | ( | EVENT_SIGNALING *const | event, |
const char *const | remote_ip_address | ||
) |
Set the Remote Ip Address property of the Signaling event.
event | Pointer to the Signaling event. |
remote_ip_address | The Remote Ip Address to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 205 of file evel_signaling.c.
void evel_signaling_remote_port_set | ( | EVENT_SIGNALING *const | event, |
const char *const | remote_port | ||
) |
Set the Remote Port property of the Signaling event.
event | Pointer to the Signaling event. |
remote_port | The Remote Port to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 236 of file evel_signaling.c.
void evel_signaling_subsystem_id_set | ( | EVENT_SIGNALING *const | event, |
const char *const | subsystem_id | ||
) |
Set the Subsystem Id property of the Signaling event.
event | Pointer to the Signaling event. |
subsystem_id | The vendor subsystem id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 359 of file evel_signaling.c.
void evel_signaling_summary_sip_set | ( | EVENT_SIGNALING *const | event, |
const char *const | summary_sip | ||
) |
Set the Summary SIP property of the Signaling event.
event | Pointer to the Signaling event. |
summary_sip | The Summary SIP to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 299 of file evel_signaling.c.
void evel_signaling_type_set | ( | EVENT_SIGNALING *const | event, |
const char *const | type | ||
) |
Set the Event Type property of the Signaling event.
event | Pointer to the Signaling event. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 114 of file evel_signaling.c.
void evel_start_epoch_set | ( | EVENT_HEADER *const | header, |
const unsigned long long | start_epoch_microsec | ||
) |
Set the Start Epoch property of the event header.
header | Pointer to the EVENT_HEADER. |
start_epoch_microsec | The start epoch to set, in microseconds. |
Definition at line 189 of file evel_event.c.
void evel_state_change_addl_field_add | ( | EVENT_STATE_CHANGE *const | state_change, |
const char *const | name, | ||
const char *const | value | ||
) |
Add an additional field name/value pair to the State Change.
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.
state_change | Pointer to the EVENT_STATE_CHANGE. |
name | ASCIIZ string with the attribute's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the attribute's value. The caller does not need to preserve the value once the function returns. |
Definition at line 186 of file evel_state_change.c.
void evel_state_change_type_set | ( | EVENT_STATE_CHANGE *const | state_change, |
const char *const | type | ||
) |
Set the Event Type property of the State Change.
state_change | Pointer to the EVENT_STATE_CHANGE. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 156 of file evel_state_change.c.
void evel_syslog_addl_field_add | ( | EVENT_SYSLOG * | syslog, |
char * | name, | ||
char * | value | ||
) |
Add an additional field name/value pair to the Syslog.
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.
syslog | Pointer to the syslog. |
name | ASCIIZ string with the attribute's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the attribute's value. The caller does not need to preserve the value once the function returns. |
Add an additional field name/value pair to the Syslog.
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.
syslog | Pointer to the syslog. |
name | ASCIIZ string with the attribute's name. The caller does not need to preserve the value once the function returns. |
value | ASCIIZ string with the attribute's value. The caller does not need to preserve the value once the function returns. |
Definition at line 148 of file evel_syslog.c.
void evel_syslog_event_source_host_set | ( | EVENT_SYSLOG * | syslog, |
const char *const | host | ||
) |
Set the Event Source Host property of the Syslog.
syslog | Pointer to the Syslog. |
host | The Event Source Host to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 189 of file evel_syslog.c.
void evel_syslog_facility_set | ( | EVENT_SYSLOG * | syslog, |
EVEL_SYSLOG_FACILITIES | facility | ||
) |
Set the Syslog Facility property of the Syslog.
syslog | Pointer to the Syslog. |
facility | The Syslog Facility to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Set the Syslog Facility property of the Syslog.
syslog | Pointer to the Syslog. |
facility | The Syslog Facility to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 219 of file evel_syslog.c.
void evel_syslog_proc_id_set | ( | EVENT_SYSLOG * | syslog, |
int | proc_id | ||
) |
Set the Process ID property of the Syslog.
syslog | Pointer to the Syslog. |
proc_id | The Process ID to be set. |
syslog | Pointer to the Syslog. |
proc_id | The Process ID to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 274 of file evel_syslog.c.
void evel_syslog_proc_set | ( | EVENT_SYSLOG * | syslog, |
const char *const | proc | ||
) |
Set the Process property of the Syslog.
syslog | Pointer to the Syslog. |
proc | The Process to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 248 of file evel_syslog.c.
void evel_syslog_s_data_set | ( | EVENT_SYSLOG * | syslog, |
const char *const | s_data | ||
) |
Set the Structured Data property of the Syslog.
syslog | Pointer to the Syslog. |
s_data | The Structured Data to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 331 of file evel_syslog.c.
void evel_syslog_type_set | ( | EVENT_SYSLOG * | syslog, |
const char *const | type | ||
) |
Set the Event Type property of the Syslog.
syslog | Pointer to the syslog. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 118 of file evel_syslog.c.
void evel_syslog_version_set | ( | EVENT_SYSLOG * | syslog, |
int | version | ||
) |
Set the Version property of the Syslog.
syslog | Pointer to the Syslog. |
version | The Version to be set. |
syslog | Pointer to the Syslog. |
version | The Version to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 302 of file evel_syslog.c.
EVEL_ERR_CODES evel_terminate | ( | void | ) |
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.
vnic_use | Pointer to the vNIC Use. |
broadcast_packets_in | Broadcast packets received. |
Definition at line 985 of file evel_scaling_measurement.c.
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.
vnic_use | Pointer to the vNIC Use. |
broadcast_packets_out | Broadcast packets transmitted. |
Definition at line 1013 of file evel_scaling_measurement.c.
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.
vnic_use | Pointer to the vNIC Use. |
multicast_packets_in | Multicast packets received. |
Definition at line 1041 of file evel_scaling_measurement.c.
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.
vnic_use | Pointer to the vNIC Use. |
multicast_packets_out | Multicast packets transmitted. |
Definition at line 1069 of file evel_scaling_measurement.c.
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.
vnic_use | Pointer to the vNIC Use. |
unicast_packets_in | Unicast packets received. |
Definition at line 1097 of file evel_scaling_measurement.c.
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.
vnic_use | Pointer to the vNIC Use. |
unicast_packets_out | Unicast packets transmitted. |
Definition at line 1125 of file evel_scaling_measurement.c.
size_t evel_write_callback | ( | void * | contents, |
size_t | size, | ||
size_t | nmemb, | ||
void * | userp | ||
) |
Callback function to provide returned data.
Copy data into the supplied buffer, write_callback::ptr, checking size limits.
Definition at line 712 of file evel_event_mgr.c.
void log_debug | ( | EVEL_LOG_LEVELS | level, |
char * | format, | ||
... | |||
) |
Log debug information.
Logs debugging information in a platform independent manner.
[in] | level | The debugging level - one of EVEL_LOG_LEVELS. |
[in] | format | Log formatting string in printf format. |
[in] | ... | Variable argument list. |
Log debug information.
Provides an interface to syslog with formatting of the nesting level so that it's easier to see function entry/exit.
[in] | level | The debug level - see EVEL_LOG_LEVELS. |
[in] | format | The output formatting in printf style. |
[in] | ... | Variable arguments as specified in the format string. |
Definition at line 120 of file evel_logging.c.
void log_error_state | ( | char * | format, |
... | |||
) |
Definition at line 98 of file evel_logging.c.
void log_initialize | ( | EVEL_LOG_LEVELS | level, |
const char * | ident | ||
) |
Initialize logging.
[in] | level | The debugging level - one of EVEL_LOG_LEVELS. |
[in] | ident | The identifier for our logs. |
Definition at line 68 of file evel_logging.c.
int debug_indent |
Definition at line 54 of file evel_logging.c.
EVEL_LOG_LEVELS debug_level |
Definition at line 52 of file evel_logging.c.
FILE* fout |