SI_W_DPORT
if ((nat->nat_flags & (SI_W_SPORT|SI_W_DPORT)) == 0) {
nat->nat_flags &= ~(SI_W_DPORT|SI_W_SPORT);
nat->nat_flags &= ~(SI_W_DPORT|SI_W_SPORT);
(flags & SI_W_DPORT)))
(flags & SI_W_DPORT)) &&
(flags & SI_W_DPORT)) &&
(flags & SI_W_DPORT)))
nat->nat_flags &= ~(SI_W_DPORT|SI_W_SPORT);
nat->nat_flags &= ~(SI_W_DPORT|SI_W_SPORT);
if ((nat->nat_flags & (SI_W_SPORT|SI_W_DPORT)) == 0) {
if ((flags & (SI_W_DPORT|SI_W_SPORT)) == 0) {
if ((flags & (SI_W_DPORT|SI_W_SPORT)) == 0) {
else if (!(flags & SI_W_DPORT) && (dp != is->is_dport))
(dp == is->is_dport || flags & SI_W_DPORT))
(sp == is->is_dport || flags & SI_W_DPORT))
if ((flags & (SI_W_SPORT|SI_W_DPORT))) {
} else if ((flags & SI_W_DPORT) != 0) {
is->is_flags &= ~(SI_W_SPORT|SI_W_DPORT);
#define SI_WILDP (SI_W_SPORT|SI_W_DPORT)
flags = NAT_SLAVE|IPN_TCP|SI_W_DPORT;
(void) fr_addstate(&fi, &nat2->nat_state, SI_W_DPORT);
nflags |= SI_W_DPORT;
NAT_SLAVE|IPN_UDP|SI_W_DPORT,
NAT_SLAVE|IPN_TCP|SI_W_DPORT, NAT_OUTBOUND);
(void) fr_addstate(&fi, NULL, SI_W_DPORT);
NAT_SLAVE|IPN_UDP|SI_W_DPORT,
(void) fr_addstate(&fi, NULL, SI_W_DPORT);
nflags = NAT_SLAVE|IPN_TCP|SI_W_DPORT;
(void) fr_addstate(&fi, &nat2->nat_state, SI_W_DPORT);
#define IS_WDPORT SI_W_DPORT /* 0x00200 */