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) 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * rad protocol definitions 2N/A * We don't use straight RPC since we have additional requirements: 2N/A * - We need multiple outstanding requests that get distinct results 2N/A * - We need asynchronous notifications 2N/A * At the same time, we can make things simpler. Which is good because 2N/A * Java doesn't have an RPC client. 2N/A * We programmatically impose an limit on the request size, but it is 2N/A * still possible for the XDR-encoded content of a request to deny 2N/A * service by specifying string, array, or opaque sizes that don't 2N/A * match the actual amount of data sent. 2N/A * Solaris's xdr_string implementation protects us from XDR strings 2N/A * with exaggerated sizes. Unfortunately xdr_bytes and xdr_array do 2N/A * not. So that we can safely use rpcgen to implement our protocol, 2N/A * we enforce the following limits on our non-string variable-length 2N/A * Request definitions 2N/Astruct resp_setattr { 2N/A/* Not actually used; see xdr_object_t & datatype.x */ 2N/A ( if isdefined, definition ) 2N/A/* Not actually used; see xdr_object_t & datatype.x */ 2N/A/* resp_subscribe {}; */ 2N/A/* resp_unsubscribe {}; */ 2N/A int ver;
/* Selected version */ 2N/A/* Container operations */