Lines Matching defs:ssi

943 lws_ss_create(struct lws_context *context, int tsi, const lws_ss_info_t *ssi,
960 pol = ssi->policy;
975 lws_fi_inherit_copy(&temp_fic, &context->fic, "ss", ssi->streamtype);
980 pol = lws_ss_policy_lookup(context, ssi->streamtype);
984 pol = lws_ss_policy_lookup(context, ssi->streamtype);
988 ssi->streamtype);
996 if (ssi->flags & LWSSSINFLAGS_REGISTER_SINK) {
1010 __func__, ssi->streamtype);
1035 size = sizeof(*h) + ssi->user_alloc +
1036 (ssi->streamtype ? strlen(ssi->streamtype): 0) + 1;
1051 if (ssi->sss_protocol_version)
1054 ssi->streamtype ? ssi->streamtype : "nostreamtype",
1055 (unsigned int)ssi->sss_protocol_version,
1056 (unsigned int)ssi->client_pid);
1060 ssi->streamtype ? ssi->streamtype : "nostreamtype");
1065 if (ssi->fic.fi_owner.count)
1066 lws_fi_import(&h->fic, &ssi->fic);
1068 lws_fi_inherit_copy(&h->fic, &context->fic, "ss", ssi->streamtype);
1071 h->info = *ssi;
1084 v = (void **)(p + ssi->handle_offset);
1088 v = (void **)(p + ssi->opaque_user_data_offset);
1091 p += ssi->user_alloc;
1122 if (ssi->streamtype)
1123 memcpy(p, ssi->streamtype, strlen(ssi->streamtype) + 1);
1125 if (ssi->flags & LWSSSINFLAGS_SERVER)
1139 if (ssi->flags & LWSSSINFLAGS_SERVER)
1149 if (!(ssi->flags & LWSSSINFLAGS_PROXIED) &&
1156 * Just for this case, ssi->manual_initial_tx_credit is used
1161 (lws_smd_class_t)ssi->manual_initial_tx_credit,
1294 if (!ssi->streamtype &&
1309 if (!(ssi->flags & LWSSSINFLAGS_PROXIED) &&
1320 if (!(ssi->flags & LWSSSINFLAGS_REGISTER_SINK) &&
1324 //(ssi->flags & LWSSSINFLAGS_PROXIED))