|
Coda Distributed File System
|
#include <sys/param.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <sys/time.h>#include <errno.h>#include <stdio.h>#include "coda_string.h"#include <struct.h>#include <unistd.h>#include <stdlib.h>#include <rpc2/rpc2.h>#include <rpc2/se.h>#include <rpc2/errors.h>#include <vice.h>#include <inconsist.h>#include "comm.h"#include "fso.h"#include "mariner.h"#include "user.h"#include "venus.private.h"#include "venusrecov.h"#include "venusvol.h"#include "vproc.h"
Functions | |
| int | Fcon_Init () |
| void | SFTP_SetDefaults (SFTP_Initializer *initPtr) |
| void | SFTP_Activate (SFTP_Initializer *initPtr) |
| void | CommInit () |
| void | PutConn (connent **cpp) |
| void | ConnPrint () |
| void | ConnPrint (FILE *fp) |
| void | ConnPrint (int fd) |
| void | Srvr_Wait () |
| void | Srvr_Signal () |
| srvent * | FindServer (struct in_addr *host) |
| srvent * | FindServerByCBCid (RPC2_Handle connid) |
| srvent * | GetServer (struct in_addr *host, RealmId realmid) |
| void | PutServer (srvent **spp) |
| void | ProbeServers (int Up) |
| void | DoProbes (int HowMany, struct in_addr *Hosts) |
| void | MultiBind (int HowMany, struct in_addr *Hosts, connent **Connections) |
| void | MultiProbe (int HowMany, RPC2_Handle *Handles) |
| long | HandleProbe (int HowMany, RPC2_Handle Handles[], long offset, long rpcval,...) |
| void | DownServers (char *buf, unsigned int *bufsize) |
| void | DownServers (int nservers, struct in_addr *hostids, char *buf, unsigned int *bufsize) |
| void | CheckServerBW (long curr_time) |
| void | ServerPrint () |
| void | ServerPrint (FILE *f) |
| int | FailDisconnect (int nservers, struct in_addr *hostids) |
| int | FailReconnect (int nservers, struct in_addr *hostids) |
Variables | |
| int | COPModes = 6 |
| char | myHostName [MAXHOSTNAMELEN] |
| int | rpc2_retries = UNSET_RT |
| int | rpc2_timeout = UNSET_TO |
| int | sftp_windowsize = UNSET_WS |
| int | sftp_sendahead = UNSET_SA |
| int | sftp_ackpoint = UNSET_AP |
| int | sftp_packetsize = UNSET_PS |
| int | rpc2_timeflag = UNSET_ST |
| int | mrpc2_timeflag = UNSET_MT |
| long | RPC2_Perror |
| struct CommQueueStruct | CommQueue |
| int(* | Fail_SendPredicate )(unsigned char ip1, unsigned char ip2, unsigned char ip3, unsigned char ip4, unsigned char color, RPC2_PacketBuffer *pb, struct sockaddr_in *sin, int fd) |
| int(* | Fail_RecvPredicate )(unsigned char ip1, unsigned char ip2, unsigned char ip3, unsigned char ip4, unsigned char color, RPC2_PacketBuffer *pb, struct sockaddr_in *sin, int fd) |
| void CheckServerBW | ( | long | curr_time | ) |
| void CommInit | ( | ) |
| void ConnPrint | ( | ) |
| void ConnPrint | ( | FILE * | fp | ) |
| void ConnPrint | ( | int | fd | ) |
| void DoProbes | ( | int | HowMany, |
| struct in_addr * | Hosts | ||
| ) |
| void DownServers | ( | char * | buf, |
| unsigned int * | bufsize | ||
| ) |
| void DownServers | ( | int | nservers, |
| struct in_addr * | hostids, | ||
| char * | buf, | ||
| unsigned int * | bufsize | ||
| ) |
| int FailDisconnect | ( | int | nservers, |
| struct in_addr * | hostids | ||
| ) |
| int FailReconnect | ( | int | nservers, |
| struct in_addr * | hostids | ||
| ) |
| int Fcon_Init | ( | ) |
| srvent * FindServer | ( | struct in_addr * | host | ) |
| srvent * FindServerByCBCid | ( | RPC2_Handle | connid | ) |
| srvent * GetServer | ( | struct in_addr * | host, |
| RealmId | realmid | ||
| ) |
| long HandleProbe | ( | int | HowMany, |
| RPC2_Handle | Handles[], | ||
| long | offset, | ||
| long | rpcval, | ||
| ... | |||
| ) |
| void MultiBind | ( | int | HowMany, |
| struct in_addr * | Hosts, | ||
| connent ** | Connections | ||
| ) |
| void MultiProbe | ( | int | HowMany, |
| RPC2_Handle * | Handles | ||
| ) |
| void ProbeServers | ( | int | Up | ) |
| void PutConn | ( | connent ** | cpp | ) |
| void PutServer | ( | srvent ** | spp | ) |
| void ServerPrint | ( | ) |
| void ServerPrint | ( | FILE * | f | ) |
| void SFTP_Activate | ( | SFTP_Initializer * | initPtr | ) |
| void SFTP_SetDefaults | ( | SFTP_Initializer * | initPtr | ) |
| void Srvr_Signal | ( | ) |
| void Srvr_Wait | ( | ) |
| struct CommQueueStruct CommQueue |
| int COPModes = 6 |
|
extern |
|
extern |
| int mrpc2_timeflag = UNSET_MT |
| char myHostName[MAXHOSTNAMELEN] |
|
extern |
| int rpc2_retries = UNSET_RT |
| int rpc2_timeflag = UNSET_ST |
| int rpc2_timeout = UNSET_TO |
| int sftp_ackpoint = UNSET_AP |
| int sftp_packetsize = UNSET_PS |
| int sftp_sendahead = UNSET_SA |
| int sftp_windowsize = UNSET_WS |