Home | History | Annotate | Download | only in net

Lines Matching defs:rt0

127 		struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr;
130 if (rt0->ip6r0_segleft == 23)
134 rt0->ip6r0_segleft++;
135 (void)memcpy(((caddr_t)(void *)rt0) +
136 ((rt0->ip6r0_len + 1) << 3), addr, sizeof(struct in6_addr));
137 rt0->ip6r0_len += sizeof(struct in6_addr) >> 3;
138 len = CMSG_LEN((rt0->ip6r0_len + 1) << 3);
162 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr;
163 if (rt0->ip6r0_segleft > 23)
197 const struct ip6_rthdr0 *rt0 =
201 if (rt0->ip6r0_len % 2 || 46 < rt0->ip6r0_len)
204 len = (rt0->ip6r0_len * 8) / sizeof(struct in6_addr);
226 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr;
230 if (rt0->ip6r0_len % 2 || 46 < rt0->ip6r0_len)
232 len = (rt0->ip6r0_len * 8) / sizeof(struct in6_addr);
238 return ((struct in6_addr *)(void *)(rt0 + 1)) + idx - 1;
240 return ((struct in6_addr *)(void *)(rt0 + 1)) + idx;
261 const struct ip6_rthdr0 *rt0 = (const struct ip6_rthdr0 *)
266 if (rt0->ip6r0_len % 2 || 46 < rt0->ip6r0_len)
268 len = (rt0->ip6r0_len * 8) / sizeof(struct in6_addr);