Lines Matching refs:rmsg
51 find_ancillary(struct msghdr *rmsg, int cmsg_type) in find_ancillary() argument
55 for (cmsg = CMSG_FIRSTHDR(rmsg); cmsg != NULL; in find_ancillary()
56 cmsg = CMSG_NXTHDR(rmsg, cmsg)) { in find_ancillary()
73 struct msghdr rmsg; in in_data() local
79 rmsg.msg_name = &from; in in_data()
80 rmsg.msg_namelen = (socklen_t)sizeof (from); in in_data()
81 rmsg.msg_iov = &iov; in in_data()
82 rmsg.msg_iovlen = 1; in in_data()
83 rmsg.msg_control = control; in in_data()
84 rmsg.msg_controllen = IPV6_MAX_PACKET; in in_data()
86 if ((len = recvmsg(ifp->int_sock, &rmsg, 0)) < 0) { in in_data()
103 if (rmsg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) { in in_data()
107 rmsg.msg_flags, buf1); in in_data()
112 if ((hopcntopt = find_ancillary(&rmsg, IPV6_HOPLIMIT)) == NULL) { in in_data()