Lines Matching refs:rh
59 struct ip6_rthdr *rh;
74 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), return IPPROTO_DONE);
76 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off);
79 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh));
80 if (rh == NULL) {
86 switch (rh->ip6r_type) {
89 rhlen = (rh->ip6r_len + 1) << 3;
106 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, rhlen);
107 if (rh == NULL) {
112 if (ip6_rthdr0(m, ip6, (struct ip6_rthdr0 *)rh))
118 if (rh->ip6r_segleft == 0) {
119 rhlen = (rh->ip6r_len + 1) << 3;
124 (caddr_t)&rh->ip6r_type - (caddr_t)ip6);
129 return(rh->ip6r_nxt);