Home
last modified time | relevance | path

Searched refs:ICMP_UNREACH (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/netinet/
H A Dip_fastfwd.c201 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0); in ip_findroute()
215 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0); in ip_findroute()
262 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_FILTER_PROHIB, in ip_tryforward()
490 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, in ip_tryforward()
H A Dip_options.c118 type = ICMP_UNREACH; in ip_dooptions()
173 type = ICMP_UNREACH; in ip_dooptions()
214 type = ICMP_UNREACH; in ip_dooptions()
237 type = ICMP_UNREACH; in ip_dooptions()
306 type = ICMP_UNREACH; in ip_dooptions()
H A Dip_icmp.h151 #define ICMP_UNREACH 3 /* dest unreachable, codes: */ macro
H A Dip_icmp.c360 } else if (type == ICMP_UNREACH && in icmp_error()
410 case ICMP_UNREACH: in icmp_errmap()
534 case ICMP_UNREACH: in icmp_input()
H A Dip_input.c954 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0); in ip_forward()
1075 type = ICMP_UNREACH; in ip_forward()
1080 type = ICMP_UNREACH; in ip_forward()
H A Draw_ip.c393 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL, 0, 0); in rip_input()
H A Dudp_usrreq.c636 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0); in udp_input()
/freebsd/sbin/pfctl/
H A Dpfctl_parser.c85 { "unreach", ICMP_UNREACH },
140 { "net-unr", ICMP_UNREACH, ICMP_UNREACH_NET },
141 { "host-unr", ICMP_UNREACH, ICMP_UNREACH_HOST },
142 { "proto-unr", ICMP_UNREACH, ICMP_UNREACH_PROTOCOL },
143 { "port-unr", ICMP_UNREACH, ICMP_UNREACH_PORT },
144 { "needfrag", ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG },
145 { "srcfail", ICMP_UNREACH, ICMP_UNREACH_SRCFAIL },
146 { "net-unk", ICMP_UNREACH, ICMP_UNREACH_NET_UNKNOWN },
147 { "host-unk", ICMP_UNREACH, ICMP_UNREACH_HOST_UNKNOWN },
148 { "isolate", ICMP_UNREACH, ICMP_UNREACH_ISOLATED },
[all …]
H A Dparse.y79 (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT;
6814 returnicmpdefault = (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT; in parse_config()
/freebsd/contrib/tcpdump/
H A Dprint-icmp.c107 #define ICMP_UNREACH 3 /* dest unreachable, codes: */ macro
145 ((type) == ICMP_UNREACH || (type) == ICMP_SOURCEQUENCH || \
149 ((type) == ICMP_UNREACH || \
351 case ICMP_UNREACH: in icmp_print()
/freebsd/sbin/natd/
H A Dicmp.c66 icmp->icmp_type = ICMP_UNREACH; in SendNeedFragIcmp()
/freebsd/sbin/ipf/libipf/
H A Dicmptypes.c103 { "unreach", ICMP_UNREACH, ICMP6_DST_UNREACH },
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c817 case ICMP_UNREACH: in nat64_icmp_reflect()
925 case ICMP_UNREACH: in nat64_icmp_translate()
1273 nat64_icmp_reflect(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, in nat64_do_handle_ip4()
1279 nat64_icmp_reflect(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, in nat64_do_handle_ip4()
1371 type = ICMP_UNREACH; in nat64_handle_icmp6()
1393 type = ICMP_UNREACH; in nat64_handle_icmp6()
1449 type = ICMP_UNREACH; in nat64_handle_icmp6()
1514 if (type == ICMP_UNREACH && code == ICMP_UNREACH_NEEDFRAG) in nat64_handle_icmp6()
H A Dnat64lsn.c435 case ICMP_UNREACH: in inspect_icmp_mbuf()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_ip.c404 value->v.integer = icmpstat.icps_inhist[ICMP_UNREACH]; in op_icmpstat()
461 value->v.integer = icmpstat.icps_outhist[ICMP_UNREACH]; in op_icmpstat()
/freebsd/usr.bin/systat/
H A Dicmp.c204 DO2(ICMP_UNREACH, 12); in showicmp()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c589 if (type == ICMP_UNREACH && fin->fin_icode == ICMP_UNREACH_NEEDFRAG) { in ipf_send_icmp_err()
888 (void) ipf_send_icmp_err(ICMP_UNREACH, fin, 1); in ipf_fastroute()
H A Dip_log.c378 case ICMP_UNREACH : in ipf_log_pkt()
/freebsd/sys/netinet/libalias/
H A Dalias.c456 case ICMP_UNREACH: in IcmpAliasIn()
640 case ICMP_UNREACH: in IcmpAliasOut()
/freebsd/sbin/ipf/ipmon/
H A Dipmon.c198 { ICMP_UNREACH, icmpunreachnames,
1232 if (ic->icmp_type == ICMP_UNREACH || in print_ipflog()
/freebsd/sys/netipsec/
H A Dipsec_output.c383 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, in ipsec4_common_output()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c1388 type == ICMP_UNREACH) { in packet_ok()
/freebsd/sbin/ping/
H A Dping.c1431 case ICMP_UNREACH: in pr_icmph()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c1286 icmp_error(mb, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, 0, mtu); in ipoib_cm_mb_reap()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c1020 icmp_error(args->m, ICMP_UNREACH, code, 0L, mtu); in send_reject()

12