rth 928 netinet6/icmp6.c struct ip6_rthdr *rth; rth 961 netinet6/icmp6.c IP6_EXTHDR_GET(rth, struct ip6_rthdr *, m, rth 962 netinet6/icmp6.c eoff, sizeof(*rth)); rth 963 netinet6/icmp6.c if (rth == NULL) { rth 967 netinet6/icmp6.c rthlen = (rth->ip6r_len + 1) << 3; rth 976 netinet6/icmp6.c if (rth->ip6r_segleft && rth 977 netinet6/icmp6.c rth->ip6r_type == IPV6_RTHDR_TYPE_0) { rth 993 netinet6/icmp6.c nxt = rth->ip6r_nxt; rth 3050 netinet6/ip6_output.c struct ip6_rthdr *rth; rth 3061 netinet6/ip6_output.c rth = (struct ip6_rthdr *)buf; rth 3062 netinet6/ip6_output.c rthlen = (rth->ip6r_len + 1) << 3; rth 3066 netinet6/ip6_output.c switch (rth->ip6r_type) { rth 3068 netinet6/ip6_output.c if (rth->ip6r_len == 0) /* must contain one addr */ rth 3070 netinet6/ip6_output.c if (rth->ip6r_len % 2) /* length must be even */ rth 3072 netinet6/ip6_output.c if (rth->ip6r_len / 2 != rth->ip6r_segleft) rth 3083 netinet6/ip6_output.c bcopy(rth, opt->ip6po_rthdr, rthlen);