/illumos-gate/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 252 gethost_netaddrs(char *fromhost, char *tohost, argument 293 host = getipnodebyname(tohost, AF_INET6, AI_DEFAULT, &errnum); 297 "Could not find host %s"), tohost); 305 host = gethostbyname(tohost); 309 "Could not find host %s"), tohost);
|
H A D | rdcrules.c | 280 char *fromhost, *tohost; local 295 tohost = rdc->shost; 315 hp = gethost_byname(tohost); 326 fromhost, fromfile, tohost, tofile);
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsubr.c | 266 * tohost - secondary hostname 273 find_setnumber_in_libcfg(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) argument 321 if (strcmp(shost, tohost) == 0) { 364 get_cfg_setid(CFGFILE *cfg, char *ctag, char *tohost, char *tofile) argument 381 setnum = find_setnumber_in_libcfg(cfg, ctag, tohost, tofile); 393 "for %s:%s"), program, tohost, tofile);
|
H A D | sndrboot.c | 125 char tohost[MAX_RDC_HOST_SIZE]; local 224 (void) strncpy(tohost, 240 tohost, tofile, tobitmap, flag, directfile, group, 255 rdc_operation(fromhost, fromfile, frombitmap, tohost, tofile, 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); 662 char tohost[MAX_RDC_HOST_SIZE]; local [all...] |
H A D | sndrsyncd.c | 92 void rdc_sync(char *tohost); 346 rdc_sync(char *tohost) argument 392 * Get all sndr entries with shost matching tohost, and save the 432 if (strcmp(buf, tohost) != 0) 501 program, tohost); 506 "(host deconfigured)"), program, tohost); 537 "this autosync attempt"), program, tohost, 546 "stopping attempt for set %s:%s"), program, tohost, 554 (void) sprintf(cmd, "%s -un %s:%s", RDCADM, tohost, 558 program, tohost, rdc_se [all...] |
H A D | sndradm.c | 137 static int autosync_is_on(char *tohost, char *tofile); 218 char *tohost, *tofile; local 288 tohost = urdc->secondary.intf; 306 if (strcmp(tmptohost, tohost) != 0) 333 tohost, tofile, tobitmap, 501 ctag_check(char *fromhost, char *fromfile, char *frombitmap, char *tohost, argument 520 hp = gethost_byname(tohost); 531 fromhost, fromfile, tohost, tofile); 1710 char tohost[MAX_RDC_HOST_SIZE]; local 2284 * tohost 3466 set_autosync(int autosync_val, char *tohost, char *tofile, char *ctag) argument 3718 autosync_is_on(char *tohost, char *tofile) argument 3794 rdc_operation(CFGFILE *cfg, char *fromhost, char *fromfile, char *frombitmap, char *tohost, char *tofile, char *tobitmap, int flag, int iflag, char *directfile, char *group, char *ctag, char *diskqueue, int *doasync, int reverse) argument 4863 char tohost[MAX_RDC_HOST_SIZE]; local 5607 rdc_bitmapset(char *tohost, char *tofile, char *bitmap, int op, nsc_off_t offset) argument [all...] |