Lines Matching refs:data
52 client that data is waiting. Instead of making blocking calls in
54 when data is available or the socket is ready for sending.
210 @discussion Receive data from a socket. Similar to recvmsg. See 'man
211 2 recvmsg' for more information about receiving data.
213 @param msg The msg describing how the data should be received.
225 @discussion Receive data from a socket. Similar to sock_receive
226 though data is returned as a chain of mbufs. See 'man 2 recvmsg'
227 for more information about receiving data.
229 @param msg The msg describing how the data should be received. May
231 @param data Upon return *data will be a reference to an mbuf chain
232 containing the data received. This eliminates copying the data
241 errno_t sock_receivembuf(socket_t so, struct msghdr *msg, mbuf_t *data,
246 @discussion Send data on a socket. Similar to sendmsg. See 'man 2
247 sendmsg' for more information about sending data.
249 @param msg The msg describing how the data should be sent. Any
250 pointers must point to data in the kernel.
261 @discussion Send data in an mbuf on a socket. Similar to sock_send
262 only the data to be sent is taken from the mbuf chain.
264 @param msg The msg describing how the data should be sent. The
266 @param data The mbuf chain of data to send.
271 Regardless of return value, the mbuf chain 'data' will be freed.
273 errno_t sock_sendmbuf(socket_t so, const struct msghdr *msg, mbuf_t data,