Home
last modified time | relevance | path

Searched refs:Mac (Results 1 – 25 of 60) sorted by relevance

123

/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DSnpMcastIpToMac.c54 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 …]
DSnpTransmit.c130 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()
DDriverBinding.c108 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()
DSnpReceive.c150 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/
DNetwork.c44 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/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Igmp.c63 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()
DIp4If.c177 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()
837 if (NET_MAC_EQUAL (&ArpQue->Mac, &mZeroMacAddress, ArpQue->Interface->HwaddrLen)) { in Ip4OnArpResolvedDpc()
854 CopyMem (&Token->DstMac, &ArpQue->Mac, sizeof (Token->DstMac)); in Ip4OnArpResolvedDpc()
1074 Status = Arp->Request (Arp, &ArpQue->Ip, ArpQue->OnResolved, ArpQue->Mac.Addr); in Ip4SendFrame()
DIp4If.h113 EFI_MAC_ADDRESS Mac; member
177 EFI_MAC_ADDRESS Mac; member
DIp4Common.c237 OUT EFI_MAC_ADDRESS *Mac in Ip4GetMulticastMac() argument
243 return Mnp->McastIpToMac (Mnp, FALSE, &EfiIp, Mac); in Ip4GetMulticastMac()
DIp4Igmp.h49 EFI_MAC_ADDRESS Mac; member
DIp4Common.h186 OUT EFI_MAC_ADDRESS *Mac
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/
DREADME6 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/edk2/ArmPlatformPkg/Bds/
DBootOptionSupport.c655 EFI_MAC_ADDRESS *Mac; in BdsLoadOptionPxeList() local
672 Mac = &SimpleNet->Mode->CurrentAddress; in BdsLoadOptionPxeList()
673 …ess: %02x:%02x:%02x:%02x:%02x:%02x", Mac->Addr[0], Mac->Addr[1], Mac->Addr[2], Mac->Addr[3], M… in BdsLoadOptionPxeList()
782 EFI_MAC_ADDRESS *Mac; in BdsLoadOptionTftpList() local
838 Mac = &SimpleNetworkProtocol->Mode->CurrentAddress; in BdsLoadOptionTftpList()
843 Mac->Addr[0], Mac->Addr[1], Mac->Addr[2], Mac->Addr[3], Mac->Addr[4], Mac->Addr[5] in BdsLoadOptionTftpList()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118DxeUtil.h37 IN EFI_MAC_ADDRESS *Mac,
93 EFI_MAC_ADDRESS *Mac,
262 OUT EFI_MAC_ADDRESS *Mac
DLan9118DxeUtil.c57 IN EFI_MAC_ADDRESS *Mac, in GenEtherCrc32() argument
69 Ptr = (UINT8*)Mac; in GenEtherCrc32()
308 EFI_MAC_ADDRESS *Mac, in Lan9118SetMacAddress() argument
313 (Mac->Addr[0] & 0xFF) | in Lan9118SetMacAddress()
314 ((Mac->Addr[1] & 0xFF) << 8) | in Lan9118SetMacAddress()
315 ((Mac->Addr[2] & 0xFF) << 16) | in Lan9118SetMacAddress()
316 ((Mac->Addr[3] & 0xFF) << 24) in Lan9118SetMacAddress()
320 (UINT32)(Mac->Addr[4] & 0xFF) | in Lan9118SetMacAddress()
321 ((Mac->Addr[5] & 0xFF) << 8) in Lan9118SetMacAddress()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Mld.c98 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()
DIp6Mld.h42 EFI_MAC_ADDRESS Mac; member
DIp6Common.h300 OUT EFI_MAC_ADDRESS *Mac
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EblNetworkLib/
DEblNetworkLib.c55 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/
DEblNetworkLib.h31 IN OUT EFI_MAC_ADDRESS *Mac
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/
DVirtioNet.h27 UINT8 Mac[6]; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiConfig.h71 EFI_MAC_ADDRESS Mac; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
DIScsiBootFirmwareTable.h112 UINT8 Mac[6]; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DIScsiBootFirmwareTable.h119 UINT8 Mac[6]; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Impl.h114 EFI_MAC_ADDRESS Mac; member

123