Lines Matching defs:lws_context

418 struct lws_context {  struct
442 struct lws_context_per_thread pt[LWS_MAX_SMP]; argument
443 lws_retry_bo_t default_retry;
444 lws_sorted_usec_list_t sul_system_state;
446 lws_lifecycle_group_t lcg[LWSLCG_COUNT];
449 lws_sorted_usec_list_t sul_nl_coldplug;
451 lws_dll2_owner_t routing_table;
452 struct lws *netlink;
456 struct sockaddr_in frt_pipe_si;
460 struct http2_settings set;
464 struct lws_mutex_refcount mr;
468 lws_dll2_owner_t owner_mtr_dynpol;
470 lws_dll2_owner_t owner_mtr_no_pol;
479 lws_dll2_owner_t owner_vh_being_destroyed;
481 lws_metric_t *mt_service; /* doing service */
482 const lws_metric_policy_t *metrics_policies;
483 const char *metrics_prefix;
486 lws_metric_t *mt_conn_tcp; /* client tcp conns */
487 lws_metric_t *mt_conn_tls; /* client tcp conns */
488 lws_metric_t *mt_conn_dns; /* client dns external lookups */
489 lws_metric_t *mth_conn_failures; /* histogram of conn failure reasons */
491 lws_metric_t *mt_http_txn; /* client http transaction */
516 struct lws_context_tls tls; argument
519 lws_netdevs_t netdevs;
523 lws_async_dns_t async_dns;
527 lws_fi_ctx_t fic;
533 void *ntpclient_priv;
537 struct lws_ss_handle *hss_fetch_policy;
539 struct lws_ss_handle *hss_auth;
540 lws_sorted_usec_list_t sul_api_amazon_com;
541 lws_sorted_usec_list_t sul_api_amazon_com_kick;
544 struct lws_ss_x509 *server_der_list;
549 lws_state_manager_t mgr_system;
550 lws_state_notify_link_t protocols_notify;
553 lws_dll2_owner_t dhcpc_owner;
559 struct lws_vhost *vhost_list;
560 struct lws_vhost *no_listener_vhost_list;
561 struct lws_vhost *vhost_pending_destruction_list;
562 struct lws_vhost *vhost_system;
565 const char *server_string;
568 const struct lws_event_loop_ops *event_loop_ops;
572 const struct lws_tls_ops *tls_ops;
576 struct lws_plugin *plugin_list;
601 struct lws_context **pcontext_finalize; argument
603 const char *username, *groupname;
607 mbedtls_entropy_context mec;
608 mbedtls_ctr_drbg_context mcdc;
612 struct lws_threadpool *tp_list_head;
616 struct lws_peer **pl_hash_table;
617 struct lws_peer *peer_wait_list;
618 lws_peer_limits_notify_t pl_notify_cb;
619 time_t next_cull;
622 const lws_system_ops_t *system_ops;
626 const char *pss_policies_json;
627 struct lwsac *ac_policy;
628 void *pol_args;
630 const lws_ss_policy_t *pss_policies;
631 const lws_ss_auth_t *pss_auths;
633 const lws_ss_plugin_t **pss_plugins;
637 void *external_baggage_free_on_destroy;
638 const struct lws_token_limits *token_limits;
639 void *user_space;
641 const struct lws_protocol_vhost_options *reject_service_keywords;
642 lws_reload_func deprecation_cb;
645 void (*eventlib_signal_cb)(void *event_lib_handle, int signum);
649 cap_value_t caps[4];
650 char count_caps;
653 lws_usec_t time_up; /* monotonic */
655 lws_usec_t smd_ttl_us;
657 uint64_t options;
659 time_t last_ws_ping_pong_check_s;
661 time_t last_policy;
665 unsigned long time_last_state_dump;
666 uint32_t last_free_heap;
669 unsigned int max_fds;
671 pid_t started_with_parent;
675 uid_t uid;
676 gid_t gid;
677 int fd_random;
678 int count_cgi_spawned;
681 unsigned int fd_limit_per_thread;
682 unsigned int timeout_secs;
683 unsigned int pt_serv_buf_size;
684 unsigned int max_http_header_data;
685 unsigned int max_http_header_pool;
686 int simultaneous_ssl_restriction;
687 int simultaneous_ssl;
688 int ssl_handshake_serialize;
690 uint32_t pl_hash_elements; /* protected by context->lock */
691 uint32_t count_peers; /* protected by context->lock */
692 unsigned short ip_limit_ah;
693 unsigned short ip_limit_wsi;
697 uint16_t smd_queue_depth;
701 lws_route_uidx_t route_uidx;
704 unsigned int deprecated:1;
705 unsigned int inside_context_destroy:1;
706 unsigned int being_destroyed:1;
707 unsigned int service_no_longer_possible:1;
708 unsigned int being_destroyed2:1;
709 unsigned int requested_stop_internal_loops:1;
710 unsigned int protocol_init_done:1;
711 unsigned int doing_protocol_init:1;
712 unsigned int done_protocol_destroy_cb:1;
736 uint8_t destroy_state; /* enum lws_context_destroy */ argument