AT&T ECOMP Vendor Event Listener library
0.1
|
Implementation of EVEL functions relating to the Mobile Flow. More...
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <time.h>
#include "evel.h"
#include "evel_internal.h"
Go to the source code of this file.
Functions | |
void | evel_json_encode_mobile_flow_gtp_flow_metrics (EVEL_JSON_BUFFER *jbuf, MOBILE_GTP_PER_FLOW_METRICS *metrics) |
Encode the Mobile Flow GTP Per Flow Metrics as a JSON object. 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_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... | |
void | evel_json_encode_mobile_flow (EVEL_JSON_BUFFER *jbuf, EVENT_MOBILE_FLOW *event) |
Encode the Mobile Flow in JSON according to AT&T's schema for the event type. More... | |
void | evel_free_mobile_flow (EVENT_MOBILE_FLOW *event) |
Free a 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_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... | |
void | evel_free_mobile_gtp_flow_metrics (MOBILE_GTP_PER_FLOW_METRICS *metrics) |
Free a Mobile GTP Per Flow Metrics. More... | |
Implementation of EVEL functions relating to the Mobile Flow.
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_mobile_flow.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_json_encode_mobile_flow | ( | EVEL_JSON_BUFFER * | jbuf, |
EVENT_MOBILE_FLOW * | event | ||
) |
Encode the Mobile Flow in JSON according to AT&T's schema for the event type.
jbuf | Pointer to the EVEL_JSON_BUFFER to encode into. |
event | Pointer to the EVENT_HEADER to encode. |
Definition at line 898 of file evel_mobile_flow.c.
void evel_json_encode_mobile_flow_gtp_flow_metrics | ( | EVEL_JSON_BUFFER * | jbuf, |
MOBILE_GTP_PER_FLOW_METRICS * | metrics | ||
) |
Encode the Mobile Flow GTP Per Flow Metrics as a JSON object.
jbuf | Pointer to working EVEL_JSON_BUFFER. |
metrics | Pointer to the EVENT_MOBILE_FLOW to encode. |
Definition at line 1742 of file evel_mobile_flow.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 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_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 | 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 | 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.