Searched refs:sip_counters (Results 1 – 3 of 3) sorted by relevance
52 sip_traffic_counters_t sip_counters; variable69 assert(mutex_held(&sip_counters.sip_counter_mutex)); in sip_measure_traffic()72 sip_counters.sip_total_bytes_sent += msg_size; in sip_measure_traffic()74 sip_counters.sip_total_bytes_rcvd += msg_size; in sip_measure_traffic()78 ++sip_counters.sip_total_req_sent; in sip_measure_traffic()80 ++sip_counters.sip_total_req_rcvd; in sip_measure_traffic()84 ++sip_counters.sip_invite_req_sent; in sip_measure_traffic()86 ++sip_counters.sip_invite_req_rcvd; in sip_measure_traffic()90 ++sip_counters.sip_ack_req_sent; in sip_measure_traffic()92 ++sip_counters.sip_ack_req_rcvd; in sip_measure_traffic()[all …]
135 (void) pthread_mutex_lock(&sip_counters.sip_counter_mutex); \136 if (sip_counters.enabled) { \140 (void) pthread_mutex_unlock(&sip_counters.sip_counter_mutex); \234 extern sip_traffic_counters_t sip_counters;
673 (void) pthread_mutex_init(&sip_counters.sip_counter_mutex, NULL); in sip_stack_init()