Home
last modified time | relevance | path

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

12345

/external/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h611 void (*finalize)(struct lws_vhost *vh, void *arg);
843 lws_set_proxy(struct lws_vhost *vhost, const char *proxy);
863 lws_set_socks(struct lws_vhost *vhost, const char *socks);
865 struct lws_vhost;
876 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
899 lws_vhost_destroy(struct lws_vhost *vh);
944 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
953 lws_get_vhost_name(struct lws_vhost *vhost);
963 LWS_VISIBLE LWS_EXTERN struct lws_vhost *
972 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);
112 lws_adopt_descriptor_vhost(struct lws_vhost *vh, lws_adoption_type type,
117 struct lws_vhost *vh; /**< vhost the wsi should belong to */
199 lws_adopt_socket_vhost_readbuf(struct lws_vhost *vhost,
225 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-protocols-plugins.h98 lws_vhost_name_to_protocol(struct lws_vhost *vh, const char *name);
127 lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost,
140 lws_protocol_vh_priv_get(struct lws_vhost *vhost,
Dlws-client.h103 struct lws_vhost *vhost;
214 struct lws_vhost *vhost);
264 lws_tls_client_vhost_extra_cert_mem(struct lws_vhost *vh,
Dlws-timeout-timer.h169 lws_timed_callback_vh_protocol(struct lws_vhost *vh,
193 lws_timed_callback_vh_protocol_us(struct lws_vhost *vh,
Dlws-x509.h209 lws_tls_vhost_cert_info(struct lws_vhost *vhost, enum lws_tls_cert_info type,
227 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a,
Dlws-esp32.h119 struct lws_vhost;
133 lws_esp32_init(struct lws_context_creation_info *, struct lws_vhost **pvh);
/external/libwebsockets/lib/tls/
Dprivate-network.h82 lws_context_init_alpn(struct lws_vhost *vhost);
94 lws_ssl_SSL_CTX_destroy(struct lws_vhost *vhost);
117 lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi,
122 lws_tls_generic_cert_checks(struct lws_vhost *vhost, const char *cert,
127 struct lws_vhost *vhost);
129 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost);
136 lws_ssl_destroy(struct lws_vhost *vhost);
143 lws_tls_server_client_cert_verify_config(struct lws_vhost *vh);
146 struct lws_vhost *vhost, struct lws *wsi);
164 lws_tls_client_create_vhost_context(struct lws_vhost *vh,
[all …]
Dtls-network.c73 lws_tls_check_cert_lifetime(struct lws_vhost *v) in lws_tls_check_cert_lifetime()
108 struct lws_vhost *v = context->vhost_list; in lws_tls_check_all_cert_lifetimes()
125 lws_tls_generic_cert_checks(struct lws_vhost *vhost, const char *cert, in lws_tls_generic_cert_checks()
180 lws_start_foreach_ll(struct lws_vhost *, v, context->vhost_list) { in lws_tls_cert_updated()
202 struct lws_vhost *v = context->vhost_list; in lws_gate_accepts()
/external/libwebsockets/lib/core/
Dprivate-lib-core.h380 struct lws_vhost *vhost_list;
381 struct lws_vhost *no_listener_vhost_list;
382 struct lws_vhost *vhost_pending_destruction_list;
383 struct lws_vhost *vhost_system;
545 lws_vhost_destroy1(struct lws_vhost *vh);
610 lws_vhost_lock(struct lws_vhost *vhost) in lws_vhost_lock()
616 lws_vhost_unlock(struct lws_vhost *vhost) in lws_vhost_unlock()
645 lws_tls_check_cert_lifetime(struct lws_vhost *vhost);
658 lws_vhost_protocol_options(struct lws_vhost *vh, const char *name);
/external/libwebsockets/lib/core-net/
Dprivate-lib-core-net.h282 struct lws_vhost *vhost; /* only used for pending processing */
511 struct lws_vhost { struct
545 struct lws_vhost *vhost_next; argument
556 void (*finalize)(struct lws_vhost *vh, void *arg); argument
564 struct lws_vhost *no_listener_vhost_list; argument
610 __lws_vhost_destroy2(struct lws_vhost *vh); argument
703 struct lws_vhost *vhost;
920 lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port,
1005 lws_plat_set_socket_options(struct lws_vhost *vhost, lws_sockfd_type fd,
1039 struct lws_vhost *vhost);
[all …]
Dvhost.c234 lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, in lws_protocol_vh_priv_zalloc()
266 lws_protocol_vh_priv_get(struct lws_vhost *vhost, in lws_protocol_vh_priv_get()
293 lws_vhost_protocol_options(struct lws_vhost *vh, const char *name) in lws_vhost_protocol_options()
310 lws_protocol_init_vhost(struct lws_vhost *vh, int *any) in lws_protocol_init_vhost()
401 struct lws_vhost *vh = context->vhost_list; in lws_protocol_init()
465 struct lws_vhost *
469 struct lws_vhost *vh = lws_zalloc(sizeof(*vh), "create vhost"), in lws_create_vhost()
864 struct lws_vhost *vhost) in lws_init_vhost_client_ssl()
982 lws_vhost_destroy1(struct lws_vhost *vh)
1009 lws_start_foreach_ll(struct lws_vhost *, v,
[all …]
Dwsi.c47 lws_vhost_bind_wsi(struct lws_vhost *vh, struct lws *wsi) in lws_vhost_bind_wsi()
114 lws_vhost_name_to_protocol(struct lws_vhost *vh, const char *name) in lws_vhost_name_to_protocol()
149 lws_callback_all_protocol_vhost_args(struct lws_vhost *vh, in lws_callback_all_protocol_vhost_args()
175 lws_callback_all_protocol_vhost(struct lws_vhost *vh, in lws_callback_all_protocol_vhost()
194 lws_callback_vhost_protocols_vhost(struct lws_vhost *vh, int reason, void *in, in lws_callback_vhost_protocols_vhost()
609 struct lws_vhost *v = pt->context->vhost_list; in lws_broadcast()
698 lws_get_vhost_name(struct lws_vhost *vhost) in lws_get_vhost_name()
704 lws_get_vhost_port(struct lws_vhost *vhost) in lws_get_vhost_port()
710 lws_get_vhost_user(struct lws_vhost *vhost) in lws_get_vhost_user()
716 lws_get_vhost_iface(struct lws_vhost *vhost) in lws_get_vhost_iface()
[all …]
Dadopt.c48 lws_create_new_server_wsi(struct lws_vhost *vhost, int fixed_tsi) in lws_create_new_server_wsi()
119 lws_adopt_descriptor_vhost1(struct lws_vhost *vh, lws_adoption_type type, in lws_adopt_descriptor_vhost1()
312 lws_adopt_descriptor_vhost(struct lws_vhost *vh, lws_adoption_type type, in lws_adopt_descriptor_vhost()
374 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd) in lws_adopt_socket_vhost()
581 lws_create_adopt_udp(struct lws_vhost *vhost, const char *ads, int port, in lws_create_adopt_udp()
703 lws_adopt_socket_vhost_readbuf(struct lws_vhost *vhost, in lws_adopt_socket_vhost_readbuf()
Dserver.c32 const struct lws_vhost *vh = ctx->vhost_list; in lws_sum_stats()
52 lws_json_dump_vhost(const struct lws_vhost *vh, char *buf, int len) in lws_json_dump_vhost()
169 const struct lws_vhost *vh = context->vhost_list; in lws_json_dump_context()
Dwsi-timeout.c193 __lws_timed_callback_remove(struct lws_vhost *vh, struct lws_timed_vh_protocol *p) in __lws_timed_callback_remove()
231 lws_timed_callback_vh_protocol_us(struct lws_vhost *vh, in lws_timed_callback_vh_protocol_us()
271 lws_timed_callback_vh_protocol(struct lws_vhost *vh, in lws_timed_callback_vh_protocol()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c29 lws_tls_server_client_cert_verify_config(struct lws_vhost *vh) in lws_tls_server_client_cert_verify_config()
65 struct lws_vhost *vhost, *vh; in lws_mbedtls_sni_cb()
112 lws_tls_server_certs_load(struct lws_vhost *vhost, struct lws *wsi, in lws_tls_server_certs_load()
204 struct lws_vhost *vhost, struct lws *wsi) in lws_tls_server_vhost_backend_init()
468 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a, in lws_tls_acme_sni_cert_create()
606 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost) in lws_tls_acme_sni_cert_destroy()
/external/libwebsockets/lib/plat/unix/
Dunix-init.c63 lws_start_foreach_llp(struct lws_vhost **, pv, in lws_sul_plat_unix()
65 struct lws_vhost *v = *pv; in lws_sul_plat_unix()
/external/libwebsockets/lib/plat/optee/
Dnetwork.c189 lws_plat_set_socket_options(struct lws_vhost *vhost, int fd, int unix_skt) in lws_plat_set_socket_options()
196 lws_plat_write_cert(struct lws_vhost *vhost, int is_key, int fd, void *buf, in lws_plat_write_cert()
/external/libwebsockets/minimal-examples/dbus-client/minimal-dbus-client/
Dminimal-dbus-client.c87 create_dbus_client_conn(struct lws_vhost *vh, int tsi, const char *ads) in create_dbus_client_conn()
221 struct lws_vhost *vh; in main()
/external/libwebsockets/lib/abstract/
Dprivate-lib-abstract.h34 struct lws_vhost *vh;
/external/libwebsockets/lib/roles/
Dprivate-lib-roles.h190 int (*init_vhost)(struct lws_vhost *vh,
193 int (*destroy_vhost)(struct lws_vhost *vh);
/external/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c117 lws_ssl_destroy_client_ctx(struct lws_vhost *vhost) in lws_ssl_destroy_client_ctx()
140 lws_ssl_destroy(struct lws_vhost *vhost) in lws_ssl_destroy()
431 lws_ssl_SSL_CTX_destroy(struct lws_vhost *vhost) in lws_ssl_SSL_CTX_destroy()
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,
473 struct lws_vhost *vhost, struct lws *wsi)
716 lws_tls_acme_sni_cert_create(struct lws_vhost *vhost, const char *san_a,
837 lws_tls_acme_sni_cert_destroy(struct lws_vhost *vhost)

12345