Home
last modified time | relevance | path

Searched refs:bind_to_req_port_only (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c312 boolean_t bind_to_req_port_only, cred_t *cr) in tcp_bind_select_lport() argument
484 connp->conn_reuseaddr, B_FALSE, bind_to_req_port_only, in tcp_bind_select_lport()
494 if (bind_to_req_port_only) { in tcp_bind_select_lport()
522 boolean_t bind_to_req_port_only) in tcp_bind_check() argument
628 bind_to_req_port_only = requested_port != 0 && bind_to_req_port_only; in tcp_bind_check()
631 bind_to_req_port_only, cr); in tcp_bind_check()
659 boolean_t bind_to_req_port_only, boolean_t user_specified) in tcp_bindi() argument
672 if (bind_to_req_port_only) { in tcp_bindi()
815 bind_to_req_port_only) in tcp_bindi()
H A Dtcp.c4078 boolean_t bind_to_req_port_only) in tcp_do_bind() argument
4091 error = tcp_bind_check(connp, sa, len, cr, bind_to_req_port_only); in tcp_do_bind()
4339 int backlog, cred_t *cr, boolean_t bind_to_req_port_only) in tcp_do_listen() argument
4390 bind_to_req_port_only); in tcp_do_listen()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c228 boolean_t bind_to_req_port_only; in sctp_bind() local
288 bind_to_req_port_only = requested_port == 0 ? B_FALSE : B_TRUE; in sctp_bind()
298 err = sctp_bindi(sctp, requested_port, bind_to_req_port_only, in sctp_bind()
540 sctp_bindi(sctp_t *sctp, in_port_t port, boolean_t bind_to_req_port_only, in sctp_bindi() argument
556 if (bind_to_req_port_only) { in sctp_bindi()
756 return (bind_to_req_port_only ? EADDRINUSE : EADDRNOTAVAIL); in sctp_bindi()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c1137 boolean_t bind_to_req_port_only) in tcp_bindi() argument
1163 if (bind_to_req_port_only) { in tcp_bindi()
1182 boolean_t bind_to_req_port_only; in tcp_bind() local
1205 bind_to_req_port_only = B_FALSE; in tcp_bind()
1207 bind_to_req_port_only = B_TRUE; in tcp_bind()
1214 reuseaddr, bind_to_req_port_only); in tcp_bind()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c4956 boolean_t bind_to_req_port_only) in udp_do_bind() argument
5043 if (requested_port == 0 || !bind_to_req_port_only) in udp_do_bind()
5044 bind_to_req_port_only = B_FALSE; in udp_do_bind()
5046 bind_to_req_port_only = B_TRUE; in udp_do_bind()
5275 if (bind_to_req_port_only) { in udp_do_bind()