Lines Matching refs:randomwwn
58 HBA_WWN randomwwn = {0};
76 randomwwn.wwn[index++] = 0x0;
77 randomwwn.wwn[index++] = 0x0;
78 randomwwn.wwn[index++] = 0x7D;
80 memcpy(randomwwn.wwn, OUI->wwn, sizeof(HBA_WWN));
87 randomwwn.wwn[0] = randomwwn.wwn[0] >> 2;
88 randomwwn.wwn[0] = randomwwn.wwn[0] | 0xc0;
92 memcpy(randomwwn.wwn+index, randombyte, 5);
94 memcpy(nwwn->wwn, randomwwn.wwn, sizeof(HBA_WWN));
97 randomwwn.wwn[7] = randomwwn.wwn[7] ^ 1;
98 memcpy(pwwn->wwn, randomwwn.wwn, sizeof(HBA_WWN));