Home
last modified time | relevance | path

Searched refs:mbedtls_net_context (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mbedtls/include/mbedtls/
Dnet_sockets.h95 typedef struct mbedtls_net_context struct
105 mbedtls_net_context; argument
113 void mbedtls_net_init( mbedtls_net_context *ctx );
130 int mbedtls_net_connect( mbedtls_net_context *ctx, const char *host, const char *port, int proto );
150 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto );
170 int mbedtls_net_accept( mbedtls_net_context *bind_ctx,
171 mbedtls_net_context *client_ctx,
199 int mbedtls_net_poll( mbedtls_net_context *ctx, uint32_t rw, uint32_t timeout );
208 int mbedtls_net_set_block( mbedtls_net_context *ctx );
217 int mbedtls_net_set_nonblock( mbedtls_net_context *ctx );
[all …]
/third_party/mbedtls/library/
Dnet_sockets.c172 void mbedtls_net_init( mbedtls_net_context *ctx ) in mbedtls_net_init()
180 int mbedtls_net_connect( mbedtls_net_context *ctx, const char *host, in mbedtls_net_connect()
235 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto ) in mbedtls_net_bind()
310 static int net_would_block( const mbedtls_net_context *ctx ) in net_would_block()
322 static int net_would_block( const mbedtls_net_context *ctx ) in net_would_block()
352 int mbedtls_net_accept( mbedtls_net_context *bind_ctx, in mbedtls_net_accept()
353 mbedtls_net_context *client_ctx, in mbedtls_net_accept()
471 int mbedtls_net_set_block( mbedtls_net_context *ctx ) in mbedtls_net_set_block()
482 int mbedtls_net_set_nonblock( mbedtls_net_context *ctx ) in mbedtls_net_set_nonblock()
497 int mbedtls_net_poll( mbedtls_net_context *ctx, uint32_t rw, uint32_t timeout ) in mbedtls_net_poll()
[all …]
/third_party/mbedtls/programs/ssl/
Dssl_pthread_server.c106 mbedtls_net_context client_fd;
124 mbedtls_net_context *client_fd = &thread_info->client_fd; in handle_ssl_connection()
273 static int thread_create( mbedtls_net_context *client_fd ) in thread_create()
302 memcpy( &threads[i].data.client_fd, client_fd, sizeof( mbedtls_net_context ) ); in thread_create()
316 mbedtls_net_context listen_fd, client_fd; in main()
Dssl_test_lib.h126 mbedtls_net_context *net;
247 int idle( mbedtls_net_context *fd,
Dssl_test_lib.c285 int idle( mbedtls_net_context *fd, in idle()
288 int idle( mbedtls_net_context *fd, in idle()
Dmini_client.c167 mbedtls_net_context server_fd; in main()
Dssl_client1.c83 mbedtls_net_context server_fd; in main()
Dssl_mail_client.c308 static int write_and_get_response( mbedtls_net_context *sock_fd, unsigned char *buf, size_t len ) in write_and_get_response()
362 mbedtls_net_context server_fd; in main()
Ddtls_client.c94 mbedtls_net_context server_fd; in main()
Dssl_server.c93 mbedtls_net_context listen_fd, client_fd; in main()
Dssl_fork_server.c99 mbedtls_net_context listen_fd, client_fd; in main()
Ddtls_server.c102 mbedtls_net_context listen_fd, client_fd; in main()
Dssl_client2.c653 mbedtls_net_context server_fd; in main()
Dssl_server2.c957 static mbedtls_net_context listen_fd, client_fd;
/third_party/mbedtls/programs/test/
Dudp_proxy.c392 mbedtls_net_context *ctx;
471 static int dispatch_data( mbedtls_net_context *ctx, in dispatch_data()
502 mbedtls_net_context *dst;
555 mbedtls_net_context *dst = p->dst; in send_packet()
701 mbedtls_net_context *dst, in handle_message()
702 mbedtls_net_context *src ) in handle_message()
807 mbedtls_net_context listen_fd, client_fd, server_fd; in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_net.function33 static int open_file_on_fd( mbedtls_net_context *ctx, int wanted_fd )
59 mbedtls_net_context ctx;
85 mbedtls_net_context ctx;
/third_party/libwebsockets/lib/plat/optee/
Dnetwork.c275 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_send()
300 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_recv()
/third_party/mbedtls/port/include/
Dtls_client.h43 mbedtls_net_context server_fd;
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-sockets.c337 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_send()
362 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_recv()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c561 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_send()
586 int fd = ((mbedtls_net_context *) ctx)->fd; in lws_plat_mbedtls_net_recv()
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c592 int fd = ((mbedtls_net_context *) ctx)->MBEDTLS_PRIVATE(fd); in lws_plat_mbedtls_net_send()
617 int fd = ((mbedtls_net_context *) ctx)->MBEDTLS_PRIVATE(fd); in lws_plat_mbedtls_net_recv()
/third_party/mbedtls/programs/pkey/
Ddh_client.c77 mbedtls_net_context server_fd; in main()
Ddh_server.c77 mbedtls_net_context listen_fd, client_fd; in main()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c39 mbedtls_net_context fd;
41 mbedtls_net_context cl_fd;
/third_party/mbedtls/programs/x509/
Dcert_app.c148 mbedtls_net_context server_fd; in main()

12