Home
last modified time | relevance | path

Searched refs:iob (Results 1 – 7 of 7) sorted by relevance

/unit/src/
H A Dnxt_unix.h276 #define nxt_iobuf_data(iob) \ argument
277 (iob)->iov_base
279 #define nxt_iobuf_size(iob) \ argument
280 (iob)->iov_len
282 #define nxt_iobuf_set(iob, p, size) \ argument
284 (iob)->iov_base = (void *) p; \
285 (iob)->iov_len = size; \
288 #define nxt_iobuf_add(iob, size) \ argument
289 (iob)->iov_len += size
H A Dnxt_socket_msg.c11 nxt_sendmsg(nxt_socket_t s, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_sendmsg() argument
18 msg.msg_iov = iob; in nxt_sendmsg()
37 nxt_recvmsg(nxt_socket_t s, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_recvmsg() argument
45 msg.msg_iov = iob; in nxt_recvmsg()
H A Dnxt_socketpair.c86 nxt_socketpair_send(nxt_fd_event_t *ev, nxt_fd_t *fd, nxt_iobuf_t *iob, in nxt_socketpair_send() argument
96 n = nxt_sendmsg(ev->fd, iob, niob, &oob); in nxt_socketpair_send()
141 nxt_socketpair_recv(nxt_fd_event_t *ev, nxt_iobuf_t *iob, nxt_uint_t niob, in nxt_socketpair_recv() argument
148 n = nxt_recvmsg(ev->fd, iob, niob, oob); in nxt_socketpair_recv()
H A Dnxt_socket.h116 nxt_iobuf_t *iob, nxt_uint_t niob);
118 nxt_iobuf_t *iob, nxt_uint_t niob, void *oob);
H A Dnxt_conn_write.c433 struct iovec iob[NXT_IOBUF_MAX]; in nxt_event_conn_io_sendbuf() local
437 sb.iobuf = iob; in nxt_event_conn_io_sendbuf()
449 return nxt_event_conn_io_writev(c, iob, niob); in nxt_event_conn_io_sendbuf()
454 nxt_event_conn_io_writev(nxt_conn_t *c, nxt_iobuf_t *iob, nxt_uint_t niob) in nxt_event_conn_io_writev() argument
461 return nxt_event_conn_io_send(c, iob->iov_base, iob->iov_len); in nxt_event_conn_io_writev()
465 n = writev(c->socket.fd, iob, niob); in nxt_event_conn_io_writev()
H A Dnxt_socket_msg.h61 NXT_EXPORT ssize_t nxt_sendmsg(nxt_socket_t s, nxt_iobuf_t *iob,
69 nxt_iobuf_t *iob, nxt_uint_t niob, nxt_recv_oob_t *oob);
H A Dnxt_conn.h78 nxt_iobuf_t *iob, nxt_uint_t niob);
256 nxt_iobuf_t *iob, nxt_uint_t niob);
263 ssize_t nxt_event_conn_io_writev(nxt_conn_t *c, nxt_iobuf_t *iob,