Lines Matching defs:rmsghdr
407 struct msghdr rmsghdr;
421 /* rcmsgp = CMSG_NXTHDR (&rmsghdr, rcmsgp); */
424 rmsghdr.msg_iov = message;
425 rmsghdr.msg_iovlen = iov_count (message);
426 rmsghdr.msg_name = (caddr_t) &src_sin6;
427 rmsghdr.msg_namelen = sizeof (struct sockaddr_in6);
428 rmsghdr.msg_control = (caddr_t) cmsgbuf;
429 rmsghdr.msg_controllen = sizeof (cmsgbuf);
431 retval = recvmsg (ospf6_sock, &rmsghdr, 0);
458 struct msghdr rmsghdr;
472 /* rcmsgp = CMSG_NXTHDR (&rmsghdr, rcmsgp); */
475 rmsghdr.msg_iov = message;
476 rmsghdr.msg_iovlen = iov_count (message);
477 rmsghdr.msg_name = (caddr_t) &src_sin6;
478 rmsghdr.msg_namelen = sizeof (struct sockaddr_in6);
479 rmsghdr.msg_control = (caddr_t) cmsgbuf;
480 rmsghdr.msg_controllen = sizeof (cmsgbuf);
482 retval = recvmsg (ospf6_sock, &rmsghdr, MSG_PEEK);