Lines Matching defs:info
415 struct lws_context_creation_info info;
432 * take care to zero down the info struct, he contains random garbaage
435 memset(&info, 0, sizeof info);
436 info.port = 7681;
482 info.port = atoi(optarg);
494 info.bind_iface = 1;
496 info.caps[0] = CAP_NET_RAW;
497 info.count_caps = 1;
578 info.iface = iface;
579 info.protocols = protocols;
582 info.ssl_cert_filepath = NULL;
583 info.ssl_private_key_filepath = NULL;
601 info.ssl_cert_filepath = cert_path;
602 info.ssl_private_key_filepath = key_path;
604 info.ssl_ca_filepath = ca_path;
608 info.gid = gid;
609 info.uid = uid;
610 info.options = opts | LWS_SERVER_OPTION_VALIDATE_UTF8 | LWS_SERVER_OPTION_EXPLICIT_VHOSTS;
612 info.extensions = exts;
614 info.timeout_secs = 5;
616 info.ssl_cipher_list = "ECDHE-ECDSA-AES256-GCM-SHA384:"
630 info.mounts = &mount;
632 info.ip_limit_ah = 128; /* for testing */
633 info.ip_limit_wsi = 800; /* for testing */
638 info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
640 context = lws_create_context(&info);
646 info.pvo = &pvo;
648 vhost = lws_create_vhost(context, &info);
656 * Normally if you were creating more vhosts, you would set info.name
660 info.port++;
663 lws_init_vhost_client_ssl(&info, vhost);
726 dynamic_vhost = lws_create_vhost(context, &info);