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