Lines Matching defs:rh
90 struct ip6_rthdr *rh;
105 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), return IPPROTO_DONE);
111 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off);
117 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh));
118 if (rh == NULL) {
124 switch (rh->ip6r_type) {
127 rhlen = (rh->ip6r_len + 1) << 3;
144 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, rhlen);
145 if (rh == NULL) {
150 if (ip6_rthdr0(m, ip6, (struct ip6_rthdr0 *)rh))
156 if (rh->ip6r_segleft == 0) {
157 rhlen = (rh->ip6r_len + 1) << 3;
162 (caddr_t)&rh->ip6r_type - (caddr_t)ip6);
167 return(rh->ip6r_nxt);