Home
last modified time | relevance | path

Searched refs:in_pmax (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintnat.c103 if (np->in_pmax != np->in_pmin)
104 printf("-%d", ntohs(np->in_pmax));
145 printf("\tpmax %u\n", np->in_pmax);
188 printf("\n\tip modulous %d", np->in_pmax);
189 } else if (np->in_pmin || np->in_pmax) {
201 ntohs(np->in_pmax),
205 ntohs(np->in_pmax));
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat_y.y249 nat->in_pmax != 0 ||
259 nat->in_pmax != 0 ||
408 nat->in_pmax = htons($2); }
410 nat->in_pmax = htons($4); }
412 nat->in_pmax = htons($4); }
493 nat->in_pmax = htons($5);
498 nat->in_pmax = htons(65535);
511 nat->in_pmax = htons($5);
705 nat->in_pmax = nat->in_pmin;
940 nat->in_pmax = 0;
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c442 port = ipf_random() % (ntohs(np->in_pmax) -
449 if (np->in_pnext > ntohs(np->in_pmax)) {
658 (np->in_pmin != np->in_pmax)) {
2415 ((ntohs(np->in_pmax) < ntohs(dport)) ||
H A Dip_nat.c943 if (ntohs(n->in_pmax) < ntohs(n->in_pmin))
989 if (ntohs(n->in_pmax) >= ntohs(n->in_pmin)) {
990 n->in_space *= (ntohs(n->in_pmax) -
2239 port = ipf_random() % (ntohs(np->in_pmax) -
2246 if (np->in_pnext > ntohs(np->in_pmax)) {
2442 (np->in_pmin != np->in_pmax)) {
4298 ((ntohs(np->in_pmax) < ntohs(dport)) ||
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h217 #define in_pmax in_port[1] macro
H A Dip_rpcb_pxy.c1259 ipn->in_pmax = htons(fi.fin_dport);