Home
last modified time | relevance | path

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

/freebsd/sbin/ipf/libipf/
H A Dprintnat.c43 proto = np->in_pr[0]; in printnat()
47 proto = np->in_pr[1]; in printnat()
51 proto = np->in_pr[0]; in printnat()
55 proto = np->in_pr[1]; in printnat()
59 proto = np->in_pr[0]; in printnat()
63 proto = np->in_pr[1]; in printnat()
67 proto = np->in_pr[0]; in printnat()
71 proto = np->in_pr[1]; in printnat()
75 proto = np->in_pr[1]; in printnat()
79 proto = np->in_pr[0]; in printnat()
[all …]
H A Dprintproto.c24 else if (np->in_pr[0] == 0) in printproto()
29 PRINTF("%d", np->in_pr[0]); in printproto()
/freebsd/sbin/ipf/ipnat/
H A Dipnat_y.y391 nat->in_pr[0] = IPPROTO_UDP;
394 nat->in_pr[1] = IPPROTO_UDP;
578 | proto { if (nat->in_pr[0] != 0 ||
579 nat->in_pr[1] != 0 ||
584 | IPNY_TCPUDP { if (nat->in_pr[0] != 0 ||
585 nat->in_pr[1] != 0 ||
589 nat->in_pr[0] = 0;
590 nat->in_pr[1] = 0;
592 | IPNY_TCP '/' IPNY_UDP { if (nat->in_pr[0] != 0 ||
593 nat->in_pr[1] != 0 ||
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_proxy.c1296 ipn->in_pr[0] = old->in_pr[1]; in ipf_proxy_rule_rev()
1297 ipn->in_pr[1] = old->in_pr[0]; in ipf_proxy_rule_rev()
1383 ipn->in_pr[0] = old->in_pr[0]; in ipf_proxy_rule_fwd()
1384 ipn->in_pr[1] = old->in_pr[1]; in ipf_proxy_rule_fwd()
H A Dip_ipsec_pxy.c202 ipn->in_pr[0] = IPPROTO_ESP; in ipf_p_ipsec_new()
203 ipn->in_pr[1] = IPPROTO_ESP; in ipf_p_ipsec_new()
H A Dip_tftp_pxy.c191 ipn->in_pr[0] = IPPROTO_UDP; in ipf_p_tftp_new()
192 ipn->in_pr[1] = IPPROTO_UDP; in ipf_p_tftp_new()
H A Dip_pptp_pxy.c180 ipn->in_pr[0] = IPPROTO_GRE; in ipf_p_pptp_new()
181 ipn->in_pr[1] = IPPROTO_GRE; in ipf_p_pptp_new()
H A Dip_rpcb_pxy.c1186 ipn->in_pr[0] = proto; in ipf_p_rpcb_getnat()
1187 ipn->in_pr[1] = proto; in ipf_p_rpcb_getnat()
H A Dip_nat6.c2660 if (np->in_pr[1] && (np->in_pr[1] != fin->fin_p)) in ipf_nat6_checkout()
3052 if (np->in_pr[0] && (np->in_pr[0] != fin->fin_p)) in ipf_nat6_checkin()
H A Dip_nat.h242 int in_pr[2]; /* protocol. */ member
H A Dip_nat.c1604 n->in_pr[0], in ipf_nat_resolverule()
1608 n->in_pr[1], in ipf_nat_resolverule()
4853 if (np->in_pr[1] && (np->in_pr[1] != fin->fin_p)) in ipf_nat_checkout()
5338 if (np->in_pr[0] && (np->in_pr[0] != fin->fin_p)) in ipf_nat_checkin()