afs_InitSetup(int preallocs)
{
int code;
+ afs_uint32 host;
if (afs_InitSetup_done)
return EAGAIN;
/* start RX */
if(!afscall_set_rxpck_received)
rx_extraPackets = AFS_NRXPACKETS; /* smaller # of packets */
+
+ host = ntohl(rx_bindhost);
+ afs_warn("afs: Binding rx to %d.%d.%d.%d:%d\n",
+ (host >> 24),
+ (host >> 16) & 0xff,
+ (host >> 8) & 0xff,
+ (host) & 0xff,
+ 7001);
code = rx_InitHost(rx_bindhost, htons(7001));
if (code) {
afs_warn("AFS: RX failed to initialize %d).\n", code);
struct afsconf_cell *cellinfo = NULL;
time_t currentTime;
afs_int32 code = 0;
+ char hoststr[16];
afs_uint32 host = ntohl(INADDR_ANY);
int r;
}
}
+ Log("buserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_BUDBPORT);
code = rx_InitHost(host, htons(AFSCONF_BUDBPORT));
if (code) {
LogError(code, "rx init failed\n");
#else
PROCESS dbWatcherPid;
#endif
+ char hoststr[16];
afs_uint32 host = htonl(INADDR_ANY);
char *auditFileName = NULL;
char *auditInterface = NULL;
host = SHostAddrs[0];
}
+ TLog(0, "butc binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), BC_TAPEPORT + portOffset);
code = rx_InitHost(host, htons(BC_TAPEPORT + portOffset));
if (code) {
TapeLog(0, 0, code, 0, "rx init failed on port %u\n",
int level; /* security level for Ubik */
afs_int32 i;
char clones[MAXHOSTSPERCELL];
+ char hoststr[16];
afs_uint32 host = ntohl(INADDR_ANY);
char *auditFileName = NULL;
struct logOptions logopts;
}
}
+ ViceLog(0, ("kaserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_KAUTHPORT));
code = rx_InitHost(host, htons(AFSCONF_KAUTHPORT));
if (code) {
afs_com_err(whoami, code, "rx init failed");
afs_int32 numClasses;
int lwps = 3;
char clones[MAXHOSTSPERCELL];
+ char hoststr[16];
afs_uint32 host = htonl(INADDR_ANY);
struct cmd_syndesc *opts;
struct cmd_item *list;
}
}
+ ViceLog(0, ("ptserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_PROTPORT));
code = rx_InitHost(host, htons(AFSCONF_PROTPORT));
if (code < 0) {
ViceLog(0, ("ptserver: Rx init failed: %d\n", code));
struct rx_securityClass **securityClasses;
afs_int32 numClasses;
struct rx_service *service;
+ char hoststr[16];
afs_uint32 host = htonl(INADDR_ANY);
int a = 0;
/* Initialize Rx, telling it port number this server will use for its
* single service */
+ fprintf(stderr, "upserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_UPDATEPORT);
if (rx_InitHost(host, htons(AFSCONF_UPDATEPORT)) < 0)
Quit("rx_init");
int curLimit;
time_t t;
struct tm tm;
+ char hoststr[16];
afs_uint32 rx_bindhost;
VolumePackageOptions opts;
rx_SetUdpBufSize(udpBufSize); /* set the UDP buffer size for receive */
rx_bindhost = SetupVL();
+ ViceLog(0, ("File server binding rx to %s:%d\n",
+ afs_inet_ntoa_r(rx_bindhost, hoststr), 7000));
if (rx_InitHost(rx_bindhost, (int)htons(7000)) < 0) {
ViceLog(0, ("Cannot initialize RX\n"));
exit(1);
if (!he) {
ViceLog(0, ("Can't find address for FileServer '%s'\n", FS_HostName));
} else {
- char hoststr[16];
memcpy(&FS_HostAddr_NBO, he->h_addr, 4);
(void)afs_inet_ntoa_r(FS_HostAddr_NBO, hoststr);
FS_HostAddr_HBO = ntohl(FS_HostAddr_NBO);
char hostname[VL_MAXNAMELEN];
int noAuth = 0;
char clones[MAXHOSTSPERCELL];
+ char hoststr[16];
afs_uint32 host = ntohl(INADDR_ANY);
struct cmd_syndesc *opts;
struct logOptions logopts;
}
}
+ VLog(0, ("vlserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_VLDBPORT));
code = rx_InitHost(host, htons(AFSCONF_VLDBPORT));
if (code < 0) {
VLog(0, ("vlserver: Rx init failed: %d\n", code));
afs_int32 numClasses;
struct rx_service *service;
int rxpackets = 100;
+ char hoststr[16];
afs_uint32 host = ntohl(INADDR_ANY);
VolumePackageOptions opts;
host = SHostAddrs[0];
}
+ Log("Volserver binding rx to %s:%d\n",
+ afs_inet_ntoa_r(host, hoststr), AFSCONF_VOLUMEPORT);
code = rx_InitHost(host, (int)htons(AFSCONF_VOLUMEPORT));
if (code) {
fprintf(stderr, "rx init failed on socket AFSCONF_VOLUMEPORT %u\n",