Lines Matching refs:msg
62 struct msghdr msg; in ReadRest() local
82 msg.msg_name = 0; in ReadRest()
83 msg.msg_namelen = 0; in ReadRest()
84 msg.msg_iov = &iov; in ReadRest()
85 msg.msg_iovlen = 1; in ReadRest()
86 msg.msg_control = NULL; in ReadRest()
87 msg.msg_controllen = 0; in ReadRest()
88 msg.msg_flags = MSG_DONTWAIT; in ReadRest()
90 msg.msg_iov->iov_base = &Buffer[0]; in ReadRest()
91 msg.msg_iov->iov_len = (__kernel_size_t)1024; in ReadRest()
95 len = sock_recvmsg(sock,&msg,1024,MSG_DONTWAIT); in ReadRest()
147 struct msghdr msg; in SendBuffer() local
154 msg.msg_name = 0; in SendBuffer()
155 msg.msg_namelen = 0; in SendBuffer()
156 msg.msg_iov = &iov; in SendBuffer()
157 msg.msg_iovlen = 1; in SendBuffer()
158 msg.msg_control = NULL; in SendBuffer()
159 msg.msg_controllen = 0; in SendBuffer()
160 msg.msg_flags = MSG_NOSIGNAL; in SendBuffer()
161 msg.msg_iov->iov_len = (__kernel_size_t)Length; in SendBuffer()
162 msg.msg_iov->iov_base = (char*) Buffer; in SendBuffer()
168 len = sock_sendmsg(sock,&msg,(size_t)(Length-len)); in SendBuffer()
176 struct msghdr msg; in SendBuffer_async() local
182 msg.msg_name = 0; in SendBuffer_async()
183 msg.msg_namelen = 0; in SendBuffer_async()
184 msg.msg_iov = &iov; in SendBuffer_async()
185 msg.msg_iovlen = 1; in SendBuffer_async()
186 msg.msg_control = NULL; in SendBuffer_async()
187 msg.msg_controllen = 0; in SendBuffer_async()
188 msg.msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL; in SendBuffer_async()
189 msg.msg_iov->iov_base = (char*) Buffer; in SendBuffer_async()
190 msg.msg_iov->iov_len = (__kernel_size_t)Length; in SendBuffer_async()
196 len = sock_sendmsg(sock,&msg,(size_t)(Length)); in SendBuffer_async()