/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
D | SnpMcastIpToMac.c | 54 OUT EFI_MAC_ADDRESS *Mac in VirtioNetMcastIpToMac() argument 64 if (This == NULL || Ip == NULL || Mac == NULL || in VirtioNetMcastIpToMac() 88 Mac->Addr[0] = 0x33; in VirtioNetMcastIpToMac() 89 Mac->Addr[1] = 0x33; in VirtioNetMcastIpToMac() 90 Mac->Addr[2] = Ip->v6.Addr[12]; in VirtioNetMcastIpToMac() 91 Mac->Addr[3] = Ip->v6.Addr[13]; in VirtioNetMcastIpToMac() 92 Mac->Addr[4] = Ip->v6.Addr[14]; in VirtioNetMcastIpToMac() 93 Mac->Addr[5] = Ip->v6.Addr[15]; in VirtioNetMcastIpToMac() 96 Mac->Addr[0] = 0x01; in VirtioNetMcastIpToMac() 97 Mac->Addr[1] = 0x00; in VirtioNetMcastIpToMac() [all …]
|
D | SnpTransmit.c | 130 ASSERT (SIZE_OF_VNET (Mac) <= sizeof (EFI_MAC_ADDRESS)); in VirtioNetTransmit() 132 CopyMem (Ptr, DestAddr, SIZE_OF_VNET (Mac)); in VirtioNetTransmit() 133 Ptr += SIZE_OF_VNET (Mac); in VirtioNetTransmit() 137 SIZE_OF_VNET (Mac)); in VirtioNetTransmit() 138 Ptr += SIZE_OF_VNET (Mac); in VirtioNetTransmit()
|
D | DriverBinding.c | 108 for (MacIdx = 0; MacIdx < SIZE_OF_VNET (Mac); ++MacIdx) { in VirtioNetGetFeatures() 110 OFFSET_OF_VNET (Mac) + MacIdx, // Offset in VirtioNetGetFeatures() 209 Dev->Snm.HwAddressSize = SIZE_OF_VNET (Mac); in VirtioNetSnpPopulate() 210 Dev->Snm.MediaHeaderSize = SIZE_OF_VNET (Mac) + // dst MAC in VirtioNetSnpPopulate() 211 SIZE_OF_VNET (Mac) + // src MAC in VirtioNetSnpPopulate() 224 ASSERT (SIZE_OF_VNET (Mac) <= sizeof (EFI_MAC_ADDRESS)); in VirtioNetSnpPopulate() 232 SIZE_OF_VNET (Mac)); in VirtioNetSnpPopulate() 233 SetMem (&Dev->Snm.BroadcastAddress, SIZE_OF_VNET (Mac), 0xFF); in VirtioNetSnpPopulate()
|
D | SnpReceive.c | 150 CopyMem (DestAddr, RxPtr, SIZE_OF_VNET (Mac)); in VirtioNetReceive() 152 RxPtr += SIZE_OF_VNET (Mac); in VirtioNetReceive() 155 CopyMem (SrcAddr, RxPtr, SIZE_OF_VNET (Mac)); in VirtioNetReceive() 157 RxPtr += SIZE_OF_VNET (Mac); in VirtioNetReceive()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Network.c | 44 EFI_MAC_ADDRESS Mac; in EblIpCmd() local 51 Status = EblGetCurrentMacAddress (&Mac); in EblIpCmd() 56 …ess: %02x:%02x:%02x:%02x:%02x:%02x\n", Mac.Addr[0], Mac.Addr[1], Mac.Addr[2], Mac.Addr[3], Ma… in EblIpCmd()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/ |
D | OemNicConfig2P.c | 32 EFIAPI OemGetMac2P (IN OUT EFI_MAC_ADDRESS *Mac, IN UINTN Port); 35 EFIAPI OemSetMac2P (IN EFI_MAC_ADDRESS *Mac, IN UINTN Port); 155 … make_crc_checksum((UINT8 *)&(stMacDesc.MacLen), sizeof(stMacDesc.MacLen) + sizeof(stMacDesc.Mac)); in OemGetMacE2prom() 161 gBS->CopyMem((VOID *)(pucAddr), (VOID *)(stMacDesc.Mac), MAC_ADDR_LEN); in OemGetMacE2prom() 179 gBS->CopyMem((VOID *)(stMacDesc.Mac), (VOID *)pucAddr, MAC_ADDR_LEN); in OemSetMacE2prom() 225 IN OUT EFI_MAC_ADDRESS *Mac, in OemGetMac2P() argument 231 if (NULL == Mac) in OemGetMac2P() 237 Status = OemGetMacE2prom(Port, Mac->Addr); in OemGetMac2P() 242 Mac->Addr[0] = 0x00; in OemGetMac2P() 243 Mac->Addr[1] = 0x18; in OemGetMac2P() [all …]
|
D | OemNicConfig.h | 36 UINT8 Mac[MAC_ADDR_LEN]; member
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/OemNicConfigD02/ |
D | OemNicConfigD02.c | 29 EFIAPI OemGetMac (IN OUT EFI_MAC_ADDRESS *Mac, IN UINTN Port); 32 EFIAPI OemSetMac (IN EFI_MAC_ADDRESS *Mac, IN UINTN Port); 101 IN OUT EFI_MAC_ADDRESS *Mac, in OemGetMac() argument 107 if (NULL == Mac) in OemGetMac() 115 Status = OemGetMacE2prom(Port, Mac->Addr); in OemGetMac() 127 IN EFI_MAC_ADDRESS *Mac, in OemSetMac() argument 133 if (NULL == Mac) in OemSetMac() 139 Status = OemSetMacE2prom(Port, Mac->Addr); in OemSetMac()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Igmp.c | 63 Status = Ip4GetMulticastMac (Mnp, IP4_ALLSYSTEM_ADDRESS, &Group->Mac); in Ip4InitIgmp() 69 Status = Mnp->Groups (Mnp, TRUE, &Group->Mac); in Ip4InitIgmp() 132 IN EFI_MAC_ADDRESS *Mac in Ip4FindMac() argument 144 if (NET_MAC_EQUAL (&Group->Mac, Mac, sizeof (EFI_MAC_ADDRESS))) { in Ip4FindMac() 306 Status = Ip4GetMulticastMac (Mnp, Address, &Group->Mac); in Ip4JoinGroup() 318 Status = Mnp->Groups (Mnp, TRUE, &Group->Mac); in Ip4JoinGroup() 380 if (Ip4FindMac (IgmpCtrl, &Group->Mac) == 1) { in Ip4LeaveGroup() 381 Status = Mnp->Groups (Mnp, FALSE, &Group->Mac); in Ip4LeaveGroup()
|
D | Ip4If.h | 113 EFI_MAC_ADDRESS Mac; member 177 EFI_MAC_ADDRESS Mac; member
|
D | Ip4If.c | 177 CopyMem (&Token->SrcMac, &Interface->Mac, sizeof (Token->SrcMac)); in Ip4WrapLinkTxToken() 277 CopyMem (&ArpQue->Mac, &mZeroMacAddress, sizeof (ArpQue->Mac)); in Ip4CreateArpQue() 530 CopyMem (&Interface->Mac, &SnpMode.CurrentAddress, sizeof (Interface->Mac)); in Ip4CreateInterface() 834 if (NET_MAC_EQUAL (&ArpQue->Mac, &mZeroMacAddress, ArpQue->Interface->HwaddrLen)) { in Ip4OnArpResolvedDpc() 851 CopyMem (&Token->DstMac, &ArpQue->Mac, sizeof (Token->DstMac)); in Ip4OnArpResolvedDpc() 1071 Status = Arp->Request (Arp, &ArpQue->Ip, ArpQue->OnResolved, ArpQue->Mac.Addr); in Ip4SendFrame()
|
D | Ip4Common.c | 237 OUT EFI_MAC_ADDRESS *Mac in Ip4GetMulticastMac() argument 243 return Mnp->McastIpToMac (Mnp, FALSE, &EfiIp, Mac); in Ip4GetMulticastMac()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/ |
D | FdtUpdateLib.c | 71 EFI_MAC_ADDRESS Mac; in GetMacAddress() local 82 Status = OemNic->GetMac(&Mac, Port); in GetMacAddress() 89 gMacAddress[0].data0=Mac.Addr[0]; in GetMacAddress() 90 gMacAddress[0].data1=Mac.Addr[1]; in GetMacAddress() 91 gMacAddress[0].data2=Mac.Addr[2]; in GetMacAddress() 92 gMacAddress[0].data3=Mac.Addr[3]; in GetMacAddress() 93 gMacAddress[0].data4=Mac.Addr[4]; in GetMacAddress() 94 gMacAddress[0].data5=Mac.Addr[5]; in GetMacAddress()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Protocol/ |
D | HisiBoardNicProtocol.h | 28 IN OUT EFI_MAC_ADDRESS *Mac, 35 IN EFI_MAC_ADDRESS *Mac,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/ |
D | README | 6 use, see the Mac Python source distribution (available separately 7 from the Python ftp archives). Note that BGEN is not Mac specific!
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/FdtUpdateLib/ |
D | FdtUpdateLib.c | 100 EFI_MAC_ADDRESS Mac; in GetMacAddress() local 111 Status = OemNic->GetMac(&Mac, Port); in GetMacAddress() 118 gMacAddress[0].data0=Mac.Addr[0]; in GetMacAddress() 119 gMacAddress[0].data1=Mac.Addr[1]; in GetMacAddress() 120 gMacAddress[0].data2=Mac.Addr[2]; in GetMacAddress() 121 gMacAddress[0].data3=Mac.Addr[3]; in GetMacAddress() 122 gMacAddress[0].data4=Mac.Addr[4]; in GetMacAddress() 123 gMacAddress[0].data5=Mac.Addr[5]; in GetMacAddress()
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6Mld.c | 98 IN EFI_MAC_ADDRESS *Mac in Ip6FindMac() argument 110 if (NET_MAC_EQUAL (&Group->Mac, Mac, sizeof (EFI_MAC_ADDRESS))) { in Ip6FindMac() 361 Status = Ip6GetMulticastMac (IpSb->Mnp, &AllNodes, &Group->Mac); in Ip6InitMld() 369 Status = IpSb->Mnp->Groups (IpSb->Mnp, TRUE, &Group->Mac); in Ip6InitMld() 515 Status = Ip6GetMulticastMac (IpSb->Mnp, Address, &Group->Mac); in Ip6JoinGroup() 520 Status = IpSb->Mnp->Groups (IpSb->Mnp, TRUE, &Group->Mac); in Ip6JoinGroup() 579 if (Ip6FindMac (&IpSb->MldCtrl, &Group->Mac) == 1) { in Ip6LeaveGroup() 580 Status = IpSb->Mnp->Groups (IpSb->Mnp, FALSE, &Group->Mac); in Ip6LeaveGroup()
|
D | Ip6Mld.h | 42 EFI_MAC_ADDRESS Mac; member
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/ |
D | Lan9118DxeUtil.c | 57 IN EFI_MAC_ADDRESS *Mac, in GenEtherCrc32() argument 69 Ptr = (UINT8*)Mac; in GenEtherCrc32() 354 EFI_MAC_ADDRESS *Mac, in Lan9118SetMacAddress() argument 359 (Mac->Addr[0] & 0xFF) | in Lan9118SetMacAddress() 360 ((Mac->Addr[1] & 0xFF) << 8) | in Lan9118SetMacAddress() 361 ((Mac->Addr[2] & 0xFF) << 16) | in Lan9118SetMacAddress() 362 ((Mac->Addr[3] & 0xFF) << 24) in Lan9118SetMacAddress() 366 (UINT32)(Mac->Addr[4] & 0xFF) | in Lan9118SetMacAddress() 367 ((Mac->Addr[5] & 0xFF) << 8) in Lan9118SetMacAddress()
|
D | Lan9118DxeUtil.h | 37 IN EFI_MAC_ADDRESS *Mac, 110 EFI_MAC_ADDRESS *Mac, 279 OUT EFI_MAC_ADDRESS *Mac
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmBootDescription.c | 352 MAC_ADDR_DEVICE_PATH *Mac; in BmGetNetworkDescription() local 404 Mac = (MAC_ADDR_DEVICE_PATH *) DevicePath; in BmGetNetworkDescription() 450 Mac->MacAddress.Addr[0], Mac->MacAddress.Addr[1], Mac->MacAddress.Addr[2], in BmGetNetworkDescription() 451 Mac->MacAddress.Addr[3], Mac->MacAddress.Addr[4], Mac->MacAddress.Addr[5], in BmGetNetworkDescription()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EblNetworkLib/ |
D | EblNetworkLib.c | 55 IN OUT EFI_MAC_ADDRESS *Mac in EblGetCurrentMacAddress() argument 66 CopyMem (Mac, SimpleNet->Mode->CurrentAddress.Addr, sizeof (EFI_MAC_ADDRESS)); in EblGetCurrentMacAddress()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/ |
D | EblNetworkLib.h | 31 IN OUT EFI_MAC_ADDRESS *Mac
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/ |
D | Virtio095Net.h | 27 UINT8 Mac[6]; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiConfig.h | 71 EFI_MAC_ADDRESS Mac; member
|