Lines Matching refs:lastport
1647 uint16_t *__single lastport; in in6_pcbsetport() local
1693 lastport = &pcbinfo->ipi_lasthi; in in6_pcbsetport()
1706 lastport = &pcbinfo->ipi_lastlow; in in6_pcbsetport()
1710 lastport = &pcbinfo->ipi_lastport; in in6_pcbsetport()
1725 *lastport = first - (rand_port % (first - last)); in in6_pcbsetport()
1733 *lastport = first + (rand_port % (first - last)); in in6_pcbsetport()
1759 --*lastport; in in6_pcbsetport()
1760 if (*lastport > first || *lastport < last) { in in6_pcbsetport()
1761 *lastport = first; in in6_pcbsetport()
1764 ++*lastport; in in6_pcbsetport()
1765 if (*lastport < first || *lastport > last) { in in6_pcbsetport()
1766 *lastport = first; in in6_pcbsetport()
1769 lport = htons(*lastport); in in6_pcbsetport()