Lines Matching refs:rel_code
487 u8 rel_code = ICMPV6_ADDR_UNREACH; in ip6_tnl_err() local
550 rel_code = 0; in ip6_tnl_err()
558 *code = rel_code; in ip6_tnl_err()
573 u8 rel_code = code; in ip4ip6_err() local
581 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
591 if (rel_code != ICMPV6_ADDR_UNREACH) in ip4ip6_err()
594 rel_code = ICMP_HOST_UNREACH; in ip4ip6_err()
597 if (rel_code != 0) in ip4ip6_err()
600 rel_code = ICMP_FRAG_NEEDED; in ip4ip6_err()
604 rel_code = ICMP_REDIR_HOST; in ip4ip6_err()
657 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
666 icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); in ip4ip6_err()
679 u8 rel_code = code; in ip6ip6_err() local
683 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
706 icmpv6_send(skb2, rel_type, rel_code, rel_info); in ip6ip6_err()