rthdr.c | 127 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr; local in function:inet6_rthdr_add 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; local in function:inet6_rthdr_lasthop 163 if (rt0->ip6r0_segleft > 23) 197 const struct ip6_rthdr0 *rt0 local in function:inet6_rthdr_segments 226 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr; local in function:inet6_rthdr_getaddr 261 const struct ip6_rthdr0 *rt0 = (const struct ip6_rthdr0 *) local in function:inet6_rthdr_getflags [all...] |