Searched refs:rth0 (Results 1 – 2 of 2) sorted by relevance
62 struct ip6_rthdr0 *rth0; in inet6_rth_init() local71 rth0 = (struct ip6_rthdr0 *)rth; in inet6_rth_init()72 rth0->ip6r0_len = segments * 2; in inet6_rth_init()73 rth0->ip6r0_type = IPV6_RTHDR_TYPE_0; in inet6_rth_init()74 rth0->ip6r0_segleft = 0; in inet6_rth_init()75 rth0->ip6r0_reserved = 0; in inet6_rth_init()88 struct ip6_rthdr0 *rth0; in inet6_rth_add() local93 rth0 = (struct ip6_rthdr0 *)rth; in inet6_rth_add()94 nextaddr = (struct in6_addr *)(rth0 + 1) + rth0->ip6r0_segleft; in inet6_rth_add()96 rth0->ip6r0_segleft++; in inet6_rth_add()
798 struct ip6_rthdr0 *rth0; in icmp6_notify_error() local849 IP6_EXTHDR_GET(rth0, in icmp6_notify_error()852 if (rth0 == NULL) { in icmp6_notify_error()857 if ((rth0->ip6r0_len % 2) == 0 && in icmp6_notify_error()858 (hops = rth0->ip6r0_len/2)) in icmp6_notify_error()859 finaldst = (struct in6_addr *)(rth0 + 1) + (hops - 1); in icmp6_notify_error()