Searched refs:_new_msg (Results 1 – 2 of 2) sorted by relevance
377 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_all_header()382 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header()383 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in _sip_find_and_copy_all_header()391 if (_old_msg != _new_msg) in _sip_find_and_copy_all_header()392 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex); in _sip_find_and_copy_all_header()406 if (_old_msg == NULL || _new_msg == NULL) in _sip_find_and_copy_header()415 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in _sip_find_and_copy_header()430 _sip_msg_t *_new_msg; in sip_copy_all_headers() local436 _new_msg = (_sip_msg_t *)new_msg; in sip_copy_all_headers()439 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in sip_copy_all_headers()[all …]
771 _sip_msg_t *_new_msg = (_sip_msg_t *)new_msg; in sip_copy_header_by_name() local773 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()777 (void) pthread_mutex_lock(&_new_msg->sip_msg_mutex); in sip_copy_header_by_name()778 if (_new_msg->sip_msg_cannot_be_modified) { in sip_copy_header_by_name()779 (void) pthread_mutex_unlock(&_new_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()787 if (_new_msg->sip_msg_buf != NULL) in sip_copy_header_by_name()788 _new_msg->sip_msg_modified = B_TRUE; in sip_copy_header_by_name()789 (void) pthread_mutex_unlock(&_new_msg->sip_msg_mutex); in sip_copy_header_by_name()