Lines Matching refs:in_flags

175 no:	IPNY_NO				{ nat->in_flags |= IPN_NO; }
397 nat->in_flags &= ~IPN_TCP;
493 nat->in_flags |= IPN_FIXEDSPORT;
504 nat->in_flags |= IPN_FIXEDDPORT;
512 | ',' { if (!(nat->in_flags & IPN_TCPUDP))
581 nat->in_flags & IPN_TCPUDP)
587 nat->in_flags & IPN_TCPUDP)
589 nat->in_flags |= IPN_TCPUDP;
595 nat->in_flags & IPN_TCPUDP)
597 nat->in_flags |= IPN_TCPUDP;
616 nat->in_flags |= IPN_SIPRANGE;
628 nat->in_flags |= IPN_SIPRANGE;
635 { nat->in_flags |= IPN_SPLIT;
677 nat->in_flags |= IPN_DIPRANGE;
689 nat->in_flags |= IPN_DIPRANGE;
750 nat->in_flags |= IPN_FIXEDDPORT;
755 | IPNY_PORTS IPNY_AUTO { nat->in_flags |= IPN_AUTOPORTMAP; }
779 nat->in_flags |= IPN_NOTDST;
786 nat->in_flags |= IPN_NOTDST;
801 nat->in_flags |= IPN_NOTSRC;
808 nat->in_flags |= IPN_NOTSRC;
813 from: IPNY_FROM { nat->in_flags |= IPN_FILTER;
851 { nat->in_flags |= IPN_AUTOPORTMAP;
872 nat->in_flags = IPN_ICMPQUERY;
1032 pool: IPNY_POOL { if (!(nat->in_flags & IPN_FILTER)) {
1040 hash: IPNY_HASH { if (!(nat->in_flags & IPN_FILTER)) {
1064 rr: | IPNY_ROUNDROBIN { nat->in_flags |= IPN_ROUNDR; }
1067 frag: | IPNY_FRAG { nat->in_flags |= IPN_FRAG; }
1076 sticky: | IPNY_STICKY { if (!(nat->in_flags & IPN_ROUNDR) &&
1077 !(nat->in_flags & IPN_SPLIT)) {
1081 nat->in_flags |= IPN_STICKY;
1091 | IPNY_TCPUDP { nat->in_flags |= IPN_TCPUDP;
1095 | IPNY_TCP '/' IPNY_UDP { nat->in_flags |= IPN_TCPUDP;
1102 | IPNY_SEQUENTIAL { nat->in_flags |= IPN_SEQUENTIAL; }
1106 | IPNY_PURGE { nat->in_flags |= IPN_PURGE; }
1129 | IPNY_PURGE { nat->in_flags |= IPN_PURGE; }
1414 nat->in_flags |= IPN_TCP;
1415 nat->in_flags &= ~IPN_UDP;
1418 nat->in_flags |= IPN_UDP;
1419 nat->in_flags &= ~IPN_TCP;
1425 nat->in_flags &= ~IPN_TCPUDP;
1426 if (!(nat->in_flags & IPN_ICMPQUERY) &&
1440 nat->in_flags &= ~IPN_TCPUDP;
1453 if ((nat->in_flags & (IPN_TCP|IPN_UDP)) == 0) {
1463 if ((nat->in_flags & (IPN_TCPUDP|IPN_FIXEDDPORT)) == IPN_FIXEDDPORT)
1464 nat->in_flags &= ~IPN_FIXEDDPORT;
1560 if ((suggest_port == 1) && (nat->in_flags & IPN_TCPUDP) == 0)
1561 nat->in_flags |= IPN_TCPUDP;
1563 if ((nat->in_flags & IPN_TCPUDP) == 0)
1567 ((nat->in_flags & IPN_AUTOPORTMAP) != 0))
1575 if ((suggest_port == 1) && (nat->in_flags & IPN_TCPUDP) == 0)
1576 nat->in_flags |= IPN_TCPUDP;
1578 if ((nat->in_pr[0] == 0) && ((nat->in_flags & IPN_TCPUDP) == 0) &&