Lines Matching refs:rel_code
546 u8 rel_code = ICMPV6_ADDR_UNREACH; in ip6_tnl_err() local
609 rel_code = 0; in ip6_tnl_err()
617 *code = rel_code; in ip6_tnl_err()
632 u8 rel_code = code; in ip4ip6_err() local
640 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
650 if (rel_code != ICMPV6_ADDR_UNREACH) in ip4ip6_err()
653 rel_code = ICMP_HOST_UNREACH; in ip4ip6_err()
656 if (rel_code != 0) in ip4ip6_err()
659 rel_code = ICMP_FRAG_NEEDED; in ip4ip6_err()
663 rel_code = ICMP_REDIR_HOST; in ip4ip6_err()
716 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
725 icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); in ip4ip6_err()
738 u8 rel_code = code; in ip6ip6_err() local
742 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
765 icmpv6_send(skb2, rel_type, rel_code, rel_info); in ip6ip6_err()