Searched refs:sip_hdr_current (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/libsip/common/ |
H A D | sip_parse_generic.c | 49 while (sip_header->sip_hdr_current < sip_header->sip_hdr_end) { in sip_atoi() 50 if (isspace(*sip_header->sip_hdr_current)) { in sip_atoi() 51 sip_header->sip_hdr_current++; in sip_atoi() 54 } else if (isdigit(*sip_header->sip_hdr_current)) { in sip_atoi() 56 (*sip_header->sip_hdr_current - '0'); in sip_atoi() 58 sip_header->sip_hdr_current++; in sip_atoi() 74 while (sip_header->sip_hdr_current < sip_header->sip_hdr_end) { in sip_find_token() 76 *sip_header->sip_hdr_current == SIP_COMMA) { in sip_find_token() 77 sip_header->sip_hdr_current--; in sip_find_token() 80 if (*sip_header->sip_hdr_current++ == token) { in sip_find_token() [all …]
|
H A D | sip_parse_hdrs.c | 121 while (hdr->sip_hdr_current < hdr->sip_hdr_end) { in sip_parse_allow_header() 132 value->sip_value_start = hdr->sip_hdr_current; in sip_parse_allow_header() 140 len = hdr->sip_hdr_current - value->sip_value_start; in sip_parse_allow_header() 161 value->sip_value_end = hdr->sip_hdr_current - 1; in sip_parse_allow_header() 261 value->sip_value_start = sip_header->sip_hdr_current; in sip_parse_date_header() 263 value->date_wd_ptr = sip_header->sip_hdr_current; in sip_parse_date_header() 265 value->date_wd_len = sip_header->sip_hdr_current - in sip_parse_date_header() 267 sip_header->sip_hdr_current++; in sip_parse_date_header() 290 value->date_m_ptr = sip_header->sip_hdr_current; in sip_parse_date_header() 292 value->date_m_len = sip_header->sip_hdr_current - in sip_parse_date_header() [all …]
|
H A D | sip_headers.c | 243 new_header->sip_hdr_current = new_header->sip_hdr_start; in sip_new_header() 358 hdrlen += new_header->sip_hdr_end - new_header->sip_hdr_current; in _sip_copy_header() 359 (void) snprintf(new_header->sip_hdr_current, hdrlen + 1, in _sip_copy_header() 729 header_name = sip_header->sip_hdr_current; in _sip_get_header_functions() 734 len = sip_header->sip_hdr_current - header_name; in _sip_get_header_functions() 765 sip_header->sip_hdr_current = sip_header->sip_hdr_start; in _sip_get_header_functions() 844 header->sip_hdr_current = header->sip_hdr_start; in sip_search_for_header() 851 len = header->sip_hdr_end - header->sip_hdr_current; in sip_search_for_header() 854 strncasecmp(header->sip_hdr_current, full_name, in sip_search_for_header() 856 header->sip_hdr_current += full_len; in sip_search_for_header() [all …]
|
H A D | sip_add_hdrs.c | 1363 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr() 1367 new_header->sip_hdr_current += count; in sip_create_via_hdr() 1371 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr() 1373 new_header->sip_hdr_current += count; in sip_create_via_hdr() 1378 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr() 1380 new_header->sip_hdr_current += count; in sip_create_via_hdr() 1384 (void) snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr()
|
H A D | sip_dialog.c | 820 len = hdr->sip_hdr_end - hdr->sip_hdr_current; 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() 848 newhdr->sip_hdr_current = newhdr->sip_hdr_start; in sip_dlg_xchg_from_to()
|
H A D | sip_msg.h | 513 #define sip_hdr_current sip_hdr_general.sip_hdr_current macro
|
H A D | sip_itf.c | 191 sip_msg_header->sip_hdr_current = msg; in sip_setup_header_pointers() 211 sip_msg_header->sip_hdr_current = msg; in sip_setup_header_pointers()
|
H A D | sip.h | 356 char *sip_hdr_current; member
|
H A D | sip_msg.c | 414 len = header->sip_hdr_current - header->sip_hdr_start; in sip_copy_values()
|