Home
last modified time | relevance | path

Searched refs:sip_counters (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libsip/common/
H A Dsip_logging.c52 sip_traffic_counters_t sip_counters; variable
69 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 …]
H A Dsip_miscdefs.h135 (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;
H A Dsip_itf.c673 (void) pthread_mutex_init(&sip_counters.sip_counter_mutex, NULL); in sip_stack_init()