/*
 *   COMPONENT_NAME: onchdrs
 *
 *   FUNCTIONS: none
 *
 *   ORIGINS: 24,27
 *
 *
 *   (C) COPYRIGHT International Business Machines Corp. 1988,1993
 *   All Rights Reserved
 *   Licensed Materials - Property of IBM
 *   US Government Users Restricted Rights - Use, duplication or
 *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */


/*
 * Copyright (c) 1988 by Sun Microsystems, Inc.
 * (#) from SUN 1.5
 * 
 */

/* (#)spray.h	1.1 12/13/88 17:47:03 */
/*	(#)spray.h	1.2 88/05/08 4.0NFSSRC SMI	*/

#ifndef _H_rpcsvc_spray
#define _H_rpcsvc_spray

#include <rpc/xdr.h>

#define SPRAYPROG 100012
#define SPRAYPROC_SPRAY 1
#define SPRAYPROC_GET 2
#define SPRAYPROC_CLEAR 3
#define SPRAYVERS_ORIG 1
#define SPRAYVERS 1

#define SPRAYOVERHEAD 86	/* size of rpc packet when size=0 */
#define SPRAYMAX 8845		/* related to max udp packet of 9000 */


struct spraycumul {
	unsigned counter;
	struct timeval clock;
};
#if __cplusplus
extern "C"
#endif
int xdr_spraycumul(XDR *, struct spraycumul *);

struct sprayarr {
	int *data;
	int lnth;
};
#if __cplusplus
extern "C"
#endif
int xdr_sprayarr(XDR *, struct sprayarr *);

#endif /*_H_rpcsvc_spray*/
