Lines Matching refs:rel_code
471 u8 rel_code = ICMPV6_ADDR_UNREACH; in ip6_tnl_err() local
539 rel_code = 0; in ip6_tnl_err()
552 *code = rel_code; in ip6_tnl_err()
570 u8 rel_code = code; in ip4ip6_err() local
574 err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, in ip4ip6_err()
584 if (rel_code != ICMPV6_ADDR_UNREACH) in ip4ip6_err()
587 rel_code = ICMP_HOST_UNREACH; in ip4ip6_err()
590 if (rel_code != 0) in ip4ip6_err()
593 rel_code = ICMP_FRAG_NEEDED; in ip4ip6_err()
640 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
647 icmp_send(skb2, rel_type, rel_code, htonl(rel_info)); in ip4ip6_err()
661 u8 rel_code = code; in ip6ip6_err() local
663 err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, in ip6ip6_err()
686 icmpv6_send(skb2, rel_type, rel_code, rel_info); in ip6ip6_err()
703 u8 rel_code = code; in mplsip6_err() local
705 err = ip6_tnl_err(skb, IPPROTO_MPLS, opt, &rel_type, &rel_code, in mplsip6_err()