Searched refs:_old_msg (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_headers.c | 371 _sip_find_and_copy_all_header(_sip_msg_t *_old_msg, _sip_msg_t *_new_msg, in _sip_find_and_copy_all_header() argument 377 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_all_header() 380 assert(mutex_held(&_old_msg->sip_msg_mutex)); in _sip_find_and_copy_all_header() 382 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header() 384 header = sip_search_for_header(_old_msg, header_name, NULL); in _sip_find_and_copy_all_header() 389 header = sip_search_for_header(_old_msg, header_name, header); in _sip_find_and_copy_all_header() 391 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header() 400 _sip_find_and_copy_header(sip_msg_t _old_msg, sip_msg_t _new_msg, in _sip_find_and_copy_header() argument 406 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_header() 409 assert(mutex_held(&_old_msg->sip_msg_mutex)); in _sip_find_and_copy_header() [all …]
|
H A D | sip_ui.c | 770 _sip_msg_t *_old_msg = (_sip_msg_t *)old_msg; in sip_copy_header_by_name() local 773 if (_old_msg == NULL || _new_msg == NULL || header_name == NULL || in sip_copy_header_by_name() 774 _old_msg == _new_msg) { in sip_copy_header_by_name() 783 (void) pthread_mutex_lock(&_old_msg->sip_msg_mutex); in sip_copy_header_by_name() 784 ret = _sip_find_and_copy_header(_old_msg, _new_msg, header_name, param, in sip_copy_header_by_name() 786 (void) pthread_mutex_unlock(&_old_msg->sip_msg_mutex); in sip_copy_header_by_name()
|