Lines Matching defs:requested_port
61 sctp_select_port(sctp_t *sctp, in_port_t *requested_port, int *user_specified)
74 if (*requested_port == 0) {
75 *requested_port = sctp_update_next_port(
78 if (*requested_port == 0)
86 * If the requested_port is in the well-known privileged range,
94 if (*requested_port < sctps->sctps_smallest_nonpriv_port) {
98 if (*requested_port ==
111 *requested_port, IPPROTO_SCTP) != 0) {
114 *requested_port));
229 in_port_t requested_port;
260 requested_port = ntohs(sin->sin_port);
269 requested_port = ntohs(sin6->sin6_port);
288 bind_to_req_port_only = requested_port == 0 ? B_FALSE : B_TRUE;
290 err = sctp_select_port(sctp, &requested_port, &user_specified);
295 user_specified == 1 ? htons(requested_port) : 0)) != 0) {
298 err = sctp_bindi(sctp, requested_port, bind_to_req_port_only,