Lines Matching refs:urdc
130 rdc_set_t urdc;
132 bzero(&urdc, sizeof (rdc_set_t));
133 strncpy(urdc.primary.intf, rdc->phost, MAX_RDC_HOST_SIZE);
134 strncpy(urdc.primary.file, rdc->pfile, NSC_MAXPATH);
135 strncpy(urdc.primary.bitmap, rdc->pbmp, NSC_MAXPATH);
136 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE);
137 strncpy(urdc.secondary.file, rdc->sfile, NSC_MAXPATH);
138 strncpy(urdc.secondary.bitmap, rdc->sbmp, NSC_MAXPATH);
139 strncpy(urdc.group_name, rdc->group, NSC_MAXPATH);
141 return (urdc);
233 populate_addrs(rdc_set_t *urdc, int isenable)
240 strncpy(fromname, urdc->primary.intf, MAX_RDC_HOST_SIZE);
241 strncpy(toname, urdc->secondary.intf, MAX_RDC_HOST_SIZE);
268 urdc->secondary.addr.len = svaddr.len;
269 urdc->secondary.addr.maxlen = svaddr.maxlen;
270 urdc->secondary.addr.buf = (void*)svaddr.buf;
282 urdc->primary.addr.len = svaddr.len;
283 urdc->primary.addr.maxlen = svaddr.maxlen;
284 urdc->primary.addr.buf = (void*)svaddr.buf;
288 urdc->netconfig = &knconf;
290 urdc->netconfig = NULL;
292 urdc->syshostid = (int32_t)gethostid();