Lines Matching refs:mymin

155     uint16_t *mymin, uint16_t *mymax, uint16_t **pnext_ephemeral, int algo)  in pcb_getports()  argument
181 *mymin = lowportmin; in pcb_getports()
186 *mymin = anonportmin; in pcb_getports()
198 *mymin = ip6_lowportmin; in pcb_getports()
203 *mymin = ip6_anonportmin; in pcb_getports()
215 if (*mymin > *mymax) { /* sanity check */ in pcb_getports()
218 swp = *mymin; in pcb_getports()
219 *mymin = *mymax; in pcb_getports()
224 *mymin, *mymax, *lastport); in pcb_getports()
377 uint16_t mymin, mymax, lastport; in algo_bsd() local
382 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_bsd()
386 count = mymax - mymin + 1; in algo_bsd()
390 if (myport < mymin || mymax < myport) in algo_bsd()
414 uint16_t mymin, mymax, lastport; in algo_random_start() local
420 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_random_start()
425 num_ephemeral = mymax - mymin + 1; in algo_random_start()
429 *next_ephemeral = mymin + (cprng_fast32() % num_ephemeral); in algo_random_start()
442 *next_ephemeral = mymin; in algo_random_start()
468 uint16_t mymin, mymax, lastport; in algo_random_pick() local
474 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_random_pick()
479 num_ephemeral = mymax - mymin + 1; in algo_random_pick()
482 *next_ephemeral = mymin + (cprng_fast32() % num_ephemeral); in algo_random_pick()
494 *next_ephemeral = mymin + in algo_random_pick()
606 uint16_t mymin, mymax, lastport; in algo_hash() local
613 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_hash()
624 num_ephemeral = mymax - mymin + 1; in algo_hash()
632 myport = mymin + (*next_ephemeral + offset) in algo_hash()
655 uint16_t mymin, mymax, lastport; in algo_doublehash() local
664 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_doublehash()
679 num_ephemeral = mymax - mymin + 1; in algo_doublehash()
685 myport = mymin + (offset + dhtable[idx]) in algo_doublehash()
709 uint16_t mymin, mymax, lastport; in algo_randinc() local
716 error = pcb_getports(inp, &lastport, &mymin, &mymax, in algo_randinc()
725 num_ephemeral = mymax - mymin + 1; in algo_randinc()
731 myport = mymin + in algo_randinc()
814 uint16_t lastport, mymin, mymax, *pnext_ephemeral; in portalgo_randport() local
816 error = pcb_getports(inp, &lastport, &mymin, in portalgo_randport()