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_UNREACH, ICMP_UNREACH_NEEDFRAG);
ifp->if_mtu, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG);
case ICMP_UNREACH:
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
case ICMP_UNREACH:
pf_send_icmp(m0, ICMP_UNREACH, ICMP_UNREACH_HOST,
pf_send_icmp(m0, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG,
if (icp->icmp_type != ICMP_TIMXCEED && icp->icmp_type != ICMP_UNREACH &&
} else if (type == ICMP_UNREACH &&
case ICMP_UNREACH:
case ICMP_UNREACH:
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
type = ICMP_UNREACH;
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, dest, 0);
type = ICMP_UNREACH;
type = ICMP_UNREACH;
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL,
icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT,
{ "unreach", ICMP_UNREACH },
{ "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 },
case ICMP_UNREACH:
if (type != ICMP_TIMXCEED && type != ICMP_UNREACH &&
type == ICMP_UNREACH || type == ICMP_ECHOREPLY) {