Home
last modified time | relevance | path

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

123

/linux-6.12.1/net/ipv4/
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()
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()
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()
Dipcomp.c31 case ICMP_DEST_UNREACH: in ipcomp4_err()
47 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ipcomp4_err()
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()
Dipip.c149 case ICMP_DEST_UNREACH: in ipip_err()
175 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in ipip_err()
Dicmp.c280 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmpv4_mask_allow()
890 case ICMP_DEST_UNREACH: in icmp_unreach()
1386 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmp_err()
1409 [ICMP_DEST_UNREACH] = {
Dah4.c447 case ICMP_DEST_UNREACH: in ah4_err()
462 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ah4_err()
Dip_gre.c167 case ICMP_DEST_UNREACH: in ipgre_err()
240 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in gre_err()
463 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in gre_rcv()
Draw.c217 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in raw_err()
244 case ICMP_DEST_UNREACH: in raw_err()
/linux-6.12.1/include/linux/
Dicmp.h28 case ICMP_DEST_UNREACH: in icmp_is_err()
/linux-6.12.1/net/ipv4/netfilter/
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.12.1/tools/testing/selftests/net/tcp_ao/
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()
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.12.1/include/uapi/linux/
Dicmp.h27 #define ICMP_DEST_UNREACH 3 /* Destination Unreachable */ macro
/linux-6.12.1/samples/bpf/
Dxdp_adjust_tail_kern.c96 icmp_hdr->type = ICMP_DEST_UNREACH; in send_icmp4_too_big()
/linux-6.12.1/net/netfilter/
Dnf_log_syslog.c379 [ICMP_DEST_UNREACH] = 8 + sizeof(struct iphdr), in dump_ipv4_packet()
437 case ICMP_DEST_UNREACH: in dump_ipv4_packet()
449 if (ich->type == ICMP_DEST_UNREACH && in dump_ipv4_packet()
/linux-6.12.1/net/netfilter/ipvs/
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.12.1/net/xfrm/
Dxfrm_interface_core.c496 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in xfrmi_xmit2()
616 case ICMP_DEST_UNREACH: in xfrmi4_err()
637 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in xfrmi4_err()
/linux-6.12.1/net/rxrpc/
Dpeer_event.c158 serr->ee.ee_type == ICMP_DEST_UNREACH && in rxrpc_input_error()
/linux-6.12.1/net/ipv6/
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.12.1/net/sctp/
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.12.1/drivers/net/wireguard/
Ddevice.c227 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0); in wg_xmit()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_l4lb_noinline.c264 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
Dtest_l4lb.c265 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()

123