sendlist.h

来自「Ep93XX TionProV2 BSP」· C头文件 代码 · 共 46 行

H
46
字号
//**********************************************************************
//                                                                      
// Filename: sendlist.h
//                                                                      
// Description: Contains the list of packets for sending.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Use of this source code is subject to the terms of the Cirrus end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to 
// use this source code. For a copy of the EULA, please see the 
// EULA.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2005, All Rights Reserved                       
//                                                                      
//**********************************************************************
#ifndef _H_SENDLIST
#define _H_SENDLIST
class SendList
{
    public:
        SendList();
        
        
        //
        // Routines to add and remove buffers from the Queue.
        //
        void    AddPendingPacket
        (
            PNDIS_PACKET      pNdisPacket
        );
        PNDIS_PACKET    RemoveNextPacket();
        
        BOOL            MorePackets();
        
    private:
        LIST_ENTRY      m_PendingList;
};

PNDIS_PACKET ConvertListToSendNDISPacket(LIST_ENTRY *pListEntry);

#endif // _H_SENDLIST

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?