spray(3N) spray(3N)
NAME
spray - scatter data in order to check the network
SYNOPSIS
DESCRIPTION
This reference page describes the data structures and XDR routines used by the spray(1M) program. A function call does not exist. Refer
to spray(1M) for more information.
RPC Information
Program number:
XDR routines:
xdr_sprayarr(xdrs, arr);
XDR *xdrs;
struct sprayarr *arr;
xdr_spraycumul(xdrs, cumul);
XDR *xdrs;
struct spraycumul *cumul;
Procedures:
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. The
sprayarr is only used by the caller, to vary the size of the UDP packets sent.
Takes no arguments, returns
struct spraycumul with the values of counter and clock set to reflect the number of calls, and the total time (seconds and
microseconds) elapsed since the last request.
Takes no arguments and returns no value.
Zeros out counter and clock in preparation for calls to
Versions:
Structures:
struct spraycumul {
unsigned counter;
struct timeval clock;
};
struct sprayarr {
int *data;
int lnth;
};
WARNINGS
User applications that call this routine must be linked with For example,
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
spray(1M), sprayd(1M).
spray(3N)