Home
last modified time | relevance | path

Searched refs:sip_hdr_current (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_parse_generic.c47 while (sip_header->sip_hdr_current < sip_header->sip_hdr_end) { in sip_atoi()
48 if (isspace(*sip_header->sip_hdr_current)) { in sip_atoi()
49 sip_header->sip_hdr_current++; in sip_atoi()
52 } else if (isdigit(*sip_header->sip_hdr_current)) { in sip_atoi()
54 (*sip_header->sip_hdr_current - '0'); in sip_atoi()
56 sip_header->sip_hdr_current++; in sip_atoi()
72 while (sip_header->sip_hdr_current < sip_header->sip_hdr_end) { in sip_find_token()
74 *sip_header->sip_hdr_current == SIP_COMMA) { in sip_find_token()
75 sip_header->sip_hdr_current--; in sip_find_token()
78 if (*sip_header->sip_hdr_current++ == token) { in sip_find_token()
[all …]
H A Dsip_parse_hdrs.c119 while (hdr->sip_hdr_current < hdr->sip_hdr_end) { in sip_parse_allow_header()
130 value->sip_value_start = hdr->sip_hdr_current; in sip_parse_allow_header()
137 len = hdr->sip_hdr_current - value->sip_value_start; in sip_parse_allow_header()
158 value->sip_value_end = hdr->sip_hdr_current - 1; in sip_parse_allow_header()
258 value->sip_value_start = sip_header->sip_hdr_current; in sip_parse_date_header()
260 value->date_wd_ptr = sip_header->sip_hdr_current; in sip_parse_date_header()
262 value->date_wd_len = sip_header->sip_hdr_current - in sip_parse_date_header()
264 sip_header->sip_hdr_current++; in sip_parse_date_header()
287 value->date_m_ptr = sip_header->sip_hdr_current; in sip_parse_date_header()
289 value->date_m_len = sip_header->sip_hdr_current - in sip_parse_date_header()
[all …]
H A Dsip_headers.c241 new_header->sip_hdr_current = new_header->sip_hdr_start; in sip_new_header()
356 hdrlen += new_header->sip_hdr_end - new_header->sip_hdr_current; in _sip_copy_header()
357 (void) snprintf(new_header->sip_hdr_current, hdrlen + 1, in _sip_copy_header()
727 header_name = sip_header->sip_hdr_current; in _sip_get_header_functions()
732 len = sip_header->sip_hdr_current - header_name; in _sip_get_header_functions()
763 sip_header->sip_hdr_current = sip_header->sip_hdr_start; in _sip_get_header_functions()
842 header->sip_hdr_current = header->sip_hdr_start; in sip_search_for_header()
849 len = header->sip_hdr_end - header->sip_hdr_current; in sip_search_for_header()
852 strncasecmp(header->sip_hdr_current, full_name, in sip_search_for_header()
854 header->sip_hdr_current += full_len; in sip_search_for_header()
[all …]
H A Dsip_add_hdrs.c1351 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr()
1355 new_header->sip_hdr_current += count; in sip_create_via_hdr()
1359 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr()
1361 new_header->sip_hdr_current += count; in sip_create_via_hdr()
1366 count = snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr()
1368 new_header->sip_hdr_current += count; in sip_create_via_hdr()
1372 (void) snprintf(new_header->sip_hdr_current, header_size + 1, in sip_create_via_hdr()
H A Dsip_dialog.c818 len = hdr->sip_hdr_end - hdr->sip_hdr_current; in sip_dlg_xchg_from_to()
830 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
833 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
836 newhdr->sip_hdr_current += cnt; in sip_dlg_xchg_from_to()
837 (void) strncpy(newhdr->sip_hdr_current, hdr->sip_hdr_current, len); in sip_dlg_xchg_from_to()
838 newhdr->sip_hdr_current += len; in sip_dlg_xchg_from_to()
839 assert(newhdr->sip_hdr_current == newhdr->sip_hdr_end); in sip_dlg_xchg_from_to()
846 newhdr->sip_hdr_current = newhdr->sip_hdr_start; in sip_dlg_xchg_from_to()
H A Dsip_msg.h511 #define sip_hdr_current sip_hdr_general.sip_hdr_current macro
H A Dsip_itf.c189 sip_msg_header->sip_hdr_current = msg; in sip_setup_header_pointers()
209 sip_msg_header->sip_hdr_current = msg; in sip_setup_header_pointers()
H A Dsip.h354 char *sip_hdr_current; member
H A Dsip_msg.c412 len = header->sip_hdr_current - header->sip_hdr_start; in sip_copy_values()