Home
last modified time | relevance | path

Searched refs:SIP_CRLF (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c186 strlen(SIP_CRLF); in sip_add_2strs_to_msg()
190 csize + strlen(plist) + strlen(SIP_CRLF); in sip_add_2strs_to_msg()
205 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg()
209 hdr_name, SIP_HCOLON, str1, sep, str2, SIP_CRLF); in sip_add_2strs_to_msg()
216 str1, sep, str2, SIP_SEMI, plist, SIP_CRLF); in sip_add_2strs_to_msg()
221 plist, SIP_CRLF); in sip_add_2strs_to_msg()
255 SIP_SPACE_LEN + + strlen(str) + strlen(SIP_CRLF); in sip_add_str_to_msg()
259 strlen(SIP_CRLF); in sip_add_str_to_msg()
269 "%s %c %s%s", hdr_name, SIP_HCOLON, str, SIP_CRLF); in sip_add_str_to_msg()
273 plist, SIP_CRLF); in sip_add_str_to_msg()
[all …]
H A Dsip_headers.c315 if (header->sip_hdr_end - strlen(SIP_CRLF) <= in _sip_copy_header()
319 p = header->sip_hdr_end - strlen(SIP_CRLF); in _sip_copy_header()
320 while (strncmp(SIP_CRLF, p, strlen(SIP_CRLF)) == 0) { in _sip_copy_header()
322 if (p - strlen(SIP_CRLF) < header->sip_hdr_start) in _sip_copy_header()
324 p -= strlen(SIP_CRLF); in _sip_copy_header()
329 ncrlf = (ncrlf - 1) * strlen(SIP_CRLF); in _sip_copy_header()
358 " %c %s%s", SIP_SEMI, extra_param, SIP_CRLF); in _sip_copy_header()
H A Dsip_dialog.c182 crlf = value->sip_value_end - strlen(SIP_CRLF); in sip_add_route_to_set()
183 while (crlf != NULL && strncmp(crlf, SIP_CRLF, strlen(SIP_CRLF)) == 0) { in sip_add_route_to_set()
184 vlen -= strlen(SIP_CRLF); in sip_add_route_to_set()
185 crlf -= strlen(SIP_CRLF); in sip_add_route_to_set()
396 rhdr = sip_new_header(rset_len + strlen(SIP_CRLF)); in sip_dialog_set_route_hdr()
464 (void) snprintf(rhdr->sip_hdr_start, rset_len + strlen(SIP_CRLF) + 1, in sip_dialog_set_route_hdr()
465 "%s%s", rset, SIP_CRLF); in sip_dialog_set_route_hdr()
520 crlf = value->sip_value_end - strlen(SIP_CRLF); in sip_dialog_get_route_set()
522 strncmp(crlf, SIP_CRLF, strlen(SIP_CRLF)) == 0) { in sip_dialog_get_route_set()
523 rset_len -= strlen(SIP_CRLF); in sip_dialog_get_route_set()
[all …]
H A Dsip_msg.c435 if (*s == '\r' && strncmp(s, SIP_CRLF, in sip_copy_values()
436 strlen(SIP_CRLF)) == 0) { in sip_copy_values()
558 strlen(SIP_CRLF); in sip_add_response_line()
568 SIP_RESPONSE, SIP_VERSION, response, response_code, SIP_CRLF); in sip_add_response_line()
914 strlen(SIP_CRLF); in sip_add_request_line()
925 SIP_VERSION, SIP_CRLF); in sip_add_request_line()
H A Dsip_itf.c165 if (strncmp(SIP_CRLF, msg, strlen(SIP_CRLF)) == 0) { in sip_setup_header_pointers()
174 if (strncmp(SIP_CRLF, msg, strlen(SIP_CRLF)) == 0) { in sip_setup_header_pointers()
H A Dsip_ui.c316 if (*s == '\r' && strncmp(s, SIP_CRLF, in sip_delete_value()
317 strlen(SIP_CRLF)) == 0) { in sip_delete_value()
811 header_size = strlen(header_string) + strlen(SIP_CRLF); in sip_add_header()
819 header_string, SIP_CRLF); in sip_add_header()
899 " %c %s%s", SIP_SEMI, param, SIP_CRLF); in sip_add_param()
H A Dsip.h44 #define SIP_CRLF "\r\n" macro