Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/netinet/
H A Dip_icmp.h171 #define ICMP_UNREACH 3 /* dest unreachable, codes: */ macro
236 ((type) == ICMP_UNREACH || (type) == ICMP_SOURCEQUENCH || \
H A Dip_compat.h382 #ifndef ICMP_UNREACH
383 # define ICMP_UNREACH ICMP_DEST_UNREACH
H A Dip_input.c2472 type = ICMP_UNREACH; in ip_dooptions()
2515 type = ICMP_UNREACH; in ip_dooptions()
2546 type = ICMP_UNREACH; in ip_dooptions()
2588 type = ICMP_UNREACH; in ip_dooptions()
3136 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, dest, 0); in ip_forward()
3260 type = ICMP_UNREACH; in ip_forward()
3265 type = ICMP_UNREACH; in ip_forward()
3378 if (type == ICMP_UNREACH && code == ICMP_UNREACH_NEEDFRAG) { in ip_forward()
H A Dip_icmp.c210 type == ICMP_UNREACH && code == ICMP_UNREACH_PORT) { in icmp_error()
376 } else if (type == ICMP_UNREACH && in icmp_error()
522 case ICMP_UNREACH: in icmp_input()
H A Dudp_usrreq.c779 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0); in udp_input()
/xnu-12377.41.6/bsd/net/
H A Dnat464_utils.c292 type = ICMP_UNREACH; in nat464_translate_icmp()
310 type = ICMP_UNREACH; in nat464_translate_icmp()
346 type = ICMP_UNREACH; in nat464_translate_icmp()
379 case ICMP_UNREACH: in nat464_translate_icmp()
H A Dpf.c4632 type = ICMP_UNREACH; in pf_translate_icmp_af()
4650 type = ICMP_UNREACH; in pf_translate_icmp_af()
4686 type = ICMP_UNREACH; in pf_translate_icmp_af()
4719 case ICMP_UNREACH: in pf_translate_icmp_af()
7839 if (type != ICMP_UNREACH && type != ICMP_TIMXCEED) { in pf_compute_packet_icmp_gencnt()
9378 icmp_error(m0, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, 0, in pf_route()
/xnu-12377.41.6/tests/
H A Dicmp_fragmented_payload.c334 .icmp_type = ICMP_UNREACH,