Lines Matching defs:requested_port
310 in_port_t requested_port = *requested_port_ptr;
334 mlp_port = requested_port;
335 if (requested_port == 0) {
336 requested_port = connp->conn_anon_priv_bind ?
340 if (requested_port == 0) {
368 * If the requested_port is in the well-known privileged range,
376 if (requested_port < tcps->tcps_smallest_nonpriv_port) {
380 if (requested_port ==
388 if (secpolicy_net_privaddr(cr, requested_port,
394 requested_port);
412 requested_port, addrtype);
422 requested_port);
458 requested_port, B_TRUE);
465 requested_port);
474 allocated_port = tcp_bindi(tcp, requested_port, &v6addr,
483 requested_port, B_FALSE);
518 in_port_t requested_port;
561 requested_port = ntohs(sin->sin_port);
573 requested_port = ntohs(sin6->sin6_port);
619 bind_to_req_port_only = requested_port != 0 && bind_to_req_port_only;
621 error = tcp_bind_select_lport(tcp, &requested_port,