Searched refs:iob (Results 1 – 7 of 7) sorted by relevance
/unit/src/ |
H A D | nxt_unix.h | 276 #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 D | nxt_socket_msg.c | 11 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 D | nxt_socketpair.c | 86 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 D | nxt_conn_write.c | 440 struct iovec iob[NXT_IOBUF_MAX]; in nxt_event_conn_io_sendbuf() local 444 sb.iobuf = iob; in nxt_event_conn_io_sendbuf() 456 return nxt_event_conn_io_writev(c, iob, niob); in nxt_event_conn_io_sendbuf() 461 nxt_event_conn_io_writev(nxt_conn_t *c, nxt_iobuf_t *iob, nxt_uint_t niob) in nxt_event_conn_io_writev() argument 468 return nxt_event_conn_io_send(c, iob->iov_base, iob->iov_len); in nxt_event_conn_io_writev() 472 n = writev(c->socket.fd, iob, niob); in nxt_event_conn_io_writev()
|
H A D | nxt_socket.h | 116 nxt_iobuf_t *iob, nxt_uint_t niob); 118 nxt_iobuf_t *iob, nxt_uint_t niob, void *oob);
|
H A D | nxt_socket_msg.h | 61 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 D | nxt_conn.h | 78 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,
|