/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 125 char tohost[MAX_RDC_HOST_SIZE]; in sndrboot_lintmain() local 224 (void) strncpy(tohost, in sndrboot_lintmain() 240 tohost, tofile, tobitmap, flag, directfile, group, in sndrboot_lintmain() 255 rdc_operation(fromhost, fromfile, frombitmap, tohost, tofile, in rdc_operation() argument 259 char *tohost, *tofile, *tobitmap; 302 hp = gethost_byname(tohost); 306 program, tohost); 308 if (strcmp(hp->h_name, tohost) == 0) 312 if (strcmp(hp->h_aliases[i], tohost) == 0) 320 program, tohost); [all …]
|
H A D | sndradm.c | 137 static int autosync_is_on(char *tohost, char *tofile); 218 char *tohost, *tofile; in rdc_print() local 288 tohost = urdc->secondary.intf; in rdc_print() 306 if (strcmp(tmptohost, tohost) != 0) in rdc_print() 333 tohost, tofile, tobitmap, in rdc_print() 501 ctag_check(char *fromhost, char *fromfile, char *frombitmap, char *tohost, in ctag_check() argument 520 hp = gethost_byname(tohost); in ctag_check() 531 fromhost, fromfile, tohost, tofile); in ctag_check() 1710 char tohost[MAX_RDC_HOST_SIZE]; local 2343 (void) cfg_get_cstring(cfg, key, tohost, [all …]
|
H A D | sndrsubr.c | 273 find_setnumber_in_libcfg(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) in find_setnumber_in_libcfg() argument 321 if (strcmp(shost, tohost) == 0) { in find_setnumber_in_libcfg() 364 get_cfg_setid(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) in get_cfg_setid() argument 381 setnum = find_setnumber_in_libcfg(cfg, ctag, tohost, tofile); in get_cfg_setid() 393 "for %s:%s"), program, tohost, tofile); in get_cfg_setid()
|
H A D | sndrsyncd.c | 92 void rdc_sync(char *tohost); 346 rdc_sync(char *tohost) in rdc_sync() argument 432 if (strcmp(buf, tohost) != 0) in rdc_sync() 501 program, tohost); in rdc_sync() 506 "(host deconfigured)"), program, tohost); in rdc_sync() 537 "this autosync attempt"), program, tohost, in rdc_sync() 546 "stopping attempt for set %s:%s"), program, tohost, in rdc_sync() 554 (void) sprintf(cmd, "%s -un %s:%s", RDCADM, tohost, in rdc_sync() 558 program, tohost, rdc_set[i].secondary.file); in rdc_sync() 567 (void) sprintf(cmd, "%s -wn %s:%s", RDCADM, tohost, in rdc_sync() [all …]
|
H A D | rdcadm.h | 53 extern int get_cfg_setid(CFGFILE *cfg, char *ctag, char *tohost, char *tofile);
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 252 gethost_netaddrs(char *fromhost, char *tohost, in gethost_netaddrs() argument 293 host = getipnodebyname(tohost, AF_INET6, AI_DEFAULT, &errnum); in gethost_netaddrs() 297 "Could not find host %s"), tohost); in gethost_netaddrs() 305 host = gethostbyname(tohost); in gethost_netaddrs() 309 "Could not find host %s"), tohost); in gethost_netaddrs()
|
H A D | rdcrules.c | 280 char *fromhost, *tohost; in ctag_check() local 295 tohost = rdc->shost; in ctag_check() 315 hp = gethost_byname(tohost); in ctag_check() 326 fromhost, fromfile, tohost, tofile); in ctag_check()
|
H A D | llib-lrdc | 39 int gethost_netaddrs(char *fromhost, char *tohost, char *fromnetaddr,
|