SPRAY(3R) — UNIX Programmer’s Manual
NAME
spray − scatter data in order to check the network
DESCRIPTION
The spray protocol sends packets to a given machine to test the machine’s speed and reliability.
RPC INFO
program number:
SPRAYPROG
xdr routines:
xdr_sprayarr(xdrsp, arrp);
XDR ∗xdrsp;
struct sprayarr ∗arrp;
xdr_spraycumul(xdrsp, cumulp);
XDR ∗xdrsp;
struct spraycumul ∗cumulp;
procs:
SPRAYPROC_SPRAY
SPRAYPROC_GET
SPRAYPROC_CLEAR
versions:
SPRAYVERS_ORIG
structures:
struct spraycumul {
unsigned counter;
timeval_t clock;
};
struct sprayarr {
int ∗data;
int lnth;
};
PROGRAMMING
#include <rpcsvc/spray.h>
The following XDR routines are available in librpcsvc:
xdr_sprayarr
xdr_spraycumul
SEE ALSO
4BSD