IPN_ICMPQUERY
if (!(nat->in_flags & IPN_ICMPQUERY) &&
nat->in_flags = IPN_ICMPQUERY;
if (np->in_flags & IPN_ICMPQUERY) {
else if (np->in_flags & IPN_ICMPQUERY)
if (flags & IPN_ICMPQUERY) {
if ((port == 0) && (flags & (IPN_TCPUDPICMP|IPN_ICMPQUERY)))
} else if (flags & IPN_ICMPQUERY) {
if (flags & IPN_ICMPQUERY) {
} else if (flags & IPN_ICMPQUERY) {
if (flags & IPN_ICMPQUERY) {
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
flags = IPN_ICMPERR|IPN_ICMPQUERY;
flags = IPN_ICMPQUERY;
} else if (((flags & IPN_ICMPQUERY) != 0) && (dlen >= 8)) {
else if (np->nl_flags & (IPN_ICMPERR|IPN_ICMPQUERY))
nflags = IPN_ICMPQUERY;
if ((fin->fin_p == IPPROTO_ICMP) && !(nflags & IPN_ICMPQUERY) &&
if ((nat->nat_nsport != 0) && (nflags & IPN_ICMPQUERY)) {
nflags = IPN_ICMPQUERY;
if ((fin->fin_p == IPPROTO_ICMP) && !(nflags & IPN_ICMPQUERY) &&
if ((nat->nat_odport != 0) && (nflags & IPN_ICMPQUERY)) {
if ((nflags & IPN_ICMPQUERY) != 0) {
if ((nflags & IPN_ICMPQUERY) != 0) {
} else if ((flags & IPN_ICMPQUERY) != 0) {
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
#define IPN_TCPUDPICMPQ (IPN_TCP|IPN_UDP|IPN_ICMPQUERY)
IPN_FRAG|IPN_STICKY|IPN_FIXEDDPORT|IPN_ICMPQUERY|\
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
} else if ((nat->nat_flags & IPN_ICMPQUERY) != 0) {
flags = IPN_ICMPERR|IPN_ICMPQUERY;
flags = IPN_ICMPQUERY;
} else if (((flags & IPN_ICMPQUERY) != 0) && (dlen >= 8)) {
else if (np->nl_flags & (IPN_ICMPERR|IPN_ICMPQUERY))
nflags = IPN_ICMPQUERY;
if ((fin->fin_p == IPPROTO_ICMPV6) && !(nflags & IPN_ICMPQUERY) &&
if ((nat->nat_nsport != 0) && (nflags & IPN_ICMPQUERY)) {
nflags = IPN_ICMPQUERY;
if ((fin->fin_p == IPPROTO_ICMPV6) && !(nflags & IPN_ICMPQUERY) &&
if ((nat->nat_odport != 0) && (nflags & IPN_ICMPQUERY)) {
} else if ((flags & IPN_ICMPQUERY) != 0) {
if (flags & IPN_ICMPQUERY) {
if ((port == 0) && (flags & (IPN_TCPUDPICMP|IPN_ICMPQUERY)))
} else if (flags & IPN_ICMPQUERY) {
if (flags & IPN_ICMPQUERY) {
} else if (flags & IPN_ICMPQUERY) {
if (flags & IPN_ICMPQUERY) {