Home
last modified time | relevance | path

Searched refs:sip_str_len (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/lib/libsip/common/
H A Dsip_dialog.c141 dialog->sip_dlg_req_uri.sip_str_len = 0; in sip_release_dialog_res()
145 dialog->sip_dlg_rset.sip_str_len = 0; in sip_release_dialog_res()
201 rset->sip_dlg_ruri.sip_str_len = value->cftr_uri.sip_str_len; in sip_add_route_to_set()
244 uri = (char *)malloc(req_uri->sip_str_len + 1); in sip_dialog_req_uri()
247 (void) strncpy(uri, req_uri->sip_str_ptr, req_uri->sip_str_len); in sip_dialog_req_uri()
248 uri[req_uri->sip_str_len] = '\0'; in sip_dialog_req_uri()
285 dialog->sip_dlg_req_uri.sip_str_len = 0; in sip_dlg_recompute_rset()
290 dialog->sip_dlg_rset.sip_str_len = 0; in sip_dlg_recompute_rset()
338 dialog->sip_dlg_rset.sip_str_len = rlen + rcnt - 1; in sip_dialog_set_route_hdr()
351 uri = (char *)malloc(to_uri->sip_str_len + 1); in sip_dialog_set_route_hdr()
[all …]
H A Dsip_uri_ui.c127 _uri->sip_uri_scheme.sip_str_len > 0 && _uri->sip_uri_issip) { in sip_is_sipuri()
164 _uri->sip_uri_scheme.sip_str_len == 0) && error != NULL) { in sip_get_uri_scheme()
167 if (_uri->sip_uri_scheme.sip_str_len > 0) in sip_get_uri_scheme()
186 if (uri->sip_uri_user.sip_str_len > 0) in sip_get_uri_user()
205 if (_uri->sip_uri_password.sip_str_len > 0) in sip_get_uri_password()
224 if (_uri->sip_uri_host.sip_str_len > 0) in sip_get_uri_host()
288 if (_uri->sip_uri_headers.sip_str_len > 0) in sip_get_uri_headers()
312 if (_uri->sip_uri_opaque.sip_str_len > 0) in sip_get_uri_opaque()
336 if (_uri->sip_uri_query.sip_str_len > 0) in sip_get_uri_query()
360 if (_uri->sip_uri_path.sip_str_len > 0) in sip_get_uri_path()
[all …]
H A Dsip_msg.h189 #define auth_scheme_len hdr_value.auth.scheme.sip_str_len
194 #define str_val_len hdr_value.str.sip_str_len
199 #define strs1_val_len hdr_value.strs.s1.sip_str_len
201 #define strs2_val_len hdr_value.strs.s2.sip_str_len
206 #define intstr_str_len hdr_value.intstr.s.sip_str_len
211 #define warn_agt_len warn_agt.sip_str_len
213 #define warn_text_len warn_text.sip_str_len
221 #define date_t_len date_t.sip_str_len
223 #define date_m_len date_m.sip_str_len
225 #define date_tz_len date_tz.sip_str_len
[all …]
H A Dsip_parse_generic.c275 param->param_name.sip_str_len = in sip_parse_params()
278 param->param_value.sip_str_len = 0; in sip_parse_params()
285 param->param_name.sip_str_len = in sip_parse_params()
291 param->param_value.sip_str_len = 0; in sip_parse_params()
296 param->param_value.sip_str_len = 0; in sip_parse_params()
326 param->param_value.sip_str_len = sip_header->sip_hdr_current - in sip_parse_params()
329 param->param_value.sip_str_len--; in sip_parse_params()
398 if (sip_str->sip_str_len > 0) { in sip_parse_uri_str()
448 sip_proto_version->name.sip_str_len = strlen(SIP); in sip_get_protocol_version()
478 sip_proto_version->version.sip_str_len = in sip_get_protocol_version()
[all …]
H A Dsip_parse_uri.c747 outurl->sip_uri_scheme.sip_str_len = uend - scan; in sip_uri_parse_scheme()
821 param->param_name.sip_str_len = scan - mark; in sip_uri_parse_params()
823 param->param_value.sip_str_len = 0; in sip_uri_parse_params()
829 param->param_name.sip_str_len = equal - mark; in sip_uri_parse_params()
831 param->param_value.sip_str_len = scan - equal - 1; in sip_uri_parse_params()
940 outurl->sip_uri_headers.sip_str_len = uend - (scan + 1); in sip_uri_parse_headers()
981 outurl->sip_uri_opaque.sip_str_len = uend - scan; in sip_uri_parse_abs_opaque()
1011 outurl->sip_uri_query.sip_str_len = uend - scan; in sip_uri_parse_abs_query()
1036 outurl->sip_uri_path.sip_str_len = uend - scan; in sip_uri_parse_abs_path()
1057 outurl->sip_uri_regname.sip_str_len = uend - scan; in sip_uri_parse_abs_regname()
[all …]
H A Dsip_parse_hdrs.c1238 value->via_protocol_transport.sip_str_len = in sip_parse_via_header()
1271 value->via_sent_by_host.sip_str_len = in sip_parse_via_header()
1305 if (value->via_sent_by_host.sip_str_len == 0 || in sip_parse_via_header()
1477 value->cftr_uri.sip_str_len = in sip_parse_cftr_header()
1482 if (value->cftr_uri.sip_str_len == 0) { in sip_parse_cftr_header()
1508 value->cftr_uri.sip_str_len = in sip_parse_cftr_header()
1513 if (value->cftr_uri.sip_str_len == 0) { in sip_parse_cftr_header()
1533 value->cftr_uri.sip_str_len = tmp_ptr_2 - in sip_parse_cftr_header()
1538 if (value->cftr_uri.sip_str_len == 0) { in sip_parse_cftr_header()
1557 value->cftr_name->sip_str_len = tmp_ptr_2 - tmp_ptr; in sip_parse_cftr_header()
[all …]
H A Dsip_msg.c744 sip_request_uri.sip_str_len + 1); in sip_create_nonOKack()
752 sip_request_uri.sip_str_len); in sip_create_nonOKack()
754 sip_request_uri.sip_str_len] = '\0'; in sip_create_nonOKack()
837 uri = (char *)malloc(contact_value->cftr_uri.sip_str_len + 1); in sip_create_OKack()
843 contact_value->cftr_uri.sip_str_len); in sip_create_OKack()
844 uri[contact_value->cftr_uri.sip_str_len] = '\0'; in sip_create_OKack()
H A Dsip_gids.c254 sip_request_uri.sip_str_len); in sip_branchid()
270 sip_request_uri.sip_str_len); in sip_branchid()
H A Dsip_xaction_state_mc.c672 if (resp_to_tag->sip_str_len != req_to_tag->sip_str_len || in sip_srv_xaction_input()
674 req_to_tag->sip_str_len) != 0) { in sip_srv_xaction_input()
H A Dsip_hdrs_ui.c645 bid = (char *)malloc(param_value->sip_str_len + 1); in sip_get_branchid()
653 param_value->sip_str_len); in sip_get_branchid()
654 bid[param_value->sip_str_len] = '\0'; in sip_get_branchid()
H A Dsip_dialog_ui.c437 if (_dialog->sip_dlg_rset.sip_str_len > 0) in sip_get_dialog_route_set()
H A Dsip_ui.c352 if (param->param_name.sip_str_len == param_len && in sip_is_param_present()
943 if (ret->sip_uri_scheme.sip_str_len == 0 || in sip_get_request_uri()
H A Dsip_itf.c377 sb_val->sip_str_len) == 0) { in sip_sent_by_registered()
H A Dsip_xaction.c101 to_uri->sip_str_ptr, to_uri->sip_str_len, in sip_find_md5_digest()
H A Dsip.h310 int sip_str_len; member
H A Dsip_headers.c1004 if (param_list->param_name.sip_str_len == strlen(param_name) && in sip_get_param_from_list()