Home
last modified time | relevance | path

Searched refs:NET_ETHER_ADDR_LEN (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/
DPp2Dxe.c99 NET_ETHER_ADDR_LEN, // HwAddressSize
341 UINT8 MacBcast[NET_ETHER_ADDR_LEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; in Pp2DxeOpen()
342 UINT8 DevAddr[NET_ETHER_ADDR_LEN]; in Pp2DxeOpen()
346 CopyMem (DevAddr, Pp2Context->Snp.Mode->CurrentAddress.Addr, NET_ETHER_ADDR_LEN); in Pp2DxeOpen()
745 CopyMem (Snp->Mode->CurrentAddress.Addr, Snp->Mode->PermanentAddress.Addr, NET_ETHER_ADDR_LEN); in Pp2SnpStationAddress()
746 CopyMem (NewMac->Addr, Snp->Mode->PermanentAddress.Addr, NET_ETHER_ADDR_LEN); in Pp2SnpStationAddress()
747 …yMem (Pp2DevicePath->Pp2Mac.MacAddress.Addr, Snp->Mode->PermanentAddress.Addr, NET_ETHER_ADDR_LEN); in Pp2SnpStationAddress()
752 CopyMem (Snp->Mode->CurrentAddress.Addr, NewMac->Addr, NET_ETHER_ADDR_LEN); in Pp2SnpStationAddress()
753 CopyMem (Pp2DevicePath->Pp2Mac.MacAddress.Addr, NewMac->Addr, NET_ETHER_ADDR_LEN); in Pp2SnpStationAddress()
906 CopyMem(DataPtr, DestAddr, NET_ETHER_ADDR_LEN); in Pp2SnpTransmit()
[all …]
DPp2Dxe.h112 #define MV_ETH_ALEN NET_ETHER_ADDR_LEN
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBerkeleyPacketFilter.c64 UINT8 DstAddr[NET_ETHER_ADDR_LEN];
65 UINT8 SrcAddr[NET_ETHER_ADDR_LEN];
104 Mode->CurrentAddress.Addr[NET_ETHER_ADDR_LEN - 1]++; in EmuSnpCreateMapping()
851 CopyMem (EnetHeader->DstAddr, DestAddr, NET_ETHER_ADDR_LEN); in EmuSnpTransmit()
852 CopyMem (EnetHeader->SrcAddr, SrcAddr, NET_ETHER_ADDR_LEN); in EmuSnpTransmit()
968 CopyMem (DestAddr, EnetHeader->DstAddr, NET_ETHER_ADDR_LEN); in EmuSnpReceive()
973 CopyMem (SrcAddr, EnetHeader->SrcAddr, NET_ETHER_ADDR_LEN); in EmuSnpReceive()
1034 CopyMem (&Private->MacAddress, LLADDR (IfSdl), NET_ETHER_ADDR_LEN); in GetInterfaceMacAddr()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
DSnp.c51 YukonDriver->SnpMode.HwAddressSize = NET_ETHER_ADDR_LEN; in InitializeSNPProtocol()
571 gBS->SetMem (SrcAddr, NET_ETHER_ADDR_LEN, 0); in SnpReceive()
572 gBS->CopyMem (SrcAddr, ((UINT8 *) Buffer) + NET_ETHER_ADDR_LEN, NET_ETHER_ADDR_LEN); in SnpReceive()
576 gBS->SetMem (DestAddr, NET_ETHER_ADDR_LEN, 0); in SnpReceive()
577 gBS->CopyMem (DestAddr, ((UINT8 *) Buffer), NET_ETHER_ADDR_LEN); in SnpReceive()
581 *Protocol = NTOHS (*((UINT16 *) (((UINT8 *) Buffer) + (2 * NET_ETHER_ADDR_LEN)))); in SnpReceive()
1456 gBS->CopyMem (Frame->SrcMac, SrcAddr, NET_ETHER_ADDR_LEN); in SnpTransmit()
1457 gBS->CopyMem (Frame->DstMac, DestAddr, NET_ETHER_ADDR_LEN); in SnpTransmit()
Dif_msk.c475 crc = ether_crc32_be (MCastFilter[MCastFilterCnt].Addr, NET_ETHER_ADDR_LEN); in msk_rxfilter()
1121 for (i = 0; i < NET_ETHER_ADDR_LEN; i++) { in mskc_attach_if()
1946 if (len > MAX_SUPPORTED_PACKET_SIZE || len < NET_ETHER_ADDR_LEN) { in msk_rxeof()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118Dxe.c95 SnpMode->HwAddressSize = NET_ETHER_ADDR_LEN; // HW address is 6 bytes in Lan9118DxeEntry()
150 CopyMem (&Lan9118Path->Lan9118.MacAddress, &Snp->Mode->CurrentAddress, NET_ETHER_ADDR_LEN); in Lan9118DxeEntry()
617 Crc = GenEtherCrc32 (Mac, NET_ETHER_ADDR_LEN); in SnpReceiveFilters()
671 ZeroMem (&ZeroMac, NET_ETHER_ADDR_LEN); in SnpReceiveFilters()
738 UINT8 PermAddr[NET_ETHER_ADDR_LEN]; in SnpStationAddress()
760 for (Count = 0; Count < NET_ETHER_ADDR_LEN; Count++) { in SnpStationAddress()
782 CopyMem (&Snp->Mode->CurrentAddress, New, NET_ETHER_ADDR_LEN); in SnpStationAddress()
1482 CopyMem (DstAddr, &Dst, NET_ETHER_ADDR_LEN); in SnpReceive()
1493 CopyMem (SrcAddr, &Src, NET_ETHER_ADDR_LEN); in SnpReceive()
DLan9118DxeUtil.c437 if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) { in Lan9118Initialize()
444 CopyMem (&Snp->Mode->CurrentAddress, &DefaultMacAddress, NET_ETHER_ADDR_LEN); in Lan9118Initialize()
449 CopyMem (&Snp->Mode->PermanentAddress, &Snp->Mode->CurrentAddress, NET_ETHER_ADDR_LEN); in Lan9118Initialize()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c1357 Crc = MulticastHash (&Mfilter[i], NET_ETHER_ADDR_LEN); in SnpReceiveFilters()
1836 WriteIoData (LanDriver, DstAddr, NET_ETHER_ADDR_LEN); in SnpTransmit()
1840 WriteIoData (LanDriver, SrcAddr, NET_ETHER_ADDR_LEN); in SnpTransmit()
1842 WriteIoData (LanDriver, &LanDriver->SnpMode.CurrentAddress, NET_ETHER_ADDR_LEN); in SnpTransmit()
2069 CopyMem (DstAddr, &DataPtr[0], NET_ETHER_ADDR_LEN); in SnpReceive()
2074 CopyMem (SrcAddr, &DataPtr[6], NET_ETHER_ADDR_LEN); in SnpReceive()
2179 SnpMode->HwAddressSize = NET_ETHER_ADDR_LEN; // HW address is 6 bytes in Lan91xDxeEntry()
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/
DSnpNt32.c422 NET_ETHER_ADDR_LEN, // HwAddressSize
1314 Instance->Mode.CurrentAddress.Addr[NET_ETHER_ADDR_LEN - 1]++; in SnpNt32InitializeInstanceData()
1328 NET_ETHER_ADDR_LEN in SnpNt32InitializeInstanceData()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DNetLib.h29 #define NET_ETHER_ADDR_LEN 6 macro
104 UINT8 DstMac [NET_ETHER_ADDR_LEN];
105 UINT8 SrcMac [NET_ETHER_ADDR_LEN];
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DDxeNetLib.c99 GLOBAL_REMOVE_IF_UNREFERENCED UINT8 mSyslogDstMac[NET_ETHER_ADDR_LEN] = {0xff, 0xff, 0xff, 0xff, 0…
228 CopyMem (Ether->SrcMac, Snp->Mode->CurrentAddress.Addr, NET_ETHER_ADDR_LEN); in SyslogSendPacket()
338 CopyMem (Ether->DstMac, mSyslogDstMac, NET_ETHER_ADDR_LEN); in SyslogBuildPacket()
339 ZeroMem (Ether->SrcMac, NET_ETHER_ADDR_LEN); in SyslogBuildPacket()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSnpDxe/
DEmuSnpDxe.c47 NET_ETHER_ADDR_LEN, // HwAddressSize