172static unsigned long ALL_VSGS[VSG_MEMBERS] = { 0, 0, 0, 0, 0, 0, 0, 0 };
174 unsigned long Hosts[VSG_MEMBERS];
189 static olist *CInfoTab;
194 unsigned long RemoteAddr;
195 unsigned short RemotePortNum;
217#define RESCOMM_MAXBSLEN 2048
Definition: rescomm.h:119
RepResCommCtxt()
Definition: rescomm.cc:96
RPC2_Integer retcodes[VSG_MEMBERS]
Definition: rescomm.h:124
unsigned long hosts[VSG_MEMBERS]
Definition: rescomm.h:123
unsigned dying[VSG_MEMBERS]
Definition: rescomm.h:127
~RepResCommCtxt()
Definition: rescomm.cc:109
unsigned long primaryhost
Definition: rescomm.h:125
RPC2_Handle handles[VSG_MEMBERS]
Definition: rescomm.h:122
RPC2_Integer HowMany
Definition: rescomm.h:121
void print()
Definition: rescomm.cc:111
RPC2_Multicast * MIp
Definition: rescomm.h:126
Definition: rescomm.h:209
conninfo * operator()()
Definition: rescomm.cc:725
Definition: rescomm.h:182
friend class conninfo_iterator
Definition: rescomm.h:183
unsigned long GetRemoteHost() WARN_SINGLE_HOMING
Definition: rescomm.cc:705
friend long RS_NewConnection(RPC2_Handle, RPC2_Integer, RPC2_Integer, RPC2_Integer, RPC2_Integer, RPC2_CountedBS *)
Definition: resutil.cc:65
unsigned short GetRemotePort()
Definition: rescomm.cc:715
friend void ResCommInit()
Definition: rescomm.cc:80
int GetSecLevel()
Definition: rescomm.cc:710
Definition: rescomm.h:137
static int resmgrps
Definition: rescomm.h:143
unsigned inuse
Definition: rescomm.h:153
unsigned dying
Definition: rescomm.h:154
RepResCommCtxt rrcc
Definition: rescomm.h:155
int GetHostSet(unsigned long *)
Definition: rescomm.cc:224
int CreateMember(unsigned long)
Definition: rescomm.cc:153
RPC2_Multicast McastInfo
Definition: rescomm.h:149
unsigned long Hosts[VSG_MEMBERS]
Definition: rescomm.h:150
static dlist * ResMgrpTab
Definition: rescomm.h:140
void KillMember(unsigned long, int)
Definition: rescomm.cc:194
res_mgrpent(unsigned long hosts[VSG_MEMBERS], RPC2_Handle)
Definition: rescomm.cc:130
void PutHostSet()
Definition: rescomm.cc:246
void print()
Definition: rescomm.cc:299
~res_mgrpent()
Definition: rescomm.cc:143
int IncompleteVSG()
Definition: rescomm.cc:281
dlink tblhandle
Definition: rescomm.h:146
int CheckResult()
Definition: rescomm.cc:259
Definition: rescomm.h:173
resmgrp_iterator(unsigned long hosts[VSG_MEMBERS]=ALL_VSGS)
Definition: rescomm.cc:317
res_mgrpent * operator()()
Definition: rescomm.cc:328
Definition: rescomm.h:113
srv_iterator()
Definition: rescomm.cc:580
srvent * operator()()
Definition: rescomm.cc:585
int ServerIsUp()
Definition: rescomm.cc:557
void print()
Definition: rescomm.cc:562
int Connect(RPC2_Handle *, int)
Definition: rescomm.cc:432
friend void ResCheckServerLWP_worker(void *)
Definition: rescomm.cc:755
friend srvent * FindServer(unsigned long)
Definition: rescomm.cc:344
friend void GetServer(srvent **, unsigned long)
Definition: rescomm.cc:357
void Reset()
Definition: rescomm.cc:486
int ServerIsDown()
Definition: rescomm.cc:552
friend void ResCommInit()
Definition: rescomm.cc:80
void ServerError(int *)
Definition: rescomm.cc:510
friend void ServerPrint(int)
Definition: rescomm.cc:390
servers
Definition: gensrvstats.py:224
long ViceResolve(RPC2_Handle, ViceFid *)
int GetResMgroup(res_mgrpent **, unsigned long hosts[VSG_MEMBERS])
Definition: rescomm.cc:596
void ResMgrpPrint(int)
Definition: rescomm.cc:671
srvent * FindServer(unsigned long)
Definition: rescomm.cc:344
void GetServer(srvent **, unsigned long)
Definition: rescomm.cc:357
void PutServer(srvent **)
Definition: rescomm.cc:373
void ResCommInit()
Definition: rescomm.cc:80
int PutResMgroup(res_mgrpent **)
Definition: rescomm.cc:634
conninfo * GetConnectionInfo(RPC2_Handle)
Definition: rescomm.cc:735
void ServerPrint(int)
Definition: rescomm.cc:390
int32_t RPC2_Integer
Definition: rpc2.h:297
RPC2_Integer RPC2_Handle
Definition: rpc2.h:345
bit32 HostAddress[] WARN_SINGLE_HOMING