Lines Matching refs:msg
2854 int sock_cmsg_send(struct sock *sk, struct msghdr *msg, in sock_cmsg_send() argument
2860 for_each_cmsghdr(cmsg, msg) { in sock_cmsg_send()
2861 if (!CMSG_OK(msg, cmsg)) in sock_cmsg_send()
3625 int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, in sock_recv_errqueue() argument
3639 msg->msg_flags |= MSG_TRUNC; in sock_recv_errqueue()
3642 err = skb_copy_datagram_msg(skb, 0, msg, copied); in sock_recv_errqueue()
3646 sock_recv_timestamp(msg, sk, skb); in sock_recv_errqueue()
3649 put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee); in sock_recv_errqueue()
3651 msg->msg_flags |= MSG_ERRQUEUE; in sock_recv_errqueue()
3678 int sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in sock_common_recvmsg() argument
3685 err = sk->sk_prot->recvmsg(sk, msg, size, flags, &addr_len); in sock_common_recvmsg()
3687 msg->msg_namelen = addr_len; in sock_common_recvmsg()