Home
last modified time | relevance | path

Searched refs:lws_vhost (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h727 void (*finalize)(struct lws_vhost *vh, void *arg);
1031 lws_set_proxy(struct lws_vhost *vhost, const char *proxy);
1051 lws_set_socks(struct lws_vhost *vhost, const char *socks);
1053 struct lws_vhost;
1064 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
1087 lws_vhost_destroy(struct lws_vhost *vh);
1132 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
1141 lws_get_vhost_name(struct lws_vhost *vhost);
1151 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
1160 lws_get_vhost_port(struct lws_vhost *vhost);
[all …]
Dlws-adopt.h64 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd);
144 lws_adopt_descriptor_vhost(struct lws_vhost *vh, lws_adoption_type type,
149 struct lws_vhost *vh; /**< vhost the wsi should belong to */
232 lws_adopt_socket_vhost_readbuf(struct lws_vhost *vhost,
263 lws_create_adopt_udp(struct lws_vhost *vhost, const char *ads, int port,
Dlws-writeable.h90 lws_callback_on_writable_all_protocol_vhost(const struct lws_vhost *vhost,
127 lws_callback_all_protocol_vhost(struct lws_vhost *vh,
147 lws_callback_all_protocol_vhost_args(struct lws_vhost *vh,
186 lws_callback_vhost_protocols_vhost(struct lws_vhost *vh, int reason, void *in,
Dlws-client.h145 struct lws_vhost *vhost;
286 struct lws_vhost *vhost);
337 lws_tls_client_vhost_extra_cert_mem(struct lws_vhost *vh,
Dlws-protocols-plugins.h100 lws_vhost_name_to_protocol(struct lws_vhost *vh, const char *name);
129 lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost,
142 lws_protocol_vh_priv_get(struct lws_vhost *vhost,
Dlws-tls-sessions.h60 lws_tls_session_dump_save(struct lws_vhost *vh, const char *host, uint16_t port,
78 lws_tls_session_dump_load(struct lws_vhost *vh, const char *host, uint16_t port,
Dlws-x509.h223 lws_tls_vhost_cert_info(struct lws_vhost *vhost, enum lws_tls_cert_info type,
241 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a,
/third_party/libwebsockets/lib/tls/
Dprivate-network.h95 lws_context_init_alpn(struct lws_vhost *vhost);
112 lws_ssl_SSL_CTX_destroy(struct lws_vhost *vhost);
134 lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi,
139 lws_tls_generic_cert_checks(struct lws_vhost *vhost, const char *cert,
144 struct lws_vhost *vhost);
146 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost);
153 lws_ssl_destroy(struct lws_vhost *vhost);
160 lws_tls_server_client_cert_verify_config(struct lws_vhost *vh);
163 struct lws_vhost *vhost, struct lws *wsi);
181 lws_tls_client_create_vhost_context(struct lws_vhost *vh,
[all …]
Dtls-network.c74 lws_tls_check_cert_lifetime(struct lws_vhost *v) in lws_tls_check_cert_lifetime()
109 struct lws_vhost *v = context->vhost_list; in lws_tls_check_all_cert_lifetimes()
126 lws_tls_generic_cert_checks(struct lws_vhost *vhost, const char *cert, in lws_tls_generic_cert_checks()
181 lws_start_foreach_ll(struct lws_vhost *, v, context->vhost_list) { in lws_tls_cert_updated()
201 struct lws_vhost *v = context->vhost_list; in lws_gate_accepts()
Dprivate-jit-trust.h143 struct lws_vhost **pvh);
146 lws_tls_jit_trust_vh_start_grace(struct lws_vhost *vh);
Dtls-jit-trust.c240 struct lws_vhost **pvh) in lws_tls_jit_trust_vhost_bind()
358 struct lws_vhost *vh = lws_container_of(sul, struct lws_vhost, in unref_vh_grace_cb()
367 lws_tls_jit_trust_vh_start_grace(struct lws_vhost *vh) in lws_tls_jit_trust_vh_start_grace()
423 struct lws_vhost *v; in lws_tls_jit_trust_got_cert_cb()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-session.c54 __lws_tls_session_lookup_by_name(struct lws_vhost *vh, const char *name) in __lws_tls_session_lookup_by_name()
139 lws_tls_session_vh_destroy(struct lws_vhost *vh) in lws_tls_session_vh_destroy()
149 struct lws_vhost *vh = lws_container_of(ts->list.owner, in lws_tls_session_expiry_cb()
150 struct lws_vhost, tls_sessions); in lws_tls_session_expiry_cb()
168 struct lws_vhost *vh; in lws_tls_session_new_mbedtls()
296 lws_tls_session_cache(struct lws_vhost *vh, uint32_t ttl) in lws_tls_session_cache()
303 lws_tls_session_dump_save(struct lws_vhost *vh, const char *host, uint16_t port, in lws_tls_session_dump_save()
313 lws_tls_session_dump_load(struct lws_vhost *vh, const char *host, uint16_t port, in lws_tls_session_dump_load()
Dmbedtls-server.c30 lws_tls_server_client_cert_verify_config(struct lws_vhost *vh) in lws_tls_server_client_cert_verify_config()
58 struct lws_vhost *vhost, *vh; in lws_mbedtls_sni_cb()
105 lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi, in lws_tls_server_certs_load()
186 struct lws_vhost *vhost, struct lws *wsi) in lws_tls_server_vhost_backend_init()
453 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a, in lws_tls_acme_sni_cert_create()
591 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost) in lws_tls_acme_sni_cert_destroy()
/third_party/libwebsockets/lib/core-net/
Dvhost.c28 lws_tls_session_vh_destroy(struct lws_vhost *vh);
245 lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, in lws_protocol_vh_priv_zalloc()
286 lws_protocol_vh_priv_get(struct lws_vhost *vhost, in lws_protocol_vh_priv_get()
320 struct lws_vhost *vh; in lws_vhd_find_by_pvo()
364 lws_vhost_protocol_options(struct lws_vhost *vh, const char *name) in lws_vhost_protocol_options()
381 lws_protocol_init_vhost(struct lws_vhost *vh, int *any) in lws_protocol_init_vhost()
500 struct lws_vhost *vh = context->vhost_list; in lws_protocol_init()
573 struct lws_vhost *
577 struct lws_vhost *vh, **vh1 = &context->vhost_list; in lws_create_vhost()
1064 struct lws_vhost *vhost) in lws_init_vhost_client_ssl()
[all …]
Dprivate-lib-core-net.h410 struct lws_vhost { struct
458 struct lws_vhost *vhost_next; argument
478 void (*finalize)(struct lws_vhost *vh, void *arg); argument
486 struct lws_vhost *no_listener_vhost_list; argument
547 __lws_vhost_destroy2(struct lws_vhost *vh); argument
590 struct lws_vhost *vhost;
949 lws_socket_bind(struct lws_vhost *vhost, struct lws *wsi,
1050 lws_plat_set_socket_options(struct lws_vhost *vhost, lws_sockfd_type fd,
1087 struct lws_vhost *vhost);
1088 struct lws_vhost *
[all …]
Dwsi.c65 lws_vhost_bind_wsi(struct lws_vhost *vh, struct lws *wsi) in lws_vhost_bind_wsi()
95 struct lws_vhost *vh = wsi->a.vhost; in __lws_vhost_unbind_wsi()
153 lws_vhost_name_to_protocol(struct lws_vhost *vh, const char *name) in lws_vhost_name_to_protocol()
205 lws_callback_all_protocol_vhost_args(struct lws_vhost *vh, in lws_callback_all_protocol_vhost_args()
231 lws_callback_all_protocol_vhost(struct lws_vhost *vh, in lws_callback_all_protocol_vhost()
389 lws_callback_vhost_protocols_vhost(struct lws_vhost *vh, int reason, void *in, in lws_callback_vhost_protocols_vhost()
852 struct lws_vhost *v = pt->context->vhost_list; in lws_broadcast()
954 lws_get_vhost_name(struct lws_vhost *vhost) in lws_get_vhost_name()
960 lws_get_vhost_port(struct lws_vhost *vhost) in lws_get_vhost_port()
966 lws_get_vhost_user(struct lws_vhost *vhost) in lws_get_vhost_user()
[all …]
Dadopt.c48 lws_create_new_server_wsi(struct lws_vhost *vhost, int fixed_tsi, const char *desc) in lws_create_new_server_wsi()
121 __lws_adopt_descriptor_vhost1(struct lws_vhost *vh, lws_adoption_type type, in __lws_adopt_descriptor_vhost1()
480 lws_adopt_descriptor_vhost(struct lws_vhost *vh, lws_adoption_type type, in lws_adopt_descriptor_vhost()
554 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd) in lws_adopt_socket_vhost()
793 lws_create_adopt_udp(struct lws_vhost *vhost, const char *ads, int port, in lws_create_adopt_udp()
935 lws_adopt_socket_vhost_readbuf(struct lws_vhost *vhost, in lws_adopt_socket_vhost_readbuf()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-session.c57 __lws_tls_session_lookup_by_name(struct lws_vhost *vh, const char *name) in __lws_tls_session_lookup_by_name()
152 lws_tls_session_vh_destroy(struct lws_vhost *vh) in lws_tls_session_vh_destroy()
162 struct lws_vhost *vh = lws_container_of(ts->list.owner, in lws_tls_session_expiry_cb()
163 struct lws_vhost, tls_sessions); in lws_tls_session_expiry_cb()
173 lws_tls_session_add_entry(struct lws_vhost *vh, const char *tag) in lws_tls_session_add_entry()
216 struct lws_vhost *vh; in lws_tls_session_new_cb()
342 lws_tls_session_cache(struct lws_vhost *vh, uint32_t ttl) in lws_tls_session_cache()
367 lws_tls_session_dump_save(struct lws_vhost *vh, const char *host, uint16_t port, in lws_tls_session_dump_save()
419 lws_tls_session_dump_load(struct lws_vhost *vh, const char *host, uint16_t port, in lws_tls_session_dump_load()
Dopenssl-server.c71 lws_tls_server_client_cert_verify_config(struct lws_vhost *vh) in lws_tls_server_client_cert_verify_config()
100 struct lws_vhost *vhost, *vh; in lws_ssl_server_name_cb()
153 lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi,
498 struct lws_vhost *vhost, struct lws *wsi)
814 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a,
935 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost)
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h579 struct lws_vhost *vhost_list;
580 struct lws_vhost *no_listener_vhost_list;
581 struct lws_vhost *vhost_pending_destruction_list;
582 struct lws_vhost *vhost_system;
775 lws_vhost_destroy1(struct lws_vhost *vh);
876 lws_tls_check_cert_lifetime(struct lws_vhost *vhost);
889 lws_vhost_protocol_options(struct lws_vhost *vh, const char *name);
953 lws_plat_vhost_tls_client_ctx_init(struct lws_vhost *vhost);
/third_party/libwebsockets/lib/secure-streams/
Dpolicy-common.c301 struct lws_vhost *
306 struct lws_vhost *v; in lws_ss_policy_ref_trust_store()
383 struct lws_vhost *v; in lws_ss_policy_unref_trust_store()
413 struct lws_vhost *v; in lws_ss_policy_set()
489 struct lws_vhost *vh = v->vhost_next; in lws_ss_policy_set()
/third_party/libwebsockets/lib/plat/optee/
Dnetwork.c198 lws_plat_set_socket_options(struct lws_vhost *vhost, int fd, int unix_skt) in lws_plat_set_socket_options()
205 lws_plat_write_cert(struct lws_vhost *vhost, int is_key, int fd, void *buf, in lws_plat_write_cert()
266 lws_plat_vhost_tls_client_ctx_init(struct lws_vhost *vhost) in lws_plat_vhost_tls_client_ctx_init()
/third_party/libwebsockets/lib/roles/pipe/
Dops-pipe.c85 struct lws_vhost *v = in rops_handle_POLLIN_pipe()
86 lws_container_of(d, struct lws_vhost, in rops_handle_POLLIN_pipe()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-multivhost/
Dminimal-http-server.c83 void vh_destruction_notification(struct lws_vhost *vh, void *arg) in vh_destruction_notification()
92 struct lws_vhost *new_vhost; in main()
/third_party/libwebsockets/lib/plat/unix/
Dunix-init.c65 lws_start_foreach_llp(struct lws_vhost **, pv, in lws_sul_plat_unix()
67 struct lws_vhost *v = *pv; in lws_sul_plat_unix()

12345