Lines Matching refs:outmessage
72 struct msghdr outmessage;
167 outmessage.msg_name = &loop2;
168 outmessage.msg_namelen = sizeof(loop2);
169 outmessage.msg_iov = &out_iov;
170 outmessage.msg_iovlen = 1;
171 outmessage.msg_control = outcmsg;
172 outmessage.msg_controllen = sizeof(outcmsg);
173 outmessage.msg_flags = 0;
174 cmsg = CMSG_FIRSTHDR(&outmessage);
178 outmessage.msg_controllen = cmsg->cmsg_len;
185 outmessage.msg_iov->iov_base = message;
186 outmessage.msg_iov->iov_len = strlen(message) + 1;
187 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1);
287 outmessage.msg_controllen = sizeof(outcmsg);
288 outmessage.msg_flags = 0;
289 cmsg = CMSG_FIRSTHDR(&outmessage);
293 outmessage.msg_controllen = cmsg->cmsg_len;
300 outmessage.msg_iov->iov_base = telephone;
301 outmessage.msg_iov->iov_len = strlen(telephone) + 1;
302 outmessage.msg_name = NULL;
303 outmessage.msg_namelen = 0;
304 bytes_sent = sendmsg(sk1, &outmessage, MSG_NOSIGNAL);
313 bytes_sent = sendmsg(sk1, &outmessage, MSG_NOSIGNAL);
323 test_sendmsg(sk1, &outmessage, 0, strlen(telephone)+1);
325 outmessage.msg_name = &loop2;
326 outmessage.msg_namelen = sizeof(loop2);
327 outmessage.msg_iov->iov_base = telephone_resp;
328 outmessage.msg_iov->iov_len = strlen(telephone_resp) + 1;
329 test_sendmsg(sk1, &outmessage, 0, strlen(telephone_resp)+1);