Searched refs:port_cur (Results 1 – 1 of 1) sorted by relevance
469 static int port_cur; in pn_sock_get_port() local484 port_cur++; in pn_sock_get_port()485 if (port_cur < pmin || port_cur > pmax) in pn_sock_get_port()486 port_cur = pmin; in pn_sock_get_port()488 pn_sockaddr_set_port(&try_sa, port_cur); in pn_sock_get_port()491 sport = port_cur; in pn_sock_get_port()