Searched refs:rh0 (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet6/
H A Droute6.c178 ip6_rthdr0(m, ip6, rh0)
181 struct ip6_rthdr0 *rh0;
187 if (rh0->ip6r0_segleft == 0)
190 if (rh0->ip6r0_len % 2
192 || rh0->ip6r0_len > 46
202 (caddr_t)&rh0->ip6r0_len - (caddr_t)ip6);
206 if ((addrs = rh0->ip6r0_len / 2) < rh0->ip6r0_segleft) {
209 (caddr_t)&rh0->ip6r0_segleft - (caddr_t)ip6);
213 index = addrs - rh0
[all...]
H A Dip6_output.c731 struct ip6_rthdr0 *rh0; local
737 rh0 = (struct ip6_rthdr0 *)rh;
738 addr = (struct in6_addr *)(void *)(rh0 + 1);
760 * (rh0->ip6r0_segleft - 1));
761 addr[rh0->ip6r0_segleft - 1] = finaldst;
763 in6_clearscope(addr + rh0->ip6r0_segleft - 1);

Completed in 25 milliseconds