RTEMS  5.0.0
Macros | Typedefs | Enumerations | Functions

A Multithreaded RPC/UDP Multiplexor. More...

#include <rpc/rpc.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/param.h>
#include <stdarg.h>
#include "librtemsNfs.h"

Go to the source code of this file.

Macros

#define RPCIOD_DEFAULT_ID   0xdef10000
 

Typedefs

typedef struct RpcUdpServerRec_RpcUdpServer
 
typedef struct RpcUdpXactRec_RpcUdpXact
 
typedef RpcUdpXact RpcUdpClnt
 
typedef void * XdrProcT
 Mute compiler warnings.
 
typedef void * CaddrT
 
typedef struct RpcUdpXactPoolRec_RpcUdpXactPool
 

Enumerations

enum  XactPoolGetMode { XactGetFail, XactGetWait, XactGetCreate }
 

Functions

enum clnt_stat rpcUdpServerCreate (struct sockaddr_in *paddr, rpcprog_t prog, rpcvers_t vers, u_long uid, u_long gid, RpcUdpServer *pclnt)
 
void rpcUdpServerDestroy (RpcUdpServer s)
 
int rpcUdpStats (FILE *f)
 Dump statistics to a file (stdout if NULL);. More...
 
enum clnt_stat rpcUdpClntCreate (struct sockaddr_in *psaddr, rpcprog_t prog, rpcvers_t vers, u_long uid, u_long gid, RpcUdpClnt *pclnt)
 
void RpcUdpClntDestroy (RpcUdpClnt clnt)
 
enum clnt_stat rpcUdpClntCall (RpcUdpClnt clnt, u_long proc, XdrProcT xargs, CaddrT pargs, XdrProcT xres, CaddrT pres, struct timeval *timeout)
 
RpcUdpXact rpcUdpXactCreate (u_long program, u_long version, u_long size)
 
void rpcUdpXactDestroy (RpcUdpXact xact)
 
enum clnt_stat rpcUdpSend (RpcUdpXact xact, RpcUdpServer srvr, struct timeval *timeout, u_long proc, xdrproc_t xres, caddr_t pres, xdrproc_t xargs, caddr_t pargs,...)
 
enum clnt_stat rpcUdpRcv (RpcUdpXact xact)
 Wait for a transaction to complete.
 
enum clnt_stat rpcUdpCallRp (struct sockaddr_in *pserver_addr, u_long prog, u_long vers, u_long proc, XdrProcT xargs, CaddrT pargs, XdrProcT xres, CaddrT pres, u_long uid, u_long gid, struct timeval *timeout)
 
RpcUdpXactPool rpcUdpXactPoolCreate (rpcprog_t prog, rpcvers_t version, int xactsize, int poolsize)
 
void rpcUdpXactPoolDestroy (RpcUdpXactPool pool)
 
RpcUdpXact rpcUdpXactPoolGet (RpcUdpXactPool pool, XactPoolGetMode mode)
 
void rpcUdpXactPoolPut (RpcUdpXact xact)
 

Detailed Description

A Multithreaded RPC/UDP Multiplexor.