Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c215 nat2 = ipf_nat6_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
220 nat2 = ipf_nat6_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
230 nat2 = ipf_nat_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
235 nat2 = ipf_nat_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
281 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
295 (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.c386 nat2 = ipf_nat_outlookup(fin, IPN_TCP, nat->nat_pr[1], nat->nat_nsrcip, in ipf_p_irc_send()
408 NAT_SLAVE|IPN_TCP|SI_W_DPORT, NAT_OUTBOUND); in ipf_p_irc_send()
H A Dip_ftp_pxy.c496 nat2 = ipf_nat6_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
501 nat2 = ipf_nat6_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
510 nat2 = ipf_nat_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
515 nat2 = ipf_nat_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
555 flags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_ftp_addport()
573 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_addport()
864 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
896 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_pasvreply()
H A Dip_nat6.c1427 flags = IPN_TCP; in ipf_nat6_icmperrorlookup()
1587 flags = IPN_TCP; in ipf_nat6_icmperror()
2437 if (np->nl_flags & IPN_TCP) in ipf_nat6_lookupredir()
2598 nflags = IPN_TCP; in ipf_nat6_checkout()
2988 nflags = IPN_TCP; in ipf_nat6_checkin()
H A Dip_nat.c3611 flags = IPN_TCP; in ipf_nat_icmperrorlookup()
3730 flags = IPN_TCP; in ipf_nat_icmperror()
4573 if (np->nl_flags & IPN_TCP) in ipf_nat_lookupredir()
4799 nflags = IPN_TCP; in ipf_nat_checkout()
5280 nflags = IPN_TCP; in ipf_nat_checkin()
5711 if ((nflags & IPN_TCP) != 0) in ipf_nat_proto()
5856 if ((nat->nat_flags & IPN_TCP) != 0) in ipf_nat_sync()
8210 nflags = IPN_TCP; in ipf_nat_uncreate()
/freebsd/sbin/ipf/libipf/
H A Dprintproto.c18 else if (np->in_flags & IPN_TCP) in printproto()
/freebsd/share/examples/ipfilter/samples/
H A Drelay.c130 nl.nl_flags = IPN_TCP;
H A Dproxy.c94 natlook.nl_flags = IPN_TCP;
/freebsd/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()
/freebsd/share/examples/ipfilter/l4check/
H A Dl4check.c501 ipn->in_flags = IPN_TCP|IPN_ROUNDR; in readconfig()