Home
last modified time | relevance | path

Searched refs:HwAddressSize (Results 1 – 25 of 51) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DStation_address.c73 Snp->Mode.HwAddressSize in PxeGetStnAddr()
79 Snp->Mode.HwAddressSize in PxeGetStnAddr()
85 Snp->Mode.HwAddressSize in PxeGetStnAddr()
124 CopyMem (&Cpb->StationAddr, NewMacAddr, Snp->Mode.HwAddressSize); in PxeSetStnAddr()
DTransmit.c53 Snp->Mode.HwAddressSize in PxeFillHeader()
59 Snp->Mode.HwAddressSize in PxeFillHeader()
66 Snp->Mode.HwAddressSize in PxeFillHeader()
DReceive.c121 CopyMem (SrcAddr, &Db->SrcAddr, Snp->Mode.HwAddressSize); in PxeReceive()
125 CopyMem (DestAddr, &Db->DestAddr, Snp->Mode.HwAddressSize); in PxeReceive()
DComponentName.c266 for (Index = 0; Index < Snp->Mode->HwAddressSize; Index++) { in UpdateName()
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiMisc.c487 UINTN HwAddressSize; in IScsiAddNic() local
493 Status = NetLibGetMacAddress (Controller, &MacAddr, &HwAddressSize); in IScsiAddNic()
508 if (NicInfo->HwAddressSize == HwAddressSize && in IScsiAddNic()
509 CompareMem (&NicInfo->PermanentAddress, MacAddr.Addr, HwAddressSize) == 0 && in IScsiAddNic()
528 CopyMem (&NicInfo->PermanentAddress, MacAddr.Addr, HwAddressSize); in IScsiAddNic()
529 NicInfo->HwAddressSize = (UINT32) HwAddressSize; in IScsiAddNic()
574 UINTN HwAddressSize; in IScsiRemoveNic() local
580 Status = NetLibGetMacAddress (Controller, &MacAddr, &HwAddressSize); in IScsiRemoveNic()
597 if (NicInfo->HwAddressSize == HwAddressSize && in IScsiRemoveNic()
598 CompareMem (&NicInfo->PermanentAddress, MacAddr.Addr, HwAddressSize) == 0 && in IScsiRemoveNic()
[all …]
DIScsiDriver.h75 UINT32 HwAddressSize; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DComponentName.c106 UINTN HwAddressSize; in UpdateName() local
119 Status = NetLibGetMacAddress (Private->Controller, &MacAddress, &HwAddressSize); in UpdateName()
124 IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, MacString); in UpdateName()
DIScsiConfig.c199 UINTN HwAddressSize; in IScsiUpdateDeviceList() local
243 Status = NetLibGetMacAddress (Handles[HandleIndex], &MacAddress, &HwAddressSize); in IScsiUpdateDeviceList()
249 if ((CurMacInfo->Len == HwAddressSize) && in IScsiUpdateDeviceList()
251 (NET_MAC_EQUAL (&CurMacInfo->Mac, MacAddress.Addr, HwAddressSize)) in IScsiUpdateDeviceList()
299 NetLibGetMacAddress (Handles[Index], &MacAddress, &HwAddressSize); in IScsiUpdateDeviceList()
302 CopyMem (&CurMacInfo->Mac, MacAddress.Addr, HwAddressSize); in IScsiUpdateDeviceList()
303 CurMacInfo->Len = (UINT8) HwAddressSize; in IScsiUpdateDeviceList()
972 UINTN HwAddressSize; in IScsiConfigUpdateForm() local
1012 Status = NetLibGetMacAddress (Controller, &MacAddress, &HwAddressSize); in IScsiConfigUpdateForm()
1016 IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, ConfigFormEntry->MacString); in IScsiConfigUpdateForm()
DIScsiMisc.c636 UINTN HwAddressSize; in IScsiDhcpIsConfigured() local
644 Status = NetLibGetMacAddress (Controller, &MacAddress, &HwAddressSize); in IScsiDhcpIsConfigured()
649 IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, MacString); in IScsiDhcpIsConfigured()
691 UINTN HwAddressSize; in IScsiGetConfigData() local
712 Status = NetLibGetMacAddress (Private->Controller, &MacAddress, &HwAddressSize); in IScsiGetConfigData()
715 IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, MacString); in IScsiGetConfigData()
DIScsiIbft.c269 UINTN HwAddressSize; in IScsiFillNICAndTargetSections() local
329 Status = NetLibGetMacAddress (DriverData->Controller, &MacAddress, &HwAddressSize); in IScsiFillNICAndTargetSections()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/
DArpImpl.c125 (Head->HwAddrLen != ArpService->SnpMode.HwAddressSize) || in ArpOnFrameRcvdDpc()
1080 2 * (ConfigData->SwAddressLength + SnpMode->HwAddressSize); in ArpSendFrame()
1097 CopyMem (TmpPtr, &SnpMode->BroadcastAddress, SnpMode->HwAddressSize); in ArpSendFrame()
1102 SnpMode->HwAddressSize in ArpSendFrame()
1105 TmpPtr += SnpMode->HwAddressSize; in ArpSendFrame()
1110 CopyMem (TmpPtr, &SnpMode->CurrentAddress, SnpMode->HwAddressSize); in ArpSendFrame()
1111 TmpPtr += SnpMode->HwAddressSize; in ArpSendFrame()
1125 ArpHead->HwAddrLen = (UINT8)SnpMode->HwAddressSize; in ArpSendFrame()
1133 CopyMem (TmpPtr, &SnpMode->CurrentAddress, SnpMode->HwAddressSize); in ArpSendFrame()
1134 TmpPtr += SnpMode->HwAddressSize; in ArpSendFrame()
[all …]
DArpMain.c171 MatchAddress[Hardware].Length = (UINT8) SnpMode->HwAddressSize; in ArpAdd()
522 CopyMem (TargetHwAddress, &SnpMode->BroadcastAddress, SnpMode->HwAddressSize); in ArpRequest()
543 HardwareAddress.Length = (UINT8)SnpMode->HwAddressSize; in ArpRequest()
553 ZeroMem (TargetHwAddress, SnpMode->HwAddressSize); in ArpRequest()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.c655 …G_NET, "Mode->HwAddressSize = %d\n", SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize)); in BiosSnp16DriverBindingStart()
1162 IN UINTN HwAddressSize in Undi16GetMCastFilters() argument
1173 CopyMem (&McastBuffer->MCastAddr[Index], &Mode->MCastFilter[Index], HwAddressSize); in Undi16GetMCastFilters()
1175 ZeroMem (&McastBuffer->MCastAddr[Index], HwAddressSize); in Undi16GetMCastFilters()
1531 …SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize = SimpleNetworkDevice->GetInformation.HwAddr… in Undi16SimpleNetworkGetInformation()
1545 SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize in Undi16SimpleNetworkGetInformation()
1556 SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize in Undi16SimpleNetworkGetInformation()
1569 SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize, in Undi16SimpleNetworkGetInformation()
2107 SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize in Undi16SimpleNetworkInitialize()
2201 SimpleNetworkDevice->SimpleNetworkMode.HwAddressSize in Undi16SimpleNetworkReset()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DeviceManagerLib/
DDeviceManager.c115 UINTN HwAddressSize; in GetMacAddressString() local
127 HwAddressSize = sizeof (EFI_MAC_ADDRESS); in GetMacAddressString()
129 HwAddressSize = 6; in GetMacAddressString()
136 BufferLen = (4 + 2 * HwAddressSize + (HwAddressSize - 1) + 5 + 1) * sizeof (CHAR16); in GetMacAddressString()
150 for (Index = 0; Index < HwAddressSize; Index++) { in GetMacAddressString()
152 if (Index < HwAddressSize - 1) { in GetMacAddressString()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpIo.c375 RxData->SourceAddress = (UINT8 *) RxData->MediaHeader + SnpMode->HwAddressSize; in MnpInstanceDeliverPacket()
653 if (!NET_MAC_EQUAL (&SnpMode->CurrentAddress, BufPtr, SnpMode->HwAddressSize)) { in MnpAnalysePacket()
659 if (NET_MAC_EQUAL (&SnpMode->BroadcastAddress, BufPtr, SnpMode->HwAddressSize)) { in MnpAnalysePacket()
672 if (NET_MAC_EQUAL (BufPtr, &((*GroupAddress)->Address), SnpMode->HwAddressSize)) { in MnpAnalysePacket()
705 RxData->AddressLength = SnpMode->HwAddressSize; in MnpAnalysePacket()
707 RxData->ProtocolType = NTOHS (*(UINT16 *) (BufPtr + 2 * SnpMode->HwAddressSize)); in MnpAnalysePacket()
DMnpMain.c384 …NULL) && !NET_MAC_IS_MULTICAST (MacAddress, &SnpMode->BroadcastAddress, SnpMode->HwAddressSize))) { in MnpGroups()
412 SnpMode->HwAddressSize in MnpGroups()
DComponentName.c148 for (Index = 0; Index < SnpModeData.HwAddressSize; Index++) { in UpdateName()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIp4Config2.h94 UINT32 HwAddressSize; member
DIp6Config.h113 UINT32 HwAddressSize; member
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DEfiDevice.c150 UINTN HwAddressSize; in EblPrintLoadFileInfo() local
168 HwAddressSize = sizeof (EFI_MAC_ADDRESS); in EblPrintLoadFileInfo()
170 HwAddressSize = 6; in EblPrintLoadFileInfo()
174 for (Index = 0; Index < HwAddressSize; Index++) { in EblPrintLoadFileInfo()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/
DDeviceManager.c355 UINTN HwAddressSize; in GetMacAddressString() local
367 HwAddressSize = sizeof (EFI_MAC_ADDRESS); in GetMacAddressString()
369 HwAddressSize = 6; in GetMacAddressString()
376 BufferLen = (4 + 2 * HwAddressSize + (HwAddressSize - 1) + 5 + 1) * sizeof (CHAR16); in GetMacAddressString()
390 for (Index = 0; Index < HwAddressSize; Index++) { in GetMacAddressString()
392 if (Index < HwAddressSize - 1) { in GetMacAddressString()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Common.c159 AddrLen = IpSb->SnpMode.HwAddressSize; in Ip6CreateInterfaceID()
580 for (Index = IpSb->SnpMode.HwAddressSize; Index < sizeof (EFI_MAC_ADDRESS); Index++) { in Ip6IsValidLinkAddress()
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c189 Header->HwAddrLen = (UINT8) InterfaceInfo->HwAddressSize; in DnsInitSeedPacket()
645 …ken.Packet->Dhcp4.Header.ClientHwAddr, &(InterfaceInfo->HwAddress), InterfaceInfo->HwAddressSize); in GetDns4ServerFromDhcp4()
647 Token.Packet->Dhcp4.Header.HwAddrLen = (UINT8)(InterfaceInfo->HwAddressSize); in GetDns4ServerFromDhcp4()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleNetwork/
DSimpleNetwork.h144 UINT32 HwAddressSize; member
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Utility.c134 Duid = AllocateZeroPool (10 + Mode->HwAddressSize); in Dhcp6GenerateClientId()
142 Duid->Length = (UINT16) (Mode->HwAddressSize + 8); in Dhcp6GenerateClientId()
151 CopyMem (Duid->Duid + 8, &Mode->CurrentAddress, Mode->HwAddressSize); in Dhcp6GenerateClientId()

123