Home
last modified time | relevance | path

Searched refs:_old_msg (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libsip/common/
H A Dsip_headers.c373 _sip_find_and_copy_all_header(_sip_msg_t *_old_msg, _sip_msg_t *_new_msg, in _sip_find_and_copy_all_header() argument
379 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_all_header()
382 assert(mutex_held(&_old_msg->sip_msg_mutex)); in _sip_find_and_copy_all_header()
384 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header()
386 header = sip_search_for_header(_old_msg, header_name, NULL); in _sip_find_and_copy_all_header()
391 header = sip_search_for_header(_old_msg, header_name, header); in _sip_find_and_copy_all_header()
393 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header()
402 _sip_find_and_copy_header(sip_msg_t _old_msg, sip_msg_t _new_msg, in _sip_find_and_copy_header() argument
408 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_header()
411 assert(mutex_held(&_old_msg->sip_msg_mutex)); in _sip_find_and_copy_header()
[all …]
H A Dsip_ui.c772 _sip_msg_t *_old_msg = (_sip_msg_t *)old_msg; in sip_copy_header_by_name() local
775 if (_old_msg == NULL || _new_msg == NULL || header_name == NULL || in sip_copy_header_by_name()
776 _old_msg == _new_msg) { in sip_copy_header_by_name()
785 (void) pthread_mutex_lock(&_old_msg->sip_msg_mutex); in sip_copy_header_by_name()
786 ret = _sip_find_and_copy_header(_old_msg, _new_msg, header_name, param, in sip_copy_header_by_name()
788 (void) pthread_mutex_unlock(&_old_msg->sip_msg_mutex); in sip_copy_header_by_name()