Coda Distributed File System
|
#include <limits.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/time.h>
#include <time.h>
#include <assert.h>
#include <rpc2/rpc2.h>
#include <rpc2/secure.h>
#include "rpc2.private.h"
Classes | |
struct | RecentBind |
Macros | |
#define | HASHLENGTH 512 |
#define | RPC2_DEAD_CONN_TIMEOUT 900 |
#define | RBSIZE 300 /* max size of RBCache for large RPC */ |
#define | RBCACHE_THRESHOLD 50 |
Functions | |
DLLIST_HEAD (rpc2_ConnList) | |
DLLIST_HEAD (rpc2_ConnFreeList) | |
int | rpc2_InitConn (void) |
struct CEntry * | __rpc2_GetConn (RPC2_Handle handle) |
struct CEntry * | rpc2_GetConn (RPC2_Handle handle) |
struct CEntry * | rpc2_getFreeConn () |
struct CEntry * | rpc2_AllocConn (struct RPC2_addrinfo *addr) |
void | rpc2_FreeConn (RPC2_Handle whichConn) |
void | rpc2_ReapDeadConns (void) |
void | rpc2_SetConnError (IN struct CEntry *ce) |
void | rpc2_NoteBinding (struct RPC2_addrinfo *addr, RPC2_Handle RemoteHandle, RPC2_Integer whichUnique, RPC2_Handle whichConn) |
struct CEntry * | rpc2_ConnFromBindInfo (struct RPC2_addrinfo *addr, RPC2_Handle RemoteHandle, RPC2_Integer whichUnique) |
#define HASHLENGTH 512 |
#define RBCACHE_THRESHOLD 50 |
#define RPC2_DEAD_CONN_TIMEOUT 900 |
struct CEntry * __rpc2_GetConn | ( | RPC2_Handle | handle | ) |
DLLIST_HEAD | ( | rpc2_ConnFreeList | ) |
DLLIST_HEAD | ( | rpc2_ConnList | ) |
struct CEntry * rpc2_AllocConn | ( | struct RPC2_addrinfo * | addr | ) |
struct CEntry * rpc2_ConnFromBindInfo | ( | struct RPC2_addrinfo * | addr, |
RPC2_Handle | RemoteHandle, | ||
RPC2_Integer | whichUnique | ||
) |
void rpc2_FreeConn | ( | RPC2_Handle | whichConn | ) |
struct CEntry * rpc2_GetConn | ( | RPC2_Handle | handle | ) |
struct CEntry * rpc2_getFreeConn | ( | ) |
int rpc2_InitConn | ( | void | ) |
void rpc2_NoteBinding | ( | struct RPC2_addrinfo * | addr, |
RPC2_Handle | RemoteHandle, | ||
RPC2_Integer | whichUnique, | ||
RPC2_Handle | whichConn | ||
) |
void rpc2_ReapDeadConns | ( | void | ) |