Home
last modified time | relevance | path

Searched refs:ICMP_DEST_UNREACH (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.15/net/ipv4/
H A Dxfrm4_protocol.c88 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in xfrm4_rcv_encap()
107 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in xfrm4_esp_rcv()
135 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in xfrm4_ah_rcv()
163 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in xfrm4_ipcomp_rcv()
H A Dtunnel4.c106 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in tunnel4_rcv()
152 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in tunnel64_rcv()
172 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in tunnelmpls4_rcv()
H A Dip_forward.c137 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in ip_forward()
170 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_SR_FAILED, 0); in ip_forward()
H A Dipcomp.c31 case ICMP_DEST_UNREACH: in ipcomp4_err()
47 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ipcomp4_err()
H A Dip_vti.c246 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in vti_xmit()
357 case ICMP_DEST_UNREACH: in vti4_err()
372 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in vti4_err()
H A Dipip.c149 case ICMP_DEST_UNREACH: in ipip_err()
175 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in ipip_err()
H A Dicmp.c280 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmpv4_mask_allow()
892 case ICMP_DEST_UNREACH: in icmp_unreach()
1389 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmp_err()
1412 [ICMP_DEST_UNREACH] = {
H A Dah4.c447 case ICMP_DEST_UNREACH: in ah4_err()
462 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ah4_err()
H A Draw.c217 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in raw_err()
244 case ICMP_DEST_UNREACH: in raw_err()
H A Dip_input.c216 icmp_send(skb, ICMP_DEST_UNREACH, in ip_protocol_deliver_rcu()
/linux-6.15/include/linux/
H A Dicmp.h28 case ICMP_DEST_UNREACH: in icmp_is_err()
/linux-6.15/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c124 icmph->type = ICMP_DEST_UNREACH; in nf_reject_skb_v4_unreach()
330 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach()
335 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach()
/linux-6.15/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c375 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, in icmp_interfere()
377 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, in icmp_interfere()
379 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in icmp_interfere()
H A Dicmps-discard.c375 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, in icmp_interfere()
377 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, in icmp_interfere()
379 icmp_interfere4(ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in icmp_interfere()
/linux-6.15/include/uapi/linux/
H A Dicmp.h27 #define ICMP_DEST_UNREACH 3 /* Destination Unreachable */ macro
/linux-6.15/samples/bpf/
H A Dxdp_adjust_tail_kern.c97 icmp_hdr->type = ICMP_DEST_UNREACH; in send_icmp4_too_big()
/linux-6.15/net/netfilter/
H A Dnf_log_syslog.c381 [ICMP_DEST_UNREACH] = 8 + sizeof(struct iphdr), in dump_ipv4_packet()
439 case ICMP_DEST_UNREACH: in dump_ipv4_packet()
451 if (ich->type == ICMP_DEST_UNREACH && in dump_ipv4_packet()
/linux-6.15/net/xfrm/
H A Dxfrm_interface_core.c495 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in xfrmi_xmit2()
615 case ICMP_DEST_UNREACH: in xfrmi4_err()
636 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in xfrmi4_err()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_core.c668 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in ip_vs_leave()
951 if ((ic->type != ICMP_DEST_UNREACH) && in ip_vs_out_icmp()
1456 ICMP_DEST_UNREACH, in ip_vs_out_hook()
1621 if ((ic->type != ICMP_DEST_UNREACH) && in ip_vs_in_icmp()
1738 if (ic->type == ICMP_DEST_UNREACH && in ip_vs_in_icmp()
/linux-6.15/net/rxrpc/
H A Dpeer_event.c164 serr->ee.ee_type == ICMP_DEST_UNREACH && in rxrpc_input_error()
/linux-6.15/drivers/net/wireguard/
H A Ddevice.c227 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0); in wg_xmit()
/linux-6.15/net/sctp/
H A Dinput.c559 case ICMP_DEST_UNREACH: in sctp_v4_err_handle()
660 if (hdr->type == ICMP_DEST_UNREACH && hdr->code == ICMP_FRAG_NEEDED) in sctp_udp_v4_err()
/linux-6.15/net/ipv6/
H A Dip6_tunnel.c584 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
590 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
640 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
1408 icmp_ndo_send(skb, ICMP_DEST_UNREACH, in ipxip6_tnl_xmit()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c265 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
H A Dtest_l4lb_noinline.c264 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()

123