Searched refs:lastport (Results 1 – 2 of 2) sorted by relevance
1647 uint16_t *__single lastport; in in6_pcbsetport() local1693 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()[all …]
831 unsigned short *lastport; in in_pcbbind() local1126 lastport = &pcbinfo->ipi_lasthi; in in_pcbbind()1139 lastport = &pcbinfo->ipi_lastlow; in in_pcbbind()1143 lastport = &pcbinfo->ipi_lastport; in in_pcbbind()1165 *lastport = in in_pcbbind()1181 --*lastport; in in_pcbbind()1182 if (*lastport > first || *lastport < last) { in in_pcbbind()1183 *lastport = first; in in_pcbbind()1185 lport = htons(*lastport); in in_pcbbind()1227 *lastport = in in_pcbbind()[all …]