/* Interrupts cannot truely be simulated using WinPCap. In reality this task just polls the interface.  */
static void prvInterruptSimulator(void *pvParameters)
/* Interrupts cannot truely be simulated using WinPCap. In reality this task just polls the interface.  */
static void prvInterruptSimulator(void *pvParameters)
{
static struct pcap_pkthdr *pxHeader;
const unsigned char *pucPacketData;
extern xQueueHandle xEMACEventQueue;
long lResult;
	( void ) pvParameters;
	for( ;; )
	{
		lResult = pcap_next_ex( pxOpenedInterfaceHandle, &pxHeader, &pucPacketData );
		if( lResult == 1 )
		{
			if( pxlwIPNetIf != NULL )
			{
				prvEthernetInput( pucPacketData, pxHeader->len );
			}
		}
		else
		{
			vTaskDelay( 5 );
		}
	}
}