SPRAY(3X) — Silicon Graphics
NAME
spray − scatter data in order to check the network
SYNOPSIS
#include <rpcsvc/spray.h>
RPC INFO
program number:
SPRAYPROG
xdr routines:
xdr_sprayarr(xdrs, arr);
XDR *xdrs;
struct sprayarr *arr;
xdr_spraycumul(xdrs, cumul);
XDR *xdrs;
sturct spraycumul *cumul;
procs:
SPRAYPROC_SPRAY
Takes no arguments, returns no value.
Increments a counter in server daemon.
The server does not return this call, so the caller should have a timeout of 0.
SPRAYPROC_GET
Takes no arguments, returns struct spraycumul with value of counter and clock.
SPRAYPROC_CLEAR
Takes no arguments and returns no value.
Zeros out counter and clock.
versions:
SPRAYVERS_ORIG
structures:
struct spraycumul {
unsigned counter;
struct timeval clock;
};
struct sprayarr {
int *data;
int lnth;
};
FILES
/usr/lib/librpcsvc.aRPC services library
SEE ALSO
NOTE
To compile and link a program that calls any of these routines, use a compile command of the form:
cc −I/usr/include/sun −I/usr/include/bsd prog.c −lrpcsvc −lsun −lbsd
Version 3.6 — December 20, 1987