Lines Matching refs:rthdr

2684 			 * Assume it is a post-rthdr destination header
2685 * and adjust when we find an rthdr.
2699 /* return only 1st rthdr */
2707 * pre-rthdr destination header.
2762 ip6_rthdr_t *rthdr;
2787 rthdr = (ip6_rthdr_t *)whereptr;
2788 ehdrlen = 8 * (rthdr->ip6r_len + 1);
2789 if ((uchar_t *)rthdr + ehdrlen > endptr)
2791 nexthdrp = &rthdr->ip6r_nxt;
3148 ip6_rthdr_t *rthdr;
3195 rthdr = (ip6_rthdr_t *)whereptr;
3201 if (rthdr->ip6r_segleft > 0)
3204 ehdrlen = 8 * (rthdr->ip6r_len + 1);
3205 if ((uchar_t *)rthdr + ehdrlen > endptr)
3207 nexthdrp = &rthdr->ip6r_nxt;
3408 ip6_rthdr_t *rthdr;
3411 rthdr = (ip6_rthdr_t *)ptr;
3412 prev_nexthdr = rthdr->ip6r_nxt;
3413 prev_nexthdr_offset = (uint8_t *)&rthdr->ip6r_nxt
3415 hdr_len = 8 * (rthdr->ip6r_len + 1);
4019 ip6_rthdr0_t *rthdr;
4062 rthdr = (ip6_rthdr0_t *)byteptr;
4074 if (rthdr->ip6r0_segleft > 0 ||
4075 rthdr->ip6r0_segleft == 0) {
4076 numaddr = rthdr->ip6r0_len / 2;
4077 addrptr = (in6_addr_t *)((char *)rthdr +
4078 sizeof (*rthdr));
4079 addrptr += (numaddr - (rthdr->ip6r0_segleft + 1));
4171 ip6_rthdr_t *rthdr;
4174 rthdr = (ip6_rthdr_t *)ptr;
4175 nexthdr = rthdr->ip6r_nxt;
4176 hdr_len = 8 * (rthdr->ip6r_len + 1);
4365 ip6_rthdr_t *rthdr;
4368 rthdr = (ip6_rthdr_t *)ptr;
4369 nexthdr = rthdr->ip6r_nxt;
4370 prev_nexthdr_offset = (uint8_t *)&rthdr->ip6r_nxt
4372 hdr_len = 8 * (rthdr->ip6r_len + 1);
4775 ip6_rthdr0_t *rthdr = (ip6_rthdr0_t *)rth;
4791 if ((rthdr->ip6r0_segleft == 0) || (rthdr->ip6r0_len == 0))
4808 addrptr = (in6_addr_t *)((char *)rthdr + sizeof (*rthdr));
4809 numaddr = rthdr->ip6r0_len / 2;
4947 ip6_rthdr_t *rthdr;
4971 rthdr = (ip6_rthdr_t *)whereptr;
4972 nexthdr = rthdr->ip6r_nxt;
4973 ehdrlen = 8 * (rthdr->ip6r_len + 1);