Searched refs:EnetHeader (Results 1 – 1 of 1) sorted by relevance
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | BerkeleyPacketFilter.c | 832 ETHERNET_HEADER *EnetHeader; in EmuSnpTransmit() local 849 EnetHeader = (ETHERNET_HEADER *) Buffer; in EmuSnpTransmit() 851 CopyMem (EnetHeader->DstAddr, DestAddr, NET_ETHER_ADDR_LEN); in EmuSnpTransmit() 852 CopyMem (EnetHeader->SrcAddr, SrcAddr, NET_ETHER_ADDR_LEN); in EmuSnpTransmit() 854 EnetHeader->Type = HTONS(*Protocol); in EmuSnpTransmit() 910 ETHERNET_HEADER *EnetHeader; in EmuSnpReceive() local 952 EnetHeader = Private->CurrentReadPointer + BpfHeader->bh_hdrlen; in EmuSnpReceive() 959 CopyMem (Buffer, EnetHeader, BpfHeader->bh_caplen); in EmuSnpReceive() 968 CopyMem (DestAddr, EnetHeader->DstAddr, NET_ETHER_ADDR_LEN); in EmuSnpReceive() 973 CopyMem (SrcAddr, EnetHeader->SrcAddr, NET_ETHER_ADDR_LEN); in EmuSnpReceive() [all …]
|