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