Home
last modified time | relevance | path

Searched refs:new_header (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/libsip/common/
H A Dsip_headers.c226 _sip_header_t *new_header; in sip_new_header() local
228 new_header = calloc(1, sizeof (_sip_header_t)); in sip_new_header()
229 if (new_header == NULL) in sip_new_header()
237 new_header->sip_hdr_start = calloc(1, header_size + 1); in sip_new_header()
238 if (new_header->sip_hdr_start == NULL) { in sip_new_header()
239 free(new_header); in sip_new_header()
242 new_header->sip_hdr_end = new_header->sip_hdr_start + header_size; in sip_new_header()
243 new_header->sip_hdr_current = new_header->sip_hdr_start; in sip_new_header()
244 new_header->sip_hdr_allocated = B_TRUE; in sip_new_header()
245 return (new_header); in sip_new_header()
[all …]
H A Dsip_add_hdrs.c128 _sip_header_t *new_header; in sip_add_empty_hdr() local
144 new_header = sip_new_header(header_size); in sip_add_empty_hdr()
145 if (new_header == NULL) { in sip_add_empty_hdr()
150 (void) snprintf(new_header->sip_hdr_start, header_size + 1, in sip_add_empty_hdr()
153 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, hdr_name); in sip_add_empty_hdr()
168 _sip_header_t *new_header; in sip_add_2strs_to_msg() local
197 new_header = sip_new_header(header_size); in sip_add_2strs_to_msg()
198 if (new_header == NULL) { in sip_add_2strs_to_msg()
205 (void) snprintf(new_header->sip_hdr_start, in sip_add_2strs_to_msg()
209 (void) snprintf(new_header->sip_hdr_start, in sip_add_2strs_to_msg()
[all …]
H A Dsip_ui.c802 _sip_header_t *new_header; in sip_add_header() local
814 new_header = sip_new_header(header_size); in sip_add_header()
815 if (new_header == NULL) { in sip_add_header()
820 (void) snprintf(new_header->sip_hdr_start, header_size + 1, "%s%s", in sip_add_header()
822 _sip_add_header(_sip_msg, new_header, B_TRUE, B_FALSE, NULL); in sip_add_header()
837 _sip_header_t *new_header; in sip_add_param() local
873 new_header = sip_new_header(hdrlen + param_len); in sip_add_param()
874 if (new_header == NULL) { in sip_add_param()
881 (void) memcpy(new_header->sip_hdr_start, _sip_header->sip_hdr_start, in sip_add_param()
883 new_header->sip_hdr_end = new_header->sip_hdr_start + hdrlen; in sip_add_param()
[all …]
H A Dsip_msg.c545 _sip_header_t *new_header; in sip_add_response_line() local
562 new_header = sip_new_header(header_size); in sip_add_response_line()
563 if (new_header == NULL) { in sip_add_response_line()
567 new_header->sip_hdr_sipmsg = _sip_response; in sip_add_response_line()
569 (void) snprintf(new_header->sip_hdr_start, header_size + 1, in sip_add_response_line()
572 new_header->sip_hdr_next = _sip_response->sip_msg_start_line; in sip_add_response_line()
573 _sip_response->sip_msg_start_line = new_header; in sip_add_response_line()
898 _sip_header_t *new_header; in sip_add_request_line() local
918 new_header = sip_new_header(header_size); in sip_add_request_line()
919 if (new_header == NULL) { in sip_add_request_line()
[all …]
/titanic_44/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c1800 rdc_header_t new_header; in rdc_resume_bitmap() local
1807 bzero((char *)&new_header, sizeof (rdc_header_t)); in rdc_resume_bitmap()
1809 new_header.autosync = -1; in rdc_resume_bitmap()
1810 new_header.magic = RDC_HDR_MAGIC; in rdc_resume_bitmap()
1811 new_header.syshostid = urdc->syshostid; in rdc_resume_bitmap()
1814 new_header.flags |= RDC_VOL_FAILED; in rdc_resume_bitmap()
1816 new_header.flags |= RDC_SYNC_NEEDED; in rdc_resume_bitmap()
1818 new_header.flags |= RDC_SYNC_NEEDED; in rdc_resume_bitmap()
1820 new_header.flags |= RDC_RSYNC_NEEDED; in rdc_resume_bitmap()
1822 (void) strncpy(new_header.primary.file, in rdc_resume_bitmap()
[all …]