SI_W_SPORT
#define SI_WILDP (SI_W_SPORT|SI_W_DPORT)
flags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
SI_W_SPORT) != 0)
nflags = IPN_TCP|SI_W_SPORT;
SI_W_SPORT) != 0)
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_SPORT)) &&
(flags & SI_W_SPORT)) &&
(flags & SI_W_SPORT)) &&
(flags & SI_W_SPORT)) &&
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);
NAT_SLAVE|IPN_UDP | (sp ? 0 : SI_W_SPORT),
(sp ? 0 : SI_W_SPORT));
nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
(void) ipf_state_add(softc, &fi, NULL, SI_W_SPORT);
nflags |= SI_W_SPORT|NAT_SEARCH;
nflags |= SI_W_SPORT|SI_CLONE;
if ((flags & (SI_W_DPORT|SI_W_SPORT)) == 0) {
if ((flags & (SI_W_DPORT|SI_W_SPORT)) == 0) {
if (!(flags & SI_W_SPORT) && (sp != is->is_sport))
if ((sp == is->is_sport || flags & SI_W_SPORT)
if ((dp == is->is_sport || flags & SI_W_SPORT)
if ((flags & (SI_W_SPORT|SI_W_DPORT))) {
if ((flags & SI_W_SPORT) != 0) {
is->is_flags &= ~(SI_W_SPORT|SI_W_DPORT);
#define IS_WSPORT SI_W_SPORT /* 0x00100 */
nflags = NAT_SLAVE|IPN_UDP|SI_W_SPORT;
if (ipf_state_add(softc, &fi, NULL, SI_W_SPORT) != 0) {