Home
last modified time | relevance | path

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

/xnu-8796.121.2/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_icmp.c209 type == ICMP_UNREACH && code == ICMP_UNREACH_PORT) { in icmp_error()
373 } else if (type == ICMP_UNREACH && in icmp_error()
517 case ICMP_UNREACH: in icmp_input()
H A Dip_input.c2843 type = ICMP_UNREACH; in ip_dooptions()
2886 type = ICMP_UNREACH; in ip_dooptions()
2916 type = ICMP_UNREACH; in ip_dooptions()
2958 type = ICMP_UNREACH; in ip_dooptions()
3497 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, dest, 0); in ip_forward()
3621 type = ICMP_UNREACH; in ip_forward()
3626 type = ICMP_UNREACH; in ip_forward()
3739 if (type == ICMP_UNREACH && code == ICMP_UNREACH_NEEDFRAG) { in ip_forward()
H A Dudp_usrreq.c701 icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0); in udp_input()
/xnu-8796.121.2/bsd/net/
H A Dnat464_utils.c280 type = ICMP_UNREACH; in nat464_translate_icmp()
298 type = ICMP_UNREACH; in nat464_translate_icmp()
334 type = ICMP_UNREACH; in nat464_translate_icmp()
367 case ICMP_UNREACH: in nat464_translate_icmp()
H A Dpf.c4592 type = ICMP_UNREACH; in pf_translate_icmp_af()
4610 type = ICMP_UNREACH; in pf_translate_icmp_af()
4646 type = ICMP_UNREACH; in pf_translate_icmp_af()
4679 case ICMP_UNREACH: in pf_translate_icmp_af()
7800 if (type != ICMP_UNREACH && type != ICMP_TIMXCEED) { in pf_compute_packet_icmp_gencnt()
9332 icmp_error(m0, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, 0, in pf_route()
/xnu-8796.121.2/tests/
H A Dicmp_fragmented_payload.c334 .icmp_type = ICMP_UNREACH,