2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ 2N/A/* All Rights Reserved */ 2N/A * Portions of this source code were derived from Berkeley 4.3 BSD 2N/A * under license from the Regents of the University of California. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * PSARC 2003/523 Contract Private Interface 2N/A * Changes must be reviewed by Solaris File Sharing 2N/A * Changes must be communicated to contract-2003-523@sun.com 2N/A RPCLOG0(
1,
"clnt_tli_kcreate: bad config or handle\n");
2N/A "clnt_tli_kcreate: clnt_clts_kcreate failed error %d\n",
2N/A "clnt_tli_kcreate: clnt_cots_kcreate failed error %d\n",
2N/A * RDMA doesn't support TSOL. It's better to 2N/A RPCLOG0(
1,
"clnt_tli_kcreate: tsol not supported\n");
2N/A "clnt_tli_kcreate: clnt_rdma_kcreate failed error %d\n",
2N/A RPCLOG(
1,
"clnt_tli_kcreate: Bad service type %d\n",
2N/A * "Kinit" a client handle by calling the appropriate cots or clts routine. 2N/A * PSARC 2003/523 Contract Private Interface 2N/A * Changes must be reviewed by Solaris File Sharing 2N/A * Changes must be communicated to contract-2003-523@sun.com 2N/A * try to bind to a reserved port 2N/A /* now separate IPv4 and IPv6 by looking at len of tiptr.addr */ 2N/A /* LINTED pointer alignment */ 2N/A * Caller wants to bind to a specific port, so don't bother with the 2N/A * loop that binds to the next free one. 2N/A RPCLOG(
8,
"bindresvport: calling t_kbind tiptr = %p\n",
2N/A * The unbind is called in case the bind failed 2N/A * with an EINTR potentially leaving the 2N/A * transport in bound state. 2N/A RPCLOG(
8,
"bindresvport: calling t_kbind tiptr = 0%p\n",
2N/A * The unbind is called in case the bind failed 2N/A * with an EINTR potentially leaving the * transport in bound state. RPCLOG0(
1,
"bindresvport: bcmp error\n");
RPCLOG(
8,
"bindresvport: port assigned %d\n",
RPCLOG(
8,
"bindresvport: port assigned %d\n",
for (i = 0; i <
size; i++) {