/titanic_50/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 83 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 D | rdcpersist.c | 62 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 D | librdc.h | 52 char shost[NSC_MAXPATH]; member 78 const char *pbmp, const char *shost, const char *sfile, const char *sbmp,
|
H A D | rdcconfig.c | 137 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 D | in.rarpd.c | 483 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 D | snoop_ether.c | 762 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 D | sndrsubr.c | 277 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 D | sndradm.c | 1072 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 D | sndrsyncd.c | 1173 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 D | gldutil.c | 257 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 D | gld.c | 2721 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 D | sd_trace.c | 542 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 D | dscfg_format | 52 sndr.phost.primary.pbitmap.shost.secondary.sbitmap.type.mode.group.cnode.options.diskq
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 214 uchar_t shost[GLD_MAX_ADDRLEN]; member
|
/titanic_50/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 4336 char *shost; local 4359 shost = strtok(NULL, " "); /* shost */ 4362 if (self_check(shost) && (strcmp(shadow_vol, svol) == 0)) {
|