Searched refs:rcvhdr (Results 1 – 4 of 4) sorted by relevance
199 struct msghdr rcvhdr; member
1641 ctx->rcvhdr.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in ipv6nd_handledata()1643 len = recvmsg(ctx->nd_fd, &ctx->rcvhdr, 0); in ipv6nd_handledata()1661 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&ctx->rcvhdr); in ipv6nd_handledata()1663 cm = (struct cmsghdr *)CMSG_NXTHDR(&ctx->rcvhdr, cm)) in ipv6nd_handledata()1696 icp = (struct icmp6_hdr *)ctx->rcvhdr.msg_iov[0].iov_base; in ipv6nd_handledata()
160 ctx->rcvhdr.msg_name = &ctx->from; in ipv6_init()161 ctx->rcvhdr.msg_namelen = sizeof(ctx->from); in ipv6_init()162 ctx->rcvhdr.msg_iov = ctx->rcviov; in ipv6_init()163 ctx->rcvhdr.msg_iovlen = 1; in ipv6_init()164 ctx->rcvhdr.msg_control = ctx->rcvbuf; in ipv6_init()
2622 ctx->rcvhdr.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo)); in dhcp6_handledata()2623 bytes = recvmsg(ctx->dhcp_fd, &ctx->rcvhdr, 0); in dhcp6_handledata()2641 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&ctx->rcvhdr); in dhcp6_handledata()2643 cm = (struct cmsghdr *)CMSG_NXTHDR(&ctx->rcvhdr, cm)) in dhcp6_handledata()2673 r = (struct dhcp6_message *)ctx->rcvhdr.msg_iov[0].iov_base; in dhcp6_handledata()