Lines Matching refs:port_id
129 nl_port_lookup(uint32_t port_id) in nl_port_lookup() argument
134 if (nlp->nl_port == port_id) in nl_port_lookup()
393 nl_assign_port(struct nlpcb *nlp, uint32_t port_id) in nl_assign_port() argument
396 .nl_pid = port_id, in nl_assign_port()
407 NL_LOG(LOG_DEBUG3, "socket %p, port assign: %d, error: %d", nlp->nl_socket, port_id, error); in nl_assign_port()
419 uint32_t port_id = candidate_id; in nl_autobind_port() local
425 NL_LOG(LOG_DEBUG3, "socket %p, trying to assign port %d", nlp->nl_socket, port_id); in nl_autobind_port()
427 exist = nl_port_lookup(port_id) != 0; in nl_autobind_port()
430 error = nl_assign_port(nlp, port_id); in nl_autobind_port()
434 port_id++; in nl_autobind_port()
436 NL_LOG(LOG_DEBUG3, "socket %p, autobind to %d, error: %d", nlp->nl_socket, port_id, error); in nl_autobind_port()