Home
last modified time | relevance | path

Searched refs:IPN_TCP (Results 1 – 11 of 11) sorted by relevance

/src/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c209 nat2 = ipf_nat6_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
214 nat2 = ipf_nat6_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
224 nat2 = ipf_nat_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
229 nat2 = ipf_nat_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
275 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
289 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_rcmd_portmsg()
H A Dip_nat.h335 #define IPN_TCP 0x00001 macro
337 #define IPN_TCPUDP (IPN_TCP|IPN_UDP)
339 #define IPN_TCPUDPICMP (IPN_TCP|IPN_UDP|IPN_ICMPERR)
341 #define IPN_TCPUDPICMPQ (IPN_TCP|IPN_UDP|IPN_ICMPQUERY)
H A Dip_irc_pxy.c384 nat2 = ipf_nat_outlookup(fin, IPN_TCP, nat->nat_pr[1], nat->nat_nsrcip, in ipf_p_irc_send()
406 NAT_SLAVE|IPN_TCP|SI_W_DPORT, NAT_OUTBOUND); in ipf_p_irc_send()
H A Dip_ftp_pxy.c494 nat2 = ipf_nat6_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
499 nat2 = ipf_nat6_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
508 nat2 = ipf_nat_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
513 nat2 = ipf_nat_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
553 flags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_ftp_addport()
571 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_addport()
862 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
894 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_pasvreply()
H A Dip_nat6.c1422 flags = IPN_TCP; in ipf_nat6_icmperrorlookup()
1580 flags = IPN_TCP; in ipf_nat6_icmperror()
2427 if (np->nl_flags & IPN_TCP) in ipf_nat6_lookupredir()
2587 nflags = IPN_TCP; in ipf_nat6_checkout()
2975 nflags = IPN_TCP; in ipf_nat6_checkin()
H A Dip_nat.c3647 flags = IPN_TCP; in ipf_nat_icmperrorlookup()
3766 flags = IPN_TCP; in ipf_nat_icmperror()
4603 if (np->nl_flags & IPN_TCP) in ipf_nat_lookupredir()
4828 nflags = IPN_TCP; in ipf_nat_checkout()
5307 nflags = IPN_TCP; in ipf_nat_checkin()
5747 if ((nflags & IPN_TCP) != 0) in ipf_nat_proto()
5892 if ((nat->nat_flags & IPN_TCP) != 0) in ipf_nat_sync()
8234 nflags = IPN_TCP; in ipf_nat_uncreate()
/src/sbin/ipf/libipf/
H A Dprintproto.c18 else if (np->in_flags & IPN_TCP) in printproto()
/src/share/examples/ipfilter/samples/
H A Drelay.c130 nl.nl_flags = IPN_TCP;
H A Dproxy.c94 natlook.nl_flags = IPN_TCP;
/src/sbin/ipf/ipnat/
H A Dipnat_y.y396 nat->in_flags &= ~IPN_TCP;
1406 nat->in_flags |= IPN_TCP; in setnatproto()
1411 nat->in_flags &= ~IPN_TCP; in setnatproto()
1445 if ((nat->in_flags & (IPN_TCP|IPN_UDP)) == 0) { in setnatproto()
/src/share/examples/ipfilter/l4check/
H A Dl4check.c501 ipn->in_flags = IPN_TCP|IPN_ROUNDR; in readconfig()