//---------------------------------------------------------------------------
//
// Function:        VEthClose
//
// Description:     Close the Virtual Ethernet driver
//
// Parameters:      void
//
// Returns:
//
// State:
//
//---------------------------------------------------------------------------
static tEplKernel VEthClose(void)
{
tEplKernel  Ret = kEplSuccessful;

    // deregister callback function in DLL
    Ret = EplDllkDeregAsyncHandler(VEthRecvFrame);

    return Ret;
}
Example #2
0
static int VEthClose(struct net_device *pNetDevice_p)
{
	tEplKernel Ret = kEplSuccessful;

	EPL_DBGLVL_VETH_TRACE0("VEthClose\n");

	Ret = EplDllkDeregAsyncHandler(VEthRecvFrame);

	//stop the interface queue for the network subsystem
	netif_stop_queue(pNetDevice_p);
	return 0;
}