Home
last modified time | relevance | path

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

/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dip_rcmd_pxy.c217 nat2 = ipf_nat6_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
222 nat2 = ipf_nat6_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
232 nat2 = ipf_nat_outlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
237 nat2 = ipf_nat_inlookup(&fi, NAT_SEARCH|IPN_TCP, in ipf_p_rcmd_portmsg()
283 nflags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_rcmd_portmsg()
297 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_rcmd_portmsg()
H A Dip_nat.h339 #define IPN_TCP 0x00001 macro
341 #define IPN_TCPUDP (IPN_TCP|IPN_UDP)
343 #define IPN_TCPUDPICMP (IPN_TCP|IPN_UDP|IPN_ICMPERR)
345 #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.c501 nat2 = ipf_nat6_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
506 nat2 = ipf_nat6_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
515 nat2 = ipf_nat_outlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
520 nat2 = ipf_nat_inlookup(&fi, IPN_TCP|NAT_SEARCH, in ipf_p_ftp_addport()
560 flags = SI_W_SPORT|NAT_SLAVE|IPN_TCP; in ipf_p_ftp_addport()
578 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_addport()
869 nflags = IPN_TCP|SI_W_SPORT; in ipf_p_ftp_pasvreply()
901 (void) ipf_nat_proto(&fi, nat2, IPN_TCP); in ipf_p_ftp_pasvreply()
H A Dip_nat6.c1430 flags = IPN_TCP; in ipf_nat6_icmperrorlookup()
1590 flags = IPN_TCP; in ipf_nat6_icmperror()
2435 if (np->nl_flags & IPN_TCP) in ipf_nat6_lookupredir()
2596 nflags = IPN_TCP; in ipf_nat6_checkout()
2986 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-13.1/sbin/ipf/libipf/
H A Dprintproto.c21 else if (np->in_flags & IPN_TCP) in printproto()
/freebsd-13.1/share/examples/ipfilter/samples/
H A Drelay.c131 nl.nl_flags = IPN_TCP;
H A Dproxy.c95 natlook.nl_flags = IPN_TCP;
/freebsd-13.1/sbin/ipf/ipnat/
H A Dipnat_y.y397 nat->in_flags &= ~IPN_TCP;
1407 nat->in_flags |= IPN_TCP; in setnatproto()
1412 nat->in_flags &= ~IPN_TCP; in setnatproto()
1446 if ((nat->in_flags & (IPN_TCP|IPN_UDP)) == 0) { in setnatproto()
/freebsd-13.1/share/examples/ipfilter/l4check/
H A Dl4check.c502 ipn->in_flags = IPN_TCP|IPN_ROUNDR; in readconfig()