Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/netinet6/
H A Din6_src.c1647 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()
[all …]
/xnu-12377.41.6/bsd/netinet/
H A Din_pcb.c831 unsigned short *lastport; in in_pcbbind() local
1126 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 …]