Searched refs:lastport (Results 1 – 2 of 2) sorted by relevance
1644 uint16_t *__single lastport; in in6_pcbsetport() local1690 lastport = &pcbinfo->ipi_lasthi; in in6_pcbsetport()1703 lastport = &pcbinfo->ipi_lastlow; in in6_pcbsetport()1707 lastport = &pcbinfo->ipi_lastport; in in6_pcbsetport()1722 *lastport = first - (rand_port % (first - last)); in in6_pcbsetport()1730 *lastport = first + (rand_port % (first - last)); in in6_pcbsetport()1756 --*lastport; in in6_pcbsetport()1757 if (*lastport > first || *lastport < last) { in in6_pcbsetport()1758 *lastport = first; in in6_pcbsetport()1761 ++*lastport; in in6_pcbsetport()[all …]
871 unsigned short *lastport; in in_pcbbind() local1169 lastport = &pcbinfo->ipi_lasthi; in in_pcbbind()1182 lastport = &pcbinfo->ipi_lastlow; in in_pcbbind()1186 lastport = &pcbinfo->ipi_lastport; in in_pcbbind()1208 *lastport = in in_pcbbind()1224 --*lastport; in in_pcbbind()1225 if (*lastport > first || *lastport < last) { in in_pcbbind()1226 *lastport = first; in in_pcbbind()1228 lport = htons(*lastport); in in_pcbbind()1270 *lastport = in in_pcbbind()[all …]