Searched refs:Snm (Results 1 – 12 of 12) sorted by relevance
206 Dev->Snp.Mode = &Dev->Snm; in VirtioNetSnpPopulate()208 Dev->Snm.State = EfiSimpleNetworkStopped; in VirtioNetSnpPopulate()209 Dev->Snm.HwAddressSize = SIZE_OF_VNET (Mac); in VirtioNetSnpPopulate()210 Dev->Snm.MediaHeaderSize = SIZE_OF_VNET (Mac) + // dst MAC in VirtioNetSnpPopulate()213 Dev->Snm.MaxPacketSize = 1500; in VirtioNetSnpPopulate()214 Dev->Snm.NvRamSize = 0; in VirtioNetSnpPopulate()215 Dev->Snm.NvRamAccessSize = 0; in VirtioNetSnpPopulate()216 Dev->Snm.ReceiveFilterMask = RECEIVE_FILTERS_NO_MCAST; in VirtioNetSnpPopulate()217 Dev->Snm.ReceiveFilterSetting = RECEIVE_FILTERS_NO_MCAST; in VirtioNetSnpPopulate()218 Dev->Snm.MaxMCastFilterCount = 0; in VirtioNetSnpPopulate()[all …]
88 switch (Dev->Snm.State) { in VirtioNetTransmit()99 if (BufferSize < Dev->Snm.MediaHeaderSize) { in VirtioNetTransmit()103 if (BufferSize > Dev->Snm.MediaHeaderSize + Dev->Snm.MaxPacketSize) { in VirtioNetTransmit()124 if (HeaderSize != Dev->Snm.MediaHeaderSize || in VirtioNetTransmit()136 (SrcAddr == NULL) ? &Dev->Snm.CurrentAddress : SrcAddr, in VirtioNetTransmit()143 ASSERT ((UINTN) (Ptr - (UINT8 *) Buffer) == Dev->Snm.MediaHeaderSize); in VirtioNetTransmit()
76 switch (Dev->Snm.State) { in VirtioNetReceiveFilters()98 ((Enable | Disable) & ~Dev->Snm.ReceiveFilterMask) != 0 || in VirtioNetReceiveFilters()99 (!ResetMCastFilter && MCastFilterCnt > Dev->Snm.MaxMCastFilterCount) in VirtioNetReceiveFilters()
55 if (Dev->Snm.State != EfiSimpleNetworkStarted) { in VirtioNetStop()59 Dev->Snm.State = EfiSimpleNetworkStopped; in VirtioNetStop()
54 if (Dev->Snm.State != EfiSimpleNetworkStopped) { in VirtioNetStart()58 Dev->Snm.State = EfiSimpleNetworkStarted; in VirtioNetStart()
76 switch (Dev->Snm.State) { in VirtioNetGetStatus()90 if (Dev->Snm.MediaPresentSupported) { in VirtioNetGetStatus()97 Dev->Snm.MediaPresent = in VirtioNetGetStatus()
55 switch (Dev->Snm.State) { in VirtioNetShutdown()72 Dev->Snm.State = EfiSimpleNetworkStarted; in VirtioNetShutdown()
55 if (Dev->Snm.State != EfiSimpleNetworkInitialized) { in VirtioNetIsPacketAvailable()88 if (Dev->Snm.State == EfiSimpleNetworkInitialized) { in VirtioNetExitBoot()
92 switch (Dev->Snm.State) { in VirtioNetReceive()137 if (RxLen < Dev->Snm.MediaHeaderSize) { in VirtioNetReceive()143 *HeaderSize = Dev->Snm.MediaHeaderSize; in VirtioNetReceive()
262 (Dev->Snm.MediaHeaderSize + Dev->Snm.MaxPacketSize); in VirtioNetInitRx()395 if (Dev->Snm.State != EfiSimpleNetworkStarted) { in VirtioNetInitialize()439 ASSERT (Dev->Snm.MediaPresentSupported == in VirtioNetInitialize()501 Dev->Snm.State = EfiSimpleNetworkInitialized; in VirtioNetInitialize()
73 switch (Dev->Snm.State) { in VirtioNetMcastIpToMac()
79 EFI_SIMPLE_NETWORK_MODE Snm; // VirtioNetSnpPopulate member