Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterCreateWWN.cc58 HBA_WWN randomwwn = {0}; in Sun_fcAdapterCreateWWN() local
76 randomwwn.wwn[index++] = 0x0; in Sun_fcAdapterCreateWWN()
77 randomwwn.wwn[index++] = 0x0; in Sun_fcAdapterCreateWWN()
78 randomwwn.wwn[index++] = 0x7D; in Sun_fcAdapterCreateWWN()
80 memcpy(randomwwn.wwn, OUI->wwn, sizeof(HBA_WWN)); in Sun_fcAdapterCreateWWN()
87 randomwwn.wwn[0] = randomwwn.wwn[0] >> 2; in Sun_fcAdapterCreateWWN()
88 randomwwn.wwn[0] = randomwwn.wwn[0] | 0xc0; in Sun_fcAdapterCreateWWN()
92 memcpy(randomwwn.wwn+index, randombyte, 5); in Sun_fcAdapterCreateWWN()
94 memcpy(nwwn->wwn, randomwwn.wwn, sizeof(HBA_WWN)); in Sun_fcAdapterCreateWWN()
97 randomwwn.wwn[7] = randomwwn.wwn[7] ^ 1; in Sun_fcAdapterCreateWWN()
[all …]