61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * CDDL HEADER START
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * The contents of this file are subject to the terms of the
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * Common Development and Distribution License, Version 1.0 only
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * (the "License"). You may not use this file except in compliance
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * with the License.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * See the License for the specific language governing permissions
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * and limitations under the License.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * When distributing Covered Code, include this CDDL HEADER in each
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * If applicable, add the following below this CDDL HEADER, with the
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * fields enclosed by brackets "[]" replaced with your own identifying
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * information: Portions Copyright [yyyy] [name of copyright owner]
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * CDDL HEADER END
e8031f0a8ed0e45c6d8847c5e09424e66fd34a4braf * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * Use is subject to license terms.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson#pragma ident "%Z%%M% %I% %E% SMI"
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson * Originally ompiled from key_prot.x using rpcgen.
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_bytes(xdrs, (char **)&objp->keybuf3_val,
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_array(xdrs, (char **)&objp->deskeyarray_val,
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_des_block(xdrs, &objp->cryptkeyres_u.deskey));
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_deskeyarray(xdrs, &objp->cryptkeyres3_u.deskey));
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_array(xdrs, (char **)&objp->gids.gids_val,
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_array(xdrs, (char **)&objp->gids.gids_val,
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_unixcred(xdrs, &objp->getcredres_u.cred));
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson return (xdr_unixcred3(xdrs, &objp->getcredres3_u.cred));
61961e0f20c7637a3846bb39786bb9dffa91dfb9robinson if (!xdr_key_netstarg(xdrs, &objp->key_netstres_u.knet))