Lines Matching refs:msg
328 struct msghdr msg; in __msgread() local
334 msg.msg_iov = &iov; in __msgread()
335 msg.msg_iovlen = 1; in __msgread()
336 msg.msg_name = NULL; in __msgread()
337 msg.msg_namelen = 0; in __msgread()
339 msg.msg_control = (caddr_t) &cm; in __msgread()
340 msg.msg_controllen = sizeof (struct cmessage); in __msgread()
342 msg.msg_flags = 0; in __msgread()
353 len = __recvmsg (sock, &msg, 0); in __msgread()
356 if (msg.msg_flags & MSG_CTRUNC || len == 0) in __msgread()
375 struct msghdr msg; in __msgwrite()
395 msg.msg_iov = &iov; in __msgwrite()
396 msg.msg_iovlen = 1; in __msgwrite()
397 msg.msg_name = NULL; in __msgwrite()
398 msg.msg_namelen = 0; in __msgwrite()
399 msg.msg_control = cmsg; in __msgwrite()
400 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
401 msg.msg_flags = 0; in __msgwrite()
404 len = __sendmsg (sock, &msg, 0); in __msgwrite()
491 svcunix_recv (SVCXPRT *xprt, struct rpc_msg *msg) in svcunix_recv() argument
498 if (xdr_callmsg (xdrs, msg)) in svcunix_recv()
500 cd->x_id = msg->rm_xid; in svcunix_recv()
503 msg->rm_call.cb_verf.oa_flavor = AUTH_UNIX; in svcunix_recv()
504 msg->rm_call.cb_verf.oa_base = (caddr_t) &cm; in svcunix_recv()
505 msg->rm_call.cb_verf.oa_length = sizeof (cm); in svcunix_recv()
530 svcunix_reply (SVCXPRT *xprt, struct rpc_msg *msg) in svcunix_reply() argument
537 msg->rm_xid = cd->x_id; in svcunix_reply()
538 stat = xdr_replymsg (xdrs, msg); in svcunix_reply()