Lines Matching refs:newhdr
808 _sip_header_t *newhdr; in sip_dlg_xchg_from_to() local
828 newhdr = sip_new_header(hdrsize); in sip_dlg_xchg_from_to()
829 if (newhdr == NULL) in sip_dlg_xchg_from_to()
832 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
835 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
838 newhdr->sip_hdr_current += cnt; in sip_dlg_xchg_from_to()
839 (void) strncpy(newhdr->sip_hdr_current, hdr->sip_hdr_current, len); in sip_dlg_xchg_from_to()
840 newhdr->sip_hdr_current += len; in sip_dlg_xchg_from_to()
841 assert(newhdr->sip_hdr_current == newhdr->sip_hdr_end); in sip_dlg_xchg_from_to()
847 newhdr->sip_header_functions = hdr->sip_header_functions; in sip_dlg_xchg_from_to()
848 newhdr->sip_hdr_current = newhdr->sip_hdr_start; in sip_dlg_xchg_from_to()
850 return (newhdr); in sip_dlg_xchg_from_to()