/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <rpc/rpcb_prot.h>
/*
* nfsl_principal_name_get - extracts principal from transport struct.
*/
static char *
{
void *cookie;
case AUTH_UNIX:
case AUTH_NONE:
/* no principal name provided */
break;
case AUTH_DES:
break;
case RPCSEC_GSS:
break;
default:
break;
}
return (principal_name);
}
{
return (FALSE);
}
{
}
{
}
{
return (TRUE);
}
return (FALSE);
}
{
}
/*
* Current version (2 and up) xdr function for buffer header
* uses 64-bit offset (relocated to an 8 byte boundary), version 1 uses 32.
*/
{
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
}
/*
* Hand coded xdr functions for the kernel ENCODE path
*/
struct exportinfo *exi,
unsigned int reclen,
unsigned int record_id)
{
unsigned int flavor;
return (FALSE);
/*
* First we do the encoding of the record header
*/
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
gethrestime(&now);
return (FALSE);
/* This code depends on us doing XDR_ENCODE ops only */
return (FALSE);
return (FALSE);
/*
*/
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
}
{
}
{
return (FALSE);
case NFS_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
}
{
return (FALSE);
}
{
return (FALSE);
case NFS_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
case NFS_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
}
{
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
}
{
return (FALSE);
}
{
int count;
return (FALSE);
case NFS_OK:
/*
* allocate extra element for terminating NULL
*/
}
return (FALSE);
}
break;
}
return (TRUE);
}
{
return (FALSE);
}
{
return (FALSE);
}
{
return (FALSE);
return (FALSE);
}
{
}
{
return (FALSE);
return (FALSE);
}
{
return (FALSE);
return (FALSE);
}
{
return (FALSE);
case NFS_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
char *name;
return (FALSE);
else {
/*
* The name is not defined, set it to the
* zero length string.
*/
}
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
case TRUE:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
case UNCHECKED:
case GUARDED:
if (!xdr_set_size3(xdrs,
return (FALSE);
break;
case EXCLUSIVE:
break;
default:
return (FALSE);
}
return (TRUE);
}
{
return (FALSE);
}
{
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
}
{
}
{
}
{
return (FALSE);
}
{
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
return (FALSE);
}
{
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
return (FALSE);
return (FALSE);
}
{
return (FALSE);
return (FALSE);
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
return (FALSE);
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
}
{
}
{
}
{
}
{
return (FALSE);
}
{
}
{
return (FALSE);
}
{
}
{
}
{
}
{
return (FALSE);
return (FALSE);
}
#ifdef nextdp
#endif
{
int nents;
char *name;
while (nents > 0) {
return (FALSE);
infop++;
nents--;
continue;
}
return (FALSE);
}
infop++;
nents--;
}
return (FALSE);
}
{
return (FALSE);
case NFS3_OK:
return (FALSE);
break;
}
return (TRUE);
}
{
}
{
}
{
}
{
}
{
}
{
}
{
return (FALSE);
return (FALSE);
}
{
}
{
}
}