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.c884 OUT EFI_MAC_ADDRESS *McastMac in SnpMcastIptoMac() argument
904 if ((McastMac == NULL) || (Ip == NULL)) { in SnpMcastIptoMac()
909 ZeroMem (McastMac, sizeof(EFI_MAC_ADDRESS)); in SnpMcastIptoMac()
915 McastMac->Addr[0] = 0x01; in SnpMcastIptoMac()
916 McastMac->Addr[1] = 0x00; in SnpMcastIptoMac()
917 McastMac->Addr[2] = 0x5E; in SnpMcastIptoMac()
920McastMac->Addr[3] = (Ip->v4.Addr[1] & 0x7F); // Clear the most significant bit (25th bit of MAC mu… in SnpMcastIptoMac()
921 McastMac->Addr[4] = Ip->v4.Addr[2]; in SnpMcastIptoMac()
922 McastMac->Addr[5] = Ip->v4.Addr[3]; in SnpMcastIptoMac()
926 McastMac->Addr[0] = 0x33; in SnpMcastIptoMac()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c1572 OUT EFI_MAC_ADDRESS *McastMac in SnpMcastIptoMac() argument
1581 if ((McastMac == NULL) || (Ip == NULL)) { in SnpMcastIptoMac()
1586 ZeroMem (McastMac, sizeof(EFI_MAC_ADDRESS)); in SnpMcastIptoMac()
1591 McastMac->Addr[0] = 0x01; in SnpMcastIptoMac()
1592 McastMac->Addr[1] = 0x00; in SnpMcastIptoMac()
1593 McastMac->Addr[2] = 0x5E; in SnpMcastIptoMac()
1596 McastMac->Addr[3] = (Ip->v4.Addr[1] & 0x7F); // Clear the ms bit (25th bit of MAC must be 0) in SnpMcastIptoMac()
1597 McastMac->Addr[4] = Ip->v4.Addr[2]; in SnpMcastIptoMac()
1598 McastMac->Addr[5] = Ip->v4.Addr[3]; in SnpMcastIptoMac()
1601 McastMac->Addr[0] = 0x33; in SnpMcastIptoMac()
[all …]