Lines Matching refs:max_len
2570 size_t max_len, int flags) in recv_tls() argument
2597 size_t read_len = max_len - recv_len; in recv_tls()
2664 } while ((recv_len == 0) || (waitall && (recv_len < max_len))); in recv_tls()
2671 size_t max_len, int flags, in recvfrom_dtls_common() argument
2696 ret = mbedtls_ssl_read(&ctx->ssl, buf, max_len); in recvfrom_dtls_common()
2749 if ((remaining == 0) || (max_len == 0)) { in recvfrom_dtls_common()
2778 size_t max_len, int flags, in recvfrom_dtls_client() argument
2789 ret = recvfrom_dtls_common(ctx, buf, max_len, flags, src_addr, addrlen); in recvfrom_dtls_client()
2844 size_t max_len, int flags, in recvfrom_dtls_server() argument
2893 ret = recvfrom_dtls_common(ctx, buf, max_len, flags, in recvfrom_dtls_server()
2945 ssize_t ztls_recvfrom_ctx(struct tls_context *ctx, void *buf, size_t max_len, in ztls_recvfrom_ctx() argument
2961 return recv_tls(ctx, buf, max_len, flags); in ztls_recvfrom_ctx()
2967 return recvfrom_dtls_server(ctx, buf, max_len, flags, in ztls_recvfrom_ctx()
2971 return recvfrom_dtls_client(ctx, buf, max_len, flags, in ztls_recvfrom_ctx()
3819 static ssize_t tls_sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in tls_sock_recvfrom_vmeth() argument
3823 return ztls_recvfrom_ctx(obj, buf, max_len, flags, in tls_sock_recvfrom_vmeth()