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) 1986, 2012, 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 * 4.3 BSD under license from the Regents of the University of 2N/A * If you have some data to be interpreted as external data representation 2N/A * or to be converted to external data representation in a memory buffer, 2N/A * then this is the package for you. 2N/A * Meaning of the private areas of the xdr struct for xdr_mem 2N/A * x_base : Base from where the xdr stream starts 2N/A * x_private : The current position of the stream. 2N/A * x_handy : The size of the stream buffer. 2N/A * The procedure xdrmem_create initializes a stream descriptor for a 2N/A * We check here that the size is with in the range of the 2N/A * address space. If not we set x_handy to zero. This will cause 2N/A * all xdrmem entry points to fail. 2N/A /* LINTED pointer cast */ 2N/A /* LINTED pointer cast */ 2N/A /* LINTED pointer cast */ 2N/A /* LINTED pointer cast */ 2N/A /* LINTED pointer cast */ 2N/A/* VARIABLES PROTECTED BY ops_lock: ops */