Home | History | Annotate | Download | only in Ip6Dxe

Lines Matching defs:InterfaceId

152   UINT8                      InterfaceId[8];

175 CopyMem (InterfaceId, MacAddr, 3);
176 InterfaceId[3] = 0xFF;
177 InterfaceId[4] = 0xFE;
178 CopyMem (&InterfaceId[5], &MacAddr->Addr[3], 3);
180 Byte = (UINT8) (InterfaceId[0] & IP6_U_BIT);
182 InterfaceId[0] &= ~IP6_U_BIT;
184 InterfaceId[0] |= IP6_U_BIT;
190 return AllocateCopyPool (IpSb->InterfaceIdLen, InterfaceId);
213 EFI_IP6_CONFIG_INTERFACE_ID InterfaceId;
218 if (IpSb->InterfaceId != NULL) {
219 FreePool (IpSb->InterfaceId);
227 ZeroMem (&InterfaceId, DataSize);
233 &InterfaceId
240 IpSb->InterfaceId = Ip6CreateInterfaceID (IpSb);
241 if (IpSb->InterfaceId == NULL) {
245 CopyMem (&InterfaceId, IpSb->InterfaceId, IpSb->InterfaceIdLen);
253 &InterfaceId
256 FreePool (IpSb->InterfaceId);
257 IpSb->InterfaceId = NULL;
261 IpSb->InterfaceId = AllocateCopyPool (DataSize, &InterfaceId);
262 if (IpSb->InterfaceId == NULL) {
274 FreePool (IpSb->InterfaceId);
275 IpSb->InterfaceId = NULL;
279 CopyMem (&Ip6Addr->Addr[8], IpSb->InterfaceId, IpSb->InterfaceIdLen);