Home
last modified time | relevance | path

Searched refs:in_pmin (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/cmd/ipf/lib/common/
H A Dprintnat.c104 printf(" port %d", ntohs(np->in_pmin));
105 if (np->in_pmax != np->in_pmin)
184 if ((np->in_pmin == 0) &&
188 printf(" ports %d", np->in_pmin);
191 } else if (np->in_pmin || np->in_pmax) {
202 ntohs(np->in_pmin),
206 printf(" %d:%d", ntohs(np->in_pmin),
H A Dnat_setgroupmap.c30 if (!(n->in_ppip = n->in_pmin))
/titanic_50/usr/src/cmd/ipf/tools/
H A Dipnat_y.y250 (nat->in_pmin != 0 ||
260 (nat->in_pmin != 0 ||
409 dport: | IPNY_PORT portspec { nat->in_pmin = htons($2);
411 | IPNY_PORT portspec '-' portspec { nat->in_pmin = htons($2);
413 | IPNY_PORT portspec ':' portspec { nat->in_pmin = htons($2);
423 ports: | IPNY_PORTS YY_NUMBER { nat->in_pmin = $2; }
494 { nat->in_pmin = htons($3);
499 nat->in_pmin = htons(1024);
512 nat->in_pmin = htons($3);
551 nat->in_pmin = htons($3.p1);
[all …]
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c443 ntohs(np->in_pmin));
444 port += ntohs(np->in_pmin);
450 np->in_pnext = ntohs(np->in_pmin);
658 (np->in_pmin != np->in_pmax)) {
659 nport = ntohs(dport) - ntohs(np->in_pmin) +
2414 if (np->in_pmin &&
2416 (ntohs(dport) < ntohs(np->in_pmin))))
H A Dip_nat.c943 if (ntohs(n->in_pmax) < ntohs(n->in_pmin))
985 n->in_pnext = ntohs(n->in_pmin);
989 if (ntohs(n->in_pmax) >= ntohs(n->in_pmin)) {
991 ntohs(n->in_pmin) + 1);
2240 ntohs(np->in_pmin) + 1);
2241 port += ntohs(np->in_pmin);
2247 np->in_pnext = ntohs(np->in_pmin);
2442 (np->in_pmin != np->in_pmax)) {
2443 nport = ntohs(dport) - ntohs(np->in_pmin) +
4297 if (np->in_pmin &&
[all …]
/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h216 #define in_pmin in_port[0] /* Also holds static redir port */ macro
H A Dip_rpcb_pxy.c1258 ipn->in_pmin = htons(fi.fin_dport);