Home
last modified time | relevance | path

Searched refs:lastport (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/bsd/netinet6/
H A Din6_src.c1644 uint16_t *__single lastport; in in6_pcbsetport() local
1690 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 …]
/xnu-11215.1.10/bsd/netinet/
H A Din_pcb.c871 unsigned short *lastport; in in_pcbbind() local
1169 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 …]