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 (c) 1989, 2011, Oracle and/or its affiliates. All rights reserved. 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 2N/A * under license from the Regents of the University of 2N/A * __yp_all_cflookup() is a variant of the yp_all() code, 2N/A * which adds a 'hardlookup' parameter. This parameter is passed 2N/A * to __yp_dobind_cflookup(), and determines whether the server 2N/A * binding attempt is hard (try forever) of soft (retry a compiled- 2N/A * in number of times). 2N/A * This is the case where ypbind is running in broadcast mode, 2N/A * we have to do the jugglery to get the 2N/A * ypserv's address on COTS transport based 2N/A * on the CLTS address ypbind gave us ! 2N/A "yp_all: failed to get server's name\n");
2N/A /* check server name again, some other thread may have set it */ 2N/A- transport level create failure for domain %s / map %s",
domain,
map);
2N/A "yp_all - RPC clnt_call (transport level) failure"));
2N/A * This does the "glommed enumeration" stuff. callback->foreach is the name 2N/A * of a function which gets called per decoded key-value pair: 2N/A * (*callback->foreach)(status, key, keylen, val, vallen, callback->data); 2N/A * If the server we get back from __yp_dobind speaks the old protocol, this 2N/A * returns YPERR_VERS, and does not attempt to emulate the new functionality 2N/A * by using the old protocol. 2N/A * This function is identical to 'yp_all' with the exception that it 2N/A * attempts to use reserve ports. 2N/A * Have to free the binding since the reserved 2N/A * port bindings are not cached. 2N/A * This is the case where ypbind is running in broadcast mode, 2N/A * we have to do the jugglery to get the 2N/A * ypserv's address on COTS transport based 2N/A * on the CLTS address ypbind gave us ! 2N/A "yp_all: failed to get server's name\n");
2N/A /* check server name again, some other thread may have set it */ 2N/A- transport level create failure for domain %s / map %s",
domain,
map);
2N/A "yp_all - RPC clnt_call (transport level) failure"));