IPN_TCP
nat->in_flags |= IPN_TCP;
nat->in_flags &= ~IPN_TCP;
if ((nat->in_flags & (IPN_TCP|IPN_UDP)) == 0) {
nat->in_flags &= ~IPN_TCP;
else if (np->in_flags & IPN_TCP)
ipn->in_flags = IPN_TCP|IPN_ROUNDR;
natlook.nl_flags = IPN_TCP;
nl.nl_flags = IPN_TCP;
nat2 = ipf_nat6_outlookup(&fi, IPN_TCP|NAT_SEARCH,
nat2 = ipf_nat6_inlookup(&fi, IPN_TCP|NAT_SEARCH,
nat2 = ipf_nat_outlookup(&fi, IPN_TCP|NAT_SEARCH,
nat2 = ipf_nat_inlookup(&fi, IPN_TCP|NAT_SEARCH,
flags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
(void) ipf_nat_proto(&fi, nat2, IPN_TCP);
nflags = IPN_TCP|SI_W_SPORT;
(void) ipf_nat_proto(&fi, nat2, IPN_TCP);
nat2 = ipf_nat_outlookup(fin, IPN_TCP, nat->nat_pr[1], nat->nat_nsrcip,
NAT_SLAVE|IPN_TCP|SI_W_DPORT, NAT_OUTBOUND);
flags = IPN_TCP;
flags = IPN_TCP;
if (np->nl_flags & IPN_TCP)
nflags = IPN_TCP;
nflags = IPN_TCP;
if ((nflags & IPN_TCP) != 0)
if ((nat->nat_flags & IPN_TCP) != 0)
nflags = IPN_TCP;
#define IPN_TCPUDP (IPN_TCP|IPN_UDP)
#define IPN_TCPUDPICMP (IPN_TCP|IPN_UDP|IPN_ICMPERR)
#define IPN_TCPUDPICMPQ (IPN_TCP|IPN_UDP|IPN_ICMPQUERY)
flags = IPN_TCP;
flags = IPN_TCP;
if (np->nl_flags & IPN_TCP)
nflags = IPN_TCP;
nflags = IPN_TCP;
nat2 = ipf_nat6_outlookup(&fi, NAT_SEARCH|IPN_TCP,
nat2 = ipf_nat6_inlookup(&fi, NAT_SEARCH|IPN_TCP,
nat2 = ipf_nat_outlookup(&fi, NAT_SEARCH|IPN_TCP,
nat2 = ipf_nat_inlookup(&fi, NAT_SEARCH|IPN_TCP,
nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP;
(void) ipf_nat_proto(&fi, nat2, IPN_TCP);