Home
last modified time | relevance | path

Searched refs:McastMac (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118Dxe.c879 OUT EFI_MAC_ADDRESS *McastMac in SnpMcastIptoMac() argument
899 if ((McastMac == NULL) || (Ip == NULL)) { in SnpMcastIptoMac()
904 ZeroMem (McastMac, sizeof(EFI_MAC_ADDRESS)); in SnpMcastIptoMac()
910 McastMac->Addr[0] = 0x01; in SnpMcastIptoMac()
911 McastMac->Addr[1] = 0x00; in SnpMcastIptoMac()
912 McastMac->Addr[2] = 0x5E; in SnpMcastIptoMac()
915McastMac->Addr[3] = (Ip->v4.Addr[1] & 0x7F); // Clear the most significant bit (25th bit of MAC mu… in SnpMcastIptoMac()
916 McastMac->Addr[4] = Ip->v4.Addr[2]; in SnpMcastIptoMac()
917 McastMac->Addr[5] = Ip->v4.Addr[3]; in SnpMcastIptoMac()
921 McastMac->Addr[0] = 0x33; in SnpMcastIptoMac()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c1543 OUT EFI_MAC_ADDRESS *McastMac in SnpMcastIptoMac() argument
1552 if ((McastMac == NULL) || (Ip == NULL)) { in SnpMcastIptoMac()
1557 ZeroMem (McastMac, sizeof(EFI_MAC_ADDRESS)); in SnpMcastIptoMac()
1562 McastMac->Addr[0] = 0x01; in SnpMcastIptoMac()
1563 McastMac->Addr[1] = 0x00; in SnpMcastIptoMac()
1564 McastMac->Addr[2] = 0x5E; in SnpMcastIptoMac()
1567 McastMac->Addr[3] = (Ip->v4.Addr[1] & 0x7F); // Clear the ms bit (25th bit of MAC must be 0) in SnpMcastIptoMac()
1568 McastMac->Addr[4] = Ip->v4.Addr[2]; in SnpMcastIptoMac()
1569 McastMac->Addr[5] = Ip->v4.Addr[3]; in SnpMcastIptoMac()
1572 McastMac->Addr[0] = 0x33; in SnpMcastIptoMac()
[all …]