Lines Matching refs:iov
83 struct iovec iov[5]; in send_request() local
100 iov[0].iov_base = &function; in send_request()
101 iov[0].iov_len = sizeof(function); in send_request()
102 iov[1].iov_base = &data1_size; in send_request()
103 iov[1].iov_len = sizeof(data1_size); in send_request()
104 iov[2].iov_base = &data2_size; in send_request()
105 iov[2].iov_len = sizeof(data2_size); in send_request()
106 iov[3].iov_base = (char *)data1; in send_request()
107 iov[3].iov_len = data1_size; in send_request()
108 iov[4].iov_base = (char *)data2; in send_request()
109 iov[4].iov_len = data2_size; in send_request()
111 msgh.msg_iov = iov; in send_request()
112 msgh.msg_iovlen = sizeof(iov) / sizeof(iov[0]); in send_request()
115 for (i = 0; i < sizeof(iov) / sizeof(iov[0]); i++) in send_request()
116 expected += iov[i].iov_len; in send_request()