Home
last modified time | relevance | path

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

12

/Linux-v5.15/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.c133 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in ip_forward()
165 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.c243 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in vti_xmit()
351 case ICMP_DEST_UNREACH: in vti4_err()
366 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in vti4_err()
Dicmp.c288 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmpv4_mask_allow()
876 case ICMP_DEST_UNREACH: in icmp_unreach()
1355 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmp_err()
1378 [ICMP_DEST_UNREACH] = {
Dipip.c146 case ICMP_DEST_UNREACH: in ipip_err()
172 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in ipip_err()
Dah4.c450 case ICMP_DEST_UNREACH: in ah4_err()
465 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ah4_err()
Dip_input.c215 icmp_send(skb, ICMP_DEST_UNREACH, in ip_protocol_deliver_rcu()
Draw.c233 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in raw_err()
259 case ICMP_DEST_UNREACH: in raw_err()
Dip_gre.c166 case ICMP_DEST_UNREACH: in ipgre_err()
239 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in gre_err()
451 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in gre_rcv()
Desp4.c980 case ICMP_DEST_UNREACH: in esp4_err()
995 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in esp4_err()
/Linux-v5.15/include/linux/
Dicmp.h28 case ICMP_DEST_UNREACH: in icmp_is_err()
/Linux-v5.15/net/ipv4/netfilter/
Dnf_reject_ipv4.c122 icmph->type = ICMP_DEST_UNREACH; in nf_reject_skb_v4_unreach()
324 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach()
329 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach()
/Linux-v5.15/include/uapi/linux/
Dicmp.h27 #define ICMP_DEST_UNREACH 3 /* Destination Unreachable */ macro
/Linux-v5.15/net/rxrpc/
Dpeer_event.c195 serr->ee.ee_type == ICMP_DEST_UNREACH && in rxrpc_error_report()
232 case ICMP_DEST_UNREACH: in rxrpc_store_error()
/Linux-v5.15/samples/bpf/
Dxdp_adjust_tail_kern.c96 icmp_hdr->type = ICMP_DEST_UNREACH; in send_icmp4_too_big()
/Linux-v5.15/net/xfrm/
Dxfrm_interface.c311 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, in xfrmi_xmit2()
432 case ICMP_DEST_UNREACH: in xfrmi4_err()
453 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in xfrmi4_err()
/Linux-v5.15/net/netfilter/
Dnf_log_syslog.c373 [ICMP_DEST_UNREACH] = 8 + sizeof(struct iphdr), in dump_ipv4_packet()
431 case ICMP_DEST_UNREACH: in dump_ipv4_packet()
443 if (ich->type == ICMP_DEST_UNREACH && in dump_ipv4_packet()
/Linux-v5.15/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()
1459 ICMP_DEST_UNREACH, in ip_vs_out()
1670 if ((ic->type != ICMP_DEST_UNREACH) && in ip_vs_in_icmp()
1787 if (ic->type == ICMP_DEST_UNREACH && in ip_vs_in_icmp()
/Linux-v5.15/drivers/net/wireguard/
Ddevice.c206 icmp_ndo_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0); in wg_xmit()
/Linux-v5.15/net/sctp/
Dinput.c570 case ICMP_DEST_UNREACH: in sctp_v4_err_handle()
671 if (hdr->type == ICMP_DEST_UNREACH && hdr->code == ICMP_FRAG_NEEDED) in sctp_udp_v4_err()
/Linux-v5.15/net/ipv6/
Dip6_tunnel.c586 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
592 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
640 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
1388 icmp_ndo_send(skb, ICMP_DEST_UNREACH, in ipxip6_tnl_xmit()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_l4lb.c267 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
Dtest_l4lb_noinline.c264 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()

12