Lines Matching refs:sent
856 ssize_t sent; in dtls_tx() local
858 sent = zsock_sendto(tls_ctx->sock, buf, len, ZSOCK_MSG_DONTWAIT, in dtls_tx()
861 if (sent < 0) { in dtls_tx()
869 return sent; in dtls_tx()
918 ssize_t sent; in tls_tx() local
920 sent = zsock_sendto(tls_ctx->sock, buf, len, in tls_tx()
922 if (sent < 0) { in tls_tx()
930 return sent; in tls_tx()
2510 size_t sent = 0; in tls_sendmsg_loop_and_send() local
2516 while (sent < vec->iov_len) { in tls_sendmsg_loop_and_send()
2517 uint8_t *ptr = (uint8_t *)vec->iov_base + sent; in tls_sendmsg_loop_and_send()
2519 ret = ztls_sendto_ctx(ctx, ptr, vec->iov_len - sent, in tls_sendmsg_loop_and_send()
2525 sent += ret; in tls_sendmsg_loop_and_send()
2527 len += sent; in tls_sendmsg_loop_and_send()