Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ spray(3N) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

spray(1M)

sprayd(1M)

spray(3N)

NAME

spray − scatter data in order to check the network

SYNOPSIS

#include <time.h>
#include <rpcsvc/spray.h>

DESCRIPTION

This reference page describes the data structures and XDR routines used by the spray(1M) program. A spray() function call does not exist.  Refer to spray(1M) for more information.

RPC Information

program number:
SPRAYPROG

xdr routines:
xdr_sprayarr(xdrs, arr);
XDR *xdrs;
struct sprayarr *arr;
xdr_spraycumul(xdrs, cumul);
XDR *xdrs;
struct spraycumul *cumul;
procedures:
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.
The sprayarr is only used by the caller,
to vary the size of the UDP packets sent.
SPRAYPROC_GET
Takes no arguments, returns struct spraycumul
with the values of counter and clock set to
reflect the number of SPRAYPROC_SPRAY calls,
and the total time (seconds and microseconds)
elapsed since the last SPRAYPROC_CLEAR request.
SPRAYPROC_CLEAR
Takes no arguments and returns no value.
Zeros out counter and clock in preparation
for calls to SPRAYPROC_SPRAY.
versions:
SPRAYVERS_ORIG

structures:
struct spraycumul {
unsigned counter;
struct timeval clock;
};
struct sprayarr {
int *data;
int lnth;
};

WARNING

User applications that call this routine must be linked with /usr/include/librpcsvc.a.  For example,

cc my_source.c -lrpcsvc

AUTHOR

spray was developed by Sun Microsystems, Inc. 

SEE ALSO

spray(1M), sprayd(1M). 

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026