SPRAY(3R) — RPC SERVICES
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
};
SEE ALSO
Sun Release 3.0β — Last change: 10 August 1985