Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ kclt_crea(NS) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nfsclnt(NADM)

lckclnt(NADM)


 kclt_create(NS)                6 January 1993                kclt_create(NS)


 Name

    kclt_create - create kernel RPC client handles

 Syntax


    #include <sys/types.h>

    kclt_create(nfd, fds, trans, tsdu, pgm, vers)
    int nfd;
    int *fds;
    int trans;
    int tsdu;
    ulong pgm;
    ulong vers;


 Description

    kcltcreate is used to create client handles for kernel RPC clients to
    use.  Currently, there are two kernel RPC clients:  NFS and the lock man-
    ager.

    nfd is the number of file descriptors in the array to which fds points.
    nfd controls the number of client handles which will be created using
    these file descriptors in conjunction with the rest of the arguments.
    trans is used as a ``transport identifier.''  It is intended to be used
    to differentiate between different transport and protocol implementations
    running concurrently on the host.  In this implementation, always set the
    values for trans to 1. tsdu is the maximum transport service data unit
    that the transport can handle.  pgm and vers are used when initializing
    the new client handles.  The RPC call header is pre-serialized in the
    client handle for performance.  pgm and vers are part of the RPC call
    header.  In addition, trans, pgm, and vers are used internally to iden-
    tify client handles for allocation.

 See also

    nfsclnt(NADM) and lckclnt(NADM).


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