ICMP_UNREACH
if (ic->icmp_type == ICMP_UNREACH ||
{ ICMP_UNREACH, icmpunreachnames,
{ "unreach", ICMP_UNREACH, ICMP6_DST_UNREACH },
icmp->icmp_type = ICMP_UNREACH;
returnicmpdefault = (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT;
(ICMP_UNREACH << 8) | ICMP_UNREACH_PORT;
{ "net-unr", ICMP_UNREACH, ICMP_UNREACH_NET },
{ "host-unr", ICMP_UNREACH, ICMP_UNREACH_HOST },
{ "proto-unr", ICMP_UNREACH, ICMP_UNREACH_PROTOCOL },
{ "port-unr", ICMP_UNREACH, ICMP_UNREACH_PORT },
{ "needfrag", ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG },
{ "srcfail", ICMP_UNREACH, ICMP_UNREACH_SRCFAIL },
{ "net-unk", ICMP_UNREACH, ICMP_UNREACH_NET_UNKNOWN },
{ "host-unk", ICMP_UNREACH, ICMP_UNREACH_HOST_UNKNOWN },
{ "isolate", ICMP_UNREACH, ICMP_UNREACH_ISOLATED },
{ "net-prohib", ICMP_UNREACH, ICMP_UNREACH_NET_PROHIB },
{ "host-prohib", ICMP_UNREACH, ICMP_UNREACH_HOST_PROHIB },
{ "net-tos", ICMP_UNREACH, ICMP_UNREACH_TOSNET },
{ "host-tos", ICMP_UNREACH, ICMP_UNREACH_TOSHOST },
{ "filter-prohib", ICMP_UNREACH, ICMP_UNREACH_FILTER_PROHIB },
{ "host-preced", ICMP_UNREACH, ICMP_UNREACH_HOST_PRECEDENCE },
{ "cutoff-preced", ICMP_UNREACH, ICMP_UNREACH_PRECEDENCE_CUTOFF },
{ "unreach", ICMP_UNREACH },
case ICMP_UNREACH:
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0);
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0);
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0);
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_FILTER_PROHIB,
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
} else if (type == ICMP_UNREACH &&
case ICMP_UNREACH:
case ICMP_UNREACH:
type = ICMP_UNREACH;
type = ICMP_UNREACH;
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0);
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
case ICMP_UNREACH:
case ICMP_UNREACH:
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL, 0, 0);
if (icmp_type != ICMP_UNREACH) {
if ((type == ICMP_UNREACH) &&
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0);
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
case ICMP_UNREACH :
(void) ipf_send_icmp_err(ICMP_UNREACH, fin,
if (type == ICMP_UNREACH && fin->fin_icode == ICMP_UNREACH_NEEDFRAG) {
(void) ipf_send_icmp_err(ICMP_UNREACH, fin, 1);
case ICMP_UNREACH :
icmp_error(args->m, ICMP_UNREACH, code, 0L, mtu);
nat64_icmp_reflect(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0,
nat64_icmp_reflect(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
if (type == ICMP_UNREACH && code == ICMP_UNREACH_NEEDFRAG)
case ICMP_UNREACH:
case ICMP_UNREACH:
case ICMP_UNREACH:
pf_send_icmp(m0, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
icmp_error(*m0, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
case ICMP_UNREACH:
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
case ICMP_UNREACH:
case ICMP_UNREACH:
icmp_error(mb, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, 0, mtu);
DO2(ICMP_UNREACH, 12);
type == ICMP_UNREACH) {