Searched refs:lastport (Results 1 – 2 of 2) sorted by relevance
1641 uint16_t *__single lastport; in in6_pcbsetport() local1687 lastport = &pcbinfo->ipi_lasthi; in in6_pcbsetport()1700 lastport = &pcbinfo->ipi_lastlow; in in6_pcbsetport()1704 lastport = &pcbinfo->ipi_lastport; in in6_pcbsetport()1719 *lastport = first - (rand_port % (first - last)); in in6_pcbsetport()1727 *lastport = first + (rand_port % (first - last)); in in6_pcbsetport()1753 --*lastport; in in6_pcbsetport()1754 if (*lastport > first || *lastport < last) { in in6_pcbsetport()1755 *lastport = first; in in6_pcbsetport()1758 ++*lastport; in in6_pcbsetport()[all …]
871 unsigned short *lastport; in in_pcbbind() local1166 lastport = &pcbinfo->ipi_lasthi; in in_pcbbind()1179 lastport = &pcbinfo->ipi_lastlow; in in_pcbbind()1183 lastport = &pcbinfo->ipi_lastport; in in_pcbbind()1205 *lastport = in in_pcbbind()1221 --*lastport; in in_pcbbind()1222 if (*lastport > first || *lastport < last) { in in_pcbbind()1223 *lastport = first; in in_pcbbind()1225 lport = htons(*lastport); in in_pcbbind()1267 *lastport = in in_pcbbind()[all …]