Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
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 Dicmp.c283 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmpv4_mask_allow()
737 case ICMP_DEST_UNREACH: in icmp_ext_append()
1125 case ICMP_DEST_UNREACH: in icmp_unreach()
1622 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) in icmp_err()
1645 [ICMP_DEST_UNREACH] = {
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 Dah4.c457 case ICMP_DEST_UNREACH: in ah4_err()
472 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in ah4_err()
H A Dip_gre.c166 case ICMP_DEST_UNREACH: in ipgre_err()
244 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) { in gre_err()
469 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in gre_rcv()
H A Desp4.c943 case ICMP_DEST_UNREACH: in esp4_err()
958 if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH) in esp4_err()
H A Dcipso_ipv4.c1738 __icmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_ANO, 0, &parm); in cipso_v4_error()
1740 __icmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_ANO, 0, &parm); in cipso_v4_error()
/linux/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/include/uapi/linux/
H A Dicmp.h27 #define ICMP_DEST_UNREACH 3 /* Destination Unreachable */ macro
/linux/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()
H A Dxfrm_output.c860 icmp_send(skb, ICMP_DEST_UNREACH, in xfrm4_tunnel_check_size()
/linux/net/netfilter/ipvs/
H A Dip_vs_core.c846 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); in ip_vs_leave()
1129 if ((ic->type != ICMP_DEST_UNREACH) && in ip_vs_out_icmp()
1631 ICMP_DEST_UNREACH, in ip_vs_out_hook()
1796 if ((ic->type != ICMP_DEST_UNREACH) && in ip_vs_in_icmp()
1913 if (ic->type == ICMP_DEST_UNREACH && in ip_vs_in_icmp()
/linux/net/rxrpc/
H A Dpeer_event.c164 serr->ee.ee_type == ICMP_DEST_UNREACH && in rxrpc_input_error()
/linux/net/ipv6/
H A Dip6_tunnel.c591 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
597 rel_type = ICMP_DEST_UNREACH; in ip4ip6_err()
652 if (rel_type == ICMP_DEST_UNREACH && rel_code == ICMP_FRAG_NEEDED) { in ip4ip6_err()
1419 icmp_ndo_send(skb, ICMP_DEST_UNREACH, in ipxip6_tnl_xmit()
/linux/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/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb_noinline.c264 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
H A Dtest_l4lb.c265 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
H A Dtest_l4lb_noinline_dynptr.c270 if (icmp_hdr->type != ICMP_DEST_UNREACH || in parse_icmp()
H A Dtest_cls_redirect.c734 if (icmp.type != ICMP_DEST_UNREACH || icmp.code != ICMP_FRAG_NEEDED) { in process_icmpv4()
H A Dtest_cls_redirect_dynptr.c627 if (icmp.type != ICMP_DEST_UNREACH || icmp.code != ICMP_FRAG_NEEDED) { in process_icmpv4()
/linux/net/dccp/
H A Dipv4.c

12