Searched refs:port_cur (Results 1 – 1 of 1) sorted by relevance
470 static int port_cur; in pn_sock_get_port() local485 port_cur++; in pn_sock_get_port()486 if (port_cur < pmin || port_cur > pmax) in pn_sock_get_port()487 port_cur = pmin; in pn_sock_get_port()489 pn_sockaddr_set_port(&try_sa, port_cur); in pn_sock_get_port()492 sport = port_cur; in pn_sock_get_port()