Lines Matching refs:rthdr
573 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt);
574 put_cmsg(msg, SOL_IPV6, IPV6_2292RTHDR, (rthdr->hdrlen+1) << 3, rthdr);
590 struct ipv6_rt_hdr *rthdr;
749 rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg);
751 switch (rthdr->type) {
754 if (rthdr->hdrlen != 2 ||
755 rthdr->segments_left != 1) {
766 len = ((rthdr->hdrlen + 1) << 3);
774 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) {
780 opt->srcrt = rthdr;