Searched refs:_new_msg (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/libsip/common/ |
H A D | sip_headers.c | 373 _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() 384 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header() 385 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in _sip_find_and_copy_all_header() 388 ret = _sip_copy_header(_new_msg, header, NULL, B_TRUE); in _sip_find_and_copy_all_header() 393 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header() 394 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex); 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() 417 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in _sip_find_and_copy_header() [all …]
|
H A D | sip_ui.c | 773 _sip_msg_t *_new_msg = (_sip_msg_t *)new_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() 779 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in sip_copy_header_by_name() 780 if (_new_msg->sip_msg_cannot_be_modified) { in sip_copy_header_by_name() 781 (void) pthread_mutex_unlock(&_new_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() 789 if (_new_msg->sip_msg_buf != NULL) in sip_copy_header_by_name() 790 _new_msg->sip_msg_modified = B_TRUE; in sip_copy_header_by_name() 791 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex); in sip_copy_header_by_name()
|