Home
last modified time | relevance | path

Searched refs:shost (Results 1 – 15 of 15) sorted by relevance

/titanic_50/usr/src/lib/librdc/common/
H A Drdcrules.c83 char shost[CFG_MAX_BUF]; in bitmap_in_use() local
153 shost, sec, sbm); in bitmap_in_use()
198 if ((strcmp(hostp, shost) == 0) && in bitmap_in_use()
212 if ((strcmp(shost, hostp) == 0) && in bitmap_in_use()
295 tohost = rdc->shost; in ctag_check()
498 !bitmap_in_use(RDC_CMD_ENABLE, rdc->shost, rdc->sbmp) : 1); in can_enable()
517 return (!bitmap_in_use(RDC_CMD_RECONFIG, rdc->shost, bmp)); in can_reconfig_sbmp()
532 strncpy(rc->set.shost, rdc->shost, MAX_RDC_HOST_SIZE); in cant_rsync()
H A Drdcpersist.c62 rdc->phost, rdc->pfile, rdc->pbmp, rdc->shost, rdc->sfile, in config2buf()
508 cfg_lookup(CFGFILE *cfg, char *shost, char *sfile) in cfg_lookup() argument
523 if (strncmp(buf, shost, strlen(shost))) in cfg_lookup()
552 cfg_lookup(cfg, rdcp->shost, rdcp->sfile)); in remove_from_rdc_cfg()
611 if ((setnum = cfg_lookup(cfg, rdcp->shost, rdcp->sfile)) < 0) { in replace_cfgfield()
622 (issbmp && self_check(rdcp->shost))) && in replace_cfgfield()
664 if ((setnum = cfg_lookup(cfg, rdcp->shost, rdcp->sfile)) < 0) { in reverse_in_cfg()
670 if ((cfg_put_cstring(cfg, key, rdcp->shost, CFG_MAX_BUF)) < 0) { in reverse_in_cfg()
H A Dlibrdc.h52 char shost[NSC_MAXPATH]; member
78 const char *pbmp, const char *shost, const char *sfile, const char *sbmp,
H A Drdcconfig.c137 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE); in config2set()
180 strncpy(rc.set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_config()
217 strncpy(rc[0]->set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_mtconfig()
330 const char *pbmp, const char *shost, const char *sfile, const char *sbmp, in rdc_alloc_config() argument
347 if (shost) in rdc_alloc_config()
348 strncpy(rc->shost, shost, NSC_MAXPATH); in rdc_alloc_config()
377 strncpy(rcp->set.shost, rdcp->shost, NSC_MAXPATH); in populate_rc()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c483 uchar_t *shost; in do_rarp() local
489 if (((shost = malloc(rdev->physaddrlen)) == NULL) || in do_rarp()
508 retval = dlpi_recv(rdev->dh_rarp, shost, in do_rarp()
541 rarp_request(rdev, ans, shost); in do_rarp()
545 arp_request(rdev, ans, shost); in do_rarp()
570 rarp_request(struct rarpdev *rdev, struct arphdr *rp, uchar_t *shost) in rarp_request() argument
595 (memcmp(shap, shost, rdev->physaddrlen) != 0)) { in rarp_request()
637 (void) memcpy(rrp->lldest, shost, rdev->physaddrlen); in rarp_request()
704 arp_request(struct rarpdev *rdev, struct arphdr *rp, uchar_t *shost) in arp_request() argument
744 (void) memcpy(rrp->lldest, shost, rdev->physaddrlen); in arp_request()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c762 struct ether_addr shost; member
871 src_name = print_etherinfo(&mh->shost); in interpret_tr()
942 printether(&mh->shost), in interpret_tr()
943 print_etherinfo(&mh->shost)); in interpret_tr()
1021 if (mh->shost.ether_addr_octet[0] & TR_SR_ADDR) { in tr_machdr_len()
1060 struct ether_addr dhost, shost; member
1104 addr_copy_swap(&f->shost, (struct ether_addr *)(e+7)); in interpret_fddi()
1132 src_name = print_etherinfo(&f->shost); in interpret_fddi()
1202 printether(&f->shost), in interpret_fddi()
1203 print_etherinfo(&f->shost)); in interpret_fddi()
[all …]
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c277 char *buf, *secondary, *shost; in find_setnumber_in_libcfg() local
298 shost = strtok(NULL, " "); in find_setnumber_in_libcfg()
321 if (strcmp(shost, tohost) == 0) { in find_setnumber_in_libcfg()
H A Dsndradm.c1072 char *shost, *buf, *que; in check_rdcbitmap() local
1126 shost = strtok(NULL, " "); /* shost */ in check_rdcbitmap()
1173 if ((strcmp(hostp, shost) == 0) && in check_rdcbitmap()
1185 if ((strcmp(shost, hostp) == 0) && in check_rdcbitmap()
1549 setp->shost, setp->sfile, setp->sbmp); in spcslog_sync()
1555 setp->shost, setp->sfile, setp->sbmp); in spcslog_sync()
1562 spcslog_tunable(char *shost, char *svol) in spcslog_tunable() argument
1567 "of it's group"), shost, svol); in spcslog_tunable()
1571 "of it's group"), shost, svol); in spcslog_tunable()
1575 maxqfbas, shost, svol); in spcslog_tunable()
[all …]
H A Dsndrsyncd.c1173 char shost[MAX_RDC_HOST_SIZE]; in group_complete() local
1252 if (cfg_get_cstring(cfg, key, shost, sizeof (shost)) < 0) in group_complete()
1254 (void) strcpy(parms.rdc_set->secondary.intf, shost); in group_complete()
/titanic_50/usr/src/uts/common/io/
H A Dgldutil.c257 mac_copy(&mh->ether_shost, pktinfo->shost, macinfo->gldm_addrlen); in gld_interpret_ether()
259 pktinfo->isLooped = mac_eq(pktinfo->shost, in gld_interpret_ether()
683 mac_copy(mac_pvt->curr_macaddr, pktinfo->shost, IPOIB_ADDRL); in gld_interpret_ib()
718 mact = (ipoib_mac_t *)pktinfo->shost; in gld_interpret_ib()
878 mac_copy(mac_pvt->curr_macaddr, pktinfo->shost, IPOIB_ADDRL); in gld_interpret_mdt_ib()
1079 cmac_copy(mh->fddi_shost, pktinfo->shost, in gld_interpret_fddi()
1083 pktinfo->isLooped = mac_eq(pktinfo->shost, in gld_interpret_fddi()
1452 mac_copy(mh->tr_shost, pktinfo->shost, macinfo->gldm_addrlen); in gld_interpret_tr()
1453 pktinfo->shost[0] &= ~0x80; /* turn off RIF indicator */ in gld_interpret_tr()
1456 pktinfo->isLooped = mac_eq(pktinfo->shost, in gld_interpret_tr()
[all …]
H A Dgld.c2721 gld_macaddr_sprintf(pbuf, pktinfo.shost, in gld_recv_tagged()
3263 mac_copy(pktinfo->shost, nmp->b_wptr, macinfo->gldm_addrlen); in gld_addudind()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_trace.c542 char *shost; in dual_stats() local
635 shost = rdc_info[rdcindex].secondary.intf; in dual_stats()
676 if ((len = strlen(shost)) > 8) { in dual_stats()
678 shost + len - 7); in dual_stats()
680 (void) mvprintw(4 + k, 30, "%+8s:", shost); in dual_stats()
/titanic_50/usr/src/cmd/avs/dscfg/etc/
H A Ddscfg_format52 sndr.phost.primary.pbitmap.shost.secondary.sbitmap.type.mode.group.cnode.options.diskq
/titanic_50/usr/src/uts/common/sys/
H A Dgldpriv.h214 uchar_t shost[GLD_MAX_ADDRLEN]; member
/titanic_50/usr/src/cmd/avs/dsw/
H A Diiadm.c4336 char *shost; local
4359 shost = strtok(NULL, " "); /* shost */
4362 if (self_check(shost) && (strcmp(shadow_vol, svol) == 0)) {