• Home
  • Raw
  • Download

Lines Matching refs:LTY_POLICY

337 		n = LTY_POLICY;  in lws_ss_policy_parser_cb()
374 a->curr[LTY_POLICY].p->u.http.respmap = lwsac_use_zero(&a->ac, in lws_ss_policy_parser_cb()
377 if (!a->curr[LTY_POLICY].p->u.http.respmap) in lws_ss_policy_parser_cb()
380 memcpy((void *)a->curr[LTY_POLICY].p->u.http.respmap, in lws_ss_policy_parser_cb()
382 a->curr[LTY_POLICY].p->u.http.count_respmap = (uint8_t)a->count; in lws_ss_policy_parser_cb()
416 if (n == LTY_POLICY) { in lws_ss_policy_parser_cb()
610 a->curr[LTY_POLICY].p->trust.server.cert = x; in lws_ss_policy_parser_cb()
612 a->curr[LTY_POLICY].p->trust.server.key = x; in lws_ss_policy_parser_cb()
650 pp = (char **)&a->curr[LTY_POLICY].p->endpoint; in lws_ss_policy_parser_cb()
654 pp = (char **)&a->curr[LTY_POLICY].p->socks5_proxy; in lws_ss_policy_parser_cb()
658 a->curr[LTY_POLICY].p->port = (uint16_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
662 a->curr[LTY_POLICY].p->proxy_buflen = (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb()
666 a->curr[LTY_POLICY].p->proxy_buflen_rxflow_on_above = in lws_ss_policy_parser_cb()
670 a->curr[LTY_POLICY].p->proxy_buflen_rxflow_off_below = in lws_ss_policy_parser_cb()
675 a->curr[LTY_POLICY].p->client_buflen = (uint32_t)atol(ctx->buf); in lws_ss_policy_parser_cb()
679 a->curr[LTY_POLICY].p->client_buflen_rxflow_on_above = in lws_ss_policy_parser_cb()
683 a->curr[LTY_POLICY].p->client_buflen_rxflow_off_below = in lws_ss_policy_parser_cb()
688 pp = (char **)&a->curr[LTY_POLICY].p->u.http.method; in lws_ss_policy_parser_cb()
692 pp = (char **)&a->curr[LTY_POLICY].p->u.http.url; in lws_ss_policy_parser_cb()
696 pp = (char **)&a->curr[LTY_POLICY].p->rideshare_streamtype; in lws_ss_policy_parser_cb()
700 pp = (char **)&a->curr[LTY_POLICY].p->payload_fmt; in lws_ss_policy_parser_cb()
707 (int)LWS_ARRAY_SIZE(a->curr[LTY_POLICY].p->plugins)) { in lws_ss_policy_parser_cb()
716 a->curr[LTY_POLICY].p->plugins[a->count++] = *pin; in lws_ss_policy_parser_cb()
729 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_TLS; in lws_ss_policy_parser_cb()
733 a->curr[LTY_POLICY].p->client_cert = (uint8_t)(atoi(ctx->buf) + 1); in lws_ss_policy_parser_cb()
740 a->curr[LTY_POLICY].p->u.http.resp_expect = (uint16_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
744 a->curr[LTY_POLICY].p->timeout_ms = (uint32_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
748 a->curr[LTY_POLICY].p->priority = (uint8_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
753 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_OPPORTUNISTIC; in lws_ss_policy_parser_cb()
757 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_NAILED_UP; in lws_ss_policy_parser_cb()
761 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_URGENT_TX; in lws_ss_policy_parser_cb()
765 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_URGENT_RX; in lws_ss_policy_parser_cb()
769 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_LONG_POLL; in lws_ss_policy_parser_cb()
773 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_PRIORITIZE_READS; in lws_ss_policy_parser_cb()
778 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
783 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
788 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
793 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
798 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
804 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
810 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
816 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
822 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_ATTR_LOW_COST; in lws_ss_policy_parser_cb()
827 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_PERF; in lws_ss_policy_parser_cb()
834 a->curr[LTY_POLICY].p->retry_bo = &bot->r; in lws_ss_policy_parser_cb()
848 a->curr[LTY_POLICY].p->trust.store = ts; in lws_ss_policy_parser_cb()
863 a->curr[LTY_POLICY].p->auth = in lws_ss_policy_parser_cb()
865 if (!a->curr[LTY_POLICY].p->auth) { in lws_ss_policy_parser_cb()
874 pmd = a->curr[LTY_POLICY].p->metadata; in lws_ss_policy_parser_cb()
875 a->curr[LTY_POLICY].p->metadata = lwsac_use_zero(&a->ac, in lws_ss_policy_parser_cb()
879 a->curr[LTY_POLICY].p->metadata->next = pmd; in lws_ss_policy_parser_cb()
881 q = (char *)a->curr[LTY_POLICY].p->metadata + in lws_ss_policy_parser_cb()
883 a->curr[LTY_POLICY].p->metadata->name = q; in lws_ss_policy_parser_cb()
888 a->curr[LTY_POLICY].p->metadata->value__may_own_heap = q; in lws_ss_policy_parser_cb()
897 a->curr[LTY_POLICY].p->metadata->value_is_http_token = (uint8_t) in lws_ss_policy_parser_cb()
901 a->curr[LTY_POLICY].p->metadata->length = /* the index in handle->metadata */ in lws_ss_policy_parser_cb()
902 a->curr[LTY_POLICY].p->metadata_count++; in lws_ss_policy_parser_cb()
904 a->curr[LTY_POLICY].p->metadata->value_length = ctx->npos; in lws_ss_policy_parser_cb()
925 pp = (char **)&a->curr[LTY_POLICY].p->u.http.blob_header[ in lws_ss_policy_parser_cb()
930 pp = (char **)&a->curr[LTY_POLICY].p->u.http.auth_preamble; in lws_ss_policy_parser_cb()
935 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
941 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
946 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
950 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_HTTP_MULTIPART; in lws_ss_policy_parser_cb()
951 pp = (char **)&a->curr[LTY_POLICY].p->u.http.multipart_name; in lws_ss_policy_parser_cb()
954 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_HTTP_MULTIPART; in lws_ss_policy_parser_cb()
955 pp = (char **)&a->curr[LTY_POLICY].p->u.http.multipart_filename; in lws_ss_policy_parser_cb()
958 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_HTTP_MULTIPART; in lws_ss_policy_parser_cb()
959 pp = (char **)&a->curr[LTY_POLICY].p->u.http.multipart_content_type; in lws_ss_policy_parser_cb()
973 a->curr[LTY_POLICY].p->u.http.fail_redirect = in lws_ss_policy_parser_cb()
978 pp = (char **)&a->curr[LTY_POLICY].p->aws_region; in lws_ss_policy_parser_cb()
982 pp = (char **)&a->curr[LTY_POLICY].p->aws_service; in lws_ss_policy_parser_cb()
991 pp = (char **)&a->curr[LTY_POLICY].p->u.http.u.ws.subprotocol; in lws_ss_policy_parser_cb()
995 a->curr[LTY_POLICY].p->u.http.u.ws.binary = in lws_ss_policy_parser_cb()
1002 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_LOCAL_SINK; in lws_ss_policy_parser_cb()
1007 a->curr[LTY_POLICY].p->flags |= LWSSSPOLF_SERVER; in lws_ss_policy_parser_cb()
1012 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.topic; in lws_ss_policy_parser_cb()
1016 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.subscribe; in lws_ss_policy_parser_cb()
1020 a->curr[LTY_POLICY].p->u.mqtt.qos = (uint8_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
1024 a->curr[LTY_POLICY].p->u.mqtt.keep_alive = (uint16_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
1028 a->curr[LTY_POLICY].p->u.mqtt.clean_start = in lws_ss_policy_parser_cb()
1032 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.will_topic; in lws_ss_policy_parser_cb()
1036 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.will_message; in lws_ss_policy_parser_cb()
1040 a->curr[LTY_POLICY].p->u.mqtt.will_qos = (uint8_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
1043 a->curr[LTY_POLICY].p->u.mqtt.will_retain = in lws_ss_policy_parser_cb()
1047 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.birth_topic; in lws_ss_policy_parser_cb()
1051 pp = (char **)&a->curr[LTY_POLICY].p->u.mqtt.birth_message; in lws_ss_policy_parser_cb()
1055 a->curr[LTY_POLICY].p->u.mqtt.birth_qos = (uint8_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
1058 a->curr[LTY_POLICY].p->u.mqtt.birth_retain = in lws_ss_policy_parser_cb()
1063 a->curr[LTY_POLICY].p->u.mqtt.aws_iot = in lws_ss_policy_parser_cb()
1069 a->curr[LTY_POLICY].p->flags |= in lws_ss_policy_parser_cb()
1075 a->curr[LTY_POLICY].p->protocol = 0xff; in lws_ss_policy_parser_cb()
1079 a->curr[LTY_POLICY].p->protocol = (uint8_t)n; in lws_ss_policy_parser_cb()
1081 if (a->curr[LTY_POLICY].p->protocol != 0xff) in lws_ss_policy_parser_cb()
1282 return args->heads[LTY_POLICY].p; in lws_ss_policy_get()