亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nimuif.h

?? ZPAV (H265) DM64XX(TI) demo ZPAV (H265) 是 音視頻 壓縮解壓 協議
?? H
字號:
/**************************************************************************
 * FILE PURPOSE	:  	Network Interface Management Unit
 **************************************************************************
 * FILE NAME	:   nimuif.h
 * 
 * DESCRIPTION	:
 *  The file contains defintions and structures which describe the network
 *  interface management unit.
 * 	
 *	(C) Copyright 2008, Texas Instruments, Inc.
 *************************************************************************/

#ifndef _C_NIMUIF_INC
#define _C_NIMUIF_INC

/* Default Limit Definitions for the NIMU. */
#define NIMU_DEFAULT_MAX_DEVICE          256
#define NIMU_DEFAULT_HEADER_RSVD_LEN     20
#define NIMU_DEFAULT_TRAILER_RSVD_LEN    4

/* Interface Name Length */
#define MAX_INTERFACE_NAME_LEN           20

/* Interface Device Flag Definitions:  */

/* These bit masks define the receive properties of the device. */
#define NIMU_PKTFLT_BROADCAST            0x1    /* Device is receiving broadcast packets.     */
#define NIMU_PKTFLT_MULTICAST            0x2    /* Device is configured for multicast filters */
#define NIMU_PKTFLT_ALLMULTICAST         0x4    /* Device is receiving all MULTICAST Frames   */
#define NIMU_PKTFLT_PROMISC              0x8    /* Device is in PROMISC. Mode                 */

#define NIMU_DEVICE_UP                   0x10   /* Device is UP                               */
#define NIMU_DEVICE_NO_ARP               0x20   /* Device does not support ARP.               */

/********************************************************************
 *********************** IOCTL Definitions **************************
 ********************************************************************/

#define NIMU_IOCTL_RANGE_START          100

/* Special case commands: These commands should have the NIMU Interface
 * request set as NULL. */
#define NIMU_GET_NUM_NIMU_OBJ           (NIMU_IOCTL_RANGE_START + 1)
#define NIMU_GET_ALL_INDEX              (NIMU_IOCTL_RANGE_START + 2)

#define NIMU_GET_DEVICE_HANDLE          (NIMU_IOCTL_RANGE_START + 10)
#define NIMU_GET_DEVICE_MTU             (NIMU_IOCTL_RANGE_START + 11)
#define NIMU_SET_DEVICE_MTU             (NIMU_IOCTL_RANGE_START + 12)
#define NIMU_GET_DEVICE_MAC             (NIMU_IOCTL_RANGE_START + 13)
#define NIMU_SET_DEVICE_MAC             (NIMU_IOCTL_RANGE_START + 14)
#define NIMU_GET_DEVICE_FLAGS           (NIMU_IOCTL_RANGE_START + 15)
#define NIMU_SET_DEVICE_FLAGS           (NIMU_IOCTL_RANGE_START + 16)
#define NIMU_GET_DEVICE_NAME            (NIMU_IOCTL_RANGE_START + 17)
#define NIMU_GET_DEVICE_INDEX           (NIMU_IOCTL_RANGE_START + 18)
#define NIMU_ADD_MULTICAST_ADDRESS      (NIMU_IOCTL_RANGE_START + 19)
#define NIMU_DEL_MULTICAST_ADDRESS      (NIMU_IOCTL_RANGE_START + 20)

#define NIMU_IOCTL_RANGE_END            150

/*********************************************************************
 * STRUCTURE NAME : NETIF_DEVICE
 *********************************************************************
 * DESCRIPTION   :
 *  The structure describes the network interface object. Each device
 *  driver in the system which is attached to the NDK stack should be
 *  associated with an instance of this object. The object describes
 *  the interface between the NDK Core stack and the drivers.
 *********************************************************************/
typedef struct NETIF_DEVICE
{
    /* Links to other network devices. */
    LIST_NODE   links;

    /* Reference Counter: This indicates the number of references of the
     * network interface object is held by components. Network Interface 
     * Objects can only be removed from the system if there are no 
     * references of it held in the System. */
     uint       RefCount;

    /* These are the two identifiers which are associated with each network
     * interface device. The "index" is a numeric representation and the 
     * "name" is a more user friendly string representation of the same. 
     * 
     * NOTES: 
     * Driver Authors can specify these; but in the case of conflicts
     * these values will be modified to be unique in the system. Thus if 
     * driver authors are using these in their code it is best to re-read
     * these values after the 'registration' process. */
    uint        index;
    char        name[MAX_INTERFACE_NAME_LEN];

    /* This defines the interface flags. 
     *
     * NOTES:
     * Driver authors should not set this value as this is used for internal
     * operations inside the NDK stack. */
    uint        flags;

    /* This defines the interface type. 
     *
     * NOTES:
     *  For compatibility with the old network interface object; this is set to
     *  HTYPE_ETHER or HTYPE_PPP; depending on the type of network interface 
     *  object. Moving forward this field will be obsoleted and instead application
     *  authors should use the field instead. */
    uint        type;

    /* This is the Max. Protocol MTU associated with the device.
     *
     * NOTES:
     * Driver authors should configure this value to the MAX. Data payload
     * that can be carried without the corresponding Layer2 Header. Thus for
     * example in Ethernet this will be 1514 (Max. Data Payload) - 14 (L2
     * Ethernet Header) = 1500. */
    uint        mtu;

    /* MAC Address with the device. */
    UINT8       mac_address[6];

    /* Pointer to 'private data' associated with the device. This data 
     * pointer is opaque to the NDK stack. 
     *
     * NOTES:
     * Driver authors can use this to store any additional 'driver' 
     * specific data here. Memory allocation and cleanup of this 
     * private block is the responsibility of the driver. */
    void*       pvt_data;

    /*****************************************************************
     ***************** Driver Interface Functions ******************** 
     *****************************************************************/

    /***************************************************************** 
     * The device start function; which is called to initialize and start
     * the driver. The driver should be able to send and receive packets
     * after the successful completion of this API. 
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *****************************************************************/
    int  (*start)(struct NETIF_DEVICE* ptr_net_device);

    /***************************************************************** 
     * The device stop function; which is called to de-initialize and 
     * stop the driver. The driver should NOT send and receive packets 
     * after the successful completion of this API. 
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *****************************************************************/
    int  (*stop)(struct NETIF_DEVICE* ptr_net_device);
    
    /***************************************************************** 
     * The device poll function; which is called by the NDK stack to 
     * poll and check for driver activity. This is a useful function 
     * and can be used by the drivers to check for link activity, 
     * receive and transmit watchdog support etc.
     *****************************************************************/
    void (*poll)(struct NETIF_DEVICE* ptr_net_device, uint timer_tick);

    /*****************************************************************
     * The device send function; which is called by the NDK stack to 
     * pass packets to the driver. On SUCCESS the driver owns the packet 
     * memory and is responsible for cleaning the packet. On ERROR the 
     * NDK core stack will clean the packet memory.
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *****************************************************************/
    int  (*send)(struct NETIF_DEVICE* ptr_net_device, PBM_Handle hPkt);

    /***************************************************************** 
     * The device packet service function; which is called by the NDK 
     * stack scheduler to receive packets from the driver. 
     *****************************************************************/
    void (*pkt_service) (struct NETIF_DEVICE* ptr_net_device);

    /***************************************************************** 
     * The device IOCTL Function is a standard interface to be able to
     * get and set certain device specific parameters. The IOCTL 
     * function is called within the NDK llEnter and llExit critical 
     * sections.
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *****************************************************************/
    int (*ioctl)(struct NETIF_DEVICE* ptr_net_device, uint cmd, void* pbuf, uint size);

    /*****************************************************************
     * The device header manipulation function. The NDK Core stack will
     * ensure that the appropriate Layer2 is added to the packet by 
     * calling this function before the packet is passed to the driver
     * through the 'send' API mentioned above. 
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *
     * NOTES  :
     * If the driver being written is a standard 'Ethernet' driver the
     * driver author should ensure that the API 'ether_attach' is 
     * invoked during the 'start' API. This will initialize it 
     * correctly for all 'Ethernet' devices. But at the same time if 
     * this is a driver beyond standard 'Ethernet' it can be used to add
     * 'custom L2' headers.
     *****************************************************************/
    int (*add_header) (struct NETIF_DEVICE* ptr_net_device, PBM_Handle hPkt, 
                       UINT8* dst_mac, UINT8* src_mac, UINT16 ether_type);
}NETIF_DEVICE;

/*********************************************************************
 * STRUCTURE NAME : NIMU_DEVICE_TABLE_ENTRY
 *********************************************************************
 * DESCRIPTION   :
 *  The structure defines the NIMU Device Table entry. This entry needs
 *  to be populated by the NDK driver authors to the initialization 
 *  function of each network device in the system. 
 *********************************************************************/
typedef struct NIMU_DEVICE_TABLE_ENTRY
{
    /*****************************************************************
     * The driver initialization function which is invoked by the NDK
     * core stack during its own initialization sequence. Driver 
     * authors should use this function to initialize the driver and
     * register it with the NIMU.
     *
     * RETURNS:
     *  0   -   Success
     *  <0  -   Error
     *
     * NOTES:
     *  This function should always have a call to NIMURegister else
     *  the driver is not attached to the NDK core stack and will not
     *  operate.
     *****************************************************************/
    int (*init) (STKEVENT_Handle hEvent);
}NIMU_DEVICE_TABLE_ENTRY;

/*********************************************************************
 * STRUCTURE NAME : NIMU_IF_REQ
 *********************************************************************
 * DESCRIPTION   :
 *  The structure is the NIMU Interface request object which is passed
 *  to the NIMU module through the IOCTL interface.  
 *********************************************************************/
typedef struct NIMU_IF_REQ
{
    uint    index;          /* Device Index associated with NIMU */
    char    name[MAX_INTERFACE_NAME_LEN]; /* Device Name         */
}NIMU_IF_REQ;

/*********************************************************************
 * DESCRIPTION   :
 *  The NIMUDeviceTable is a NULL terminated array of driver 
 *  initialization functions which is called by the NDK Network 
 *  Interface Management functions during the NDK Core Initialization.
 *  The table needs to be populated by the driver authors for each 
 *  platform to have a list of all driver initialization functions. 
 *********************************************************************/
extern NIMU_DEVICE_TABLE_ENTRY  NIMUDeviceTable[];

/**********************************************************************
 *********************** NIMU Extern Functions  ***********************
 **********************************************************************/

/********************************************************************** 
 * NDK Core Stack Usage Only:
 * These functions are used 'internally' by the NDK core stack and should
 * not be used by any application or driver. 
 ***********************************************************************/
_extern int           NIMUInit (STKEVENT_Handle hEvent);
_extern void          NIMUShutdown (void);
_extern void          NIMUPacketService (void);
_extern void          NIMUPacketServiceCheck (int fEvents);
_extern PBM_Pkt*      NIMUCreatePacket (uint packet_size);
_extern void          NIMUSendPacket (HANDLE hIF, PBM_Pkt *pPkt);
_extern NETIF_DEVICE* NIMUFindByIndex (uint index);
_extern NETIF_DEVICE* NIMUFindByName (char* name);
_extern int           NIMUAddEthernetHeader (NETIF_DEVICE* ptr_net_device, PBM_Handle hPkt, 
                                             UINT8* dst_mac, UINT8* src_mac, UINT16 ether_type);
_extern int           NIMUAddHeader (NETIF_DEVICE* ptr_net_device, PBM_Handle hPkt, 
                                     UINT8* dst_mac, UINT8* src_mac, UINT16 protocol);

/********************************************************************** 
 * Exported API (KERNEL MODE):
 * These functions are exported by the NIMU Module and are available
 * for application and driver authors to use. These functions need to 
 * be invoked only from 'kernel' mode. 
 ***********************************************************************/ 
_extern void NIMUSetRsvdSizeInfo (int header_size, int trailer_size);
_extern void NIMUGetRsvdSizeInfo (int* header_size, int* trailer_size);
_extern int  NIMURegister (NETIF_DEVICE* ptr_netif_device);
_extern int  NIMUUnregister (NETIF_DEVICE* ptr_netif_device);
_extern int  NIMUReceivePacket (PBM_Handle hPkt);

/********************************************************************** 
 * Exported API (KERNEL MODE SAFE):
 *  This function is a configuration GET/SET access function and is 
 *  used to configure the NIMU module or the drivers attached to the 
 *  NIMU module. This is available to all the application and driver
 *  authors. This function can be called from outside the 'kernel'
 *  mode. 
 ***********************************************************************/ 
_extern int  NIMUIoctl(uint cmd, NIMU_IF_REQ* ptr_nimu_ifreq, void* pBuf, uint size);

#endif /* _C_NIMUIF_INC */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久久无码国产精品| 久久久精品免费网站| 欧美一二三四在线| 欧美国产欧美亚州国产日韩mv天天看完整| 国产精品黄色在线观看| 美女视频网站久久| 99国产精品久久| 久久久久久久久伊人| 丝袜诱惑制服诱惑色一区在线观看 | 日本韩国欧美在线| 久久久噜噜噜久久人人看| 日产国产高清一区二区三区| 91麻豆精品一区二区三区| 久久亚洲一区二区三区明星换脸| 视频在线在亚洲| 欧美伊人久久久久久午夜久久久久| 久久精品视频免费观看| 美腿丝袜亚洲综合| 欧美电影影音先锋| 亚洲综合区在线| 成人性视频免费网站| 久久久亚洲精华液精华液精华液| 日韩高清在线一区| 欧美日本一道本在线视频| 一区二区三区中文免费| 91丨九色丨蝌蚪丨老版| 国产目拍亚洲精品99久久精品| 九九精品视频在线看| 在线不卡一区二区| 日日夜夜免费精品| 欧美日韩另类国产亚洲欧美一级| 亚洲激情综合网| 欧美私人免费视频| 亚洲国产精品嫩草影院| 欧美美女一区二区三区| 男男gaygay亚洲| 日韩色视频在线观看| 日本视频一区二区三区| 欧美mv日韩mv亚洲| 国产在线观看免费一区| 国产色爱av资源综合区| 99re热这里只有精品免费视频| 成人免费一区二区三区在线观看 | 婷婷久久综合九色综合伊人色| 欧美午夜精品免费| 日韩在线卡一卡二| 日韩一区二区三区高清免费看看| 日本欧洲一区二区| 精品盗摄一区二区三区| 成人免费毛片嘿嘿连载视频| 国产精品久久毛片a| 欧美日韩在线一区二区| 肉色丝袜一区二区| 久久久久久99久久久精品网站| 丁香天五香天堂综合| 樱桃视频在线观看一区| 欧美电影一区二区三区| 精品午夜久久福利影院| 国产精品福利av| 欧美又粗又大又爽| 免费在线观看视频一区| 久久久久久99久久久精品网站| 成人av网站在线| 亚洲综合久久久久| 精品日韩欧美在线| 91在线视频在线| 日韩和欧美一区二区三区| 国产婷婷色一区二区三区四区| 一本大道av伊人久久综合| 久久激情五月婷婷| 一二三四社区欧美黄| 久久新电视剧免费观看| 色综合天天综合网天天看片| 欧美aaaaaa午夜精品| 中文字幕亚洲精品在线观看| 欧美久久久影院| 成人手机电影网| 日韩高清不卡在线| 自拍偷拍国产亚洲| 欧美一区二区三区免费观看视频| 成人激情电影免费在线观看| 三级亚洲高清视频| 亚洲天天做日日做天天谢日日欢| 欧美一区二区三级| 色狠狠一区二区| 国产大片一区二区| 日韩高清在线电影| 一区二区三区在线免费观看| 久久综合中文字幕| 日韩欧美资源站| 欧美日韩综合一区| 91一区一区三区| 丁香婷婷综合色啪| 国产精品羞羞答答xxdd| 日本在线播放一区二区三区| 一区二区欧美在线观看| 国产精品天美传媒沈樵| 日韩欧美的一区二区| 欧美久久一区二区| 欧美日韩国产影片| 在线视频欧美精品| 一本一本大道香蕉久在线精品| 国产成人av电影在线| 国产又黄又大久久| 久久99精品久久久久| 日韩精品亚洲专区| 日韩影院精彩在线| 午夜国产精品影院在线观看| 亚洲女与黑人做爰| 一区二区三区四区不卡在线| 亚洲欧洲美洲综合色网| 国产精品麻豆欧美日韩ww| 国产欧美一区二区在线| 国产人成一区二区三区影院| 久久婷婷国产综合国色天香| 久久夜色精品国产欧美乱极品| 日韩三级在线观看| 精品国产91洋老外米糕| 欧美精品一区二区在线播放| 久久综合成人精品亚洲另类欧美 | 国产一区免费电影| 国产精品一区2区| 不卡视频一二三四| 91在线观看地址| 在线视频你懂得一区二区三区| 色猫猫国产区一区二在线视频| 色素色在线综合| 欧美久久久影院| 日韩欧美国产不卡| 国产欧美日本一区视频| 成人免费在线播放视频| 亚洲精品国产a| 免费的国产精品| 韩国三级中文字幕hd久久精品| 国产乱色国产精品免费视频| 粉嫩一区二区三区在线看| 成人av综合一区| 欧美日韩国产一级| 欧美mv日韩mv| 国产精品久久久久四虎| 亚洲一区自拍偷拍| 久久超级碰视频| 99视频超级精品| 欧美日本高清视频在线观看| 精品国产一区二区三区四区四| 国产午夜精品一区二区三区四区| 中国av一区二区三区| 亚洲在线观看免费| 国产麻豆精品在线| 91精品1区2区| 精品久久久久久久久久久久久久久 | 91精品黄色片免费大全| 日韩精品在线网站| 国产精品毛片久久久久久久| 日韩激情一区二区| 波多野结衣在线aⅴ中文字幕不卡| 91福利在线导航| 久久久国产一区二区三区四区小说| 亚洲欧洲www| 青青草国产成人99久久| av午夜精品一区二区三区| 日韩欧美高清dvd碟片| 亚洲激情一二三区| 国产成人啪免费观看软件 | 国产午夜精品福利| 亚洲影院在线观看| 成人黄页在线观看| 日韩欧美国产精品| 亚洲成av人片| 91原创在线视频| 国产精品水嫩水嫩| 免费观看91视频大全| 欧美性极品少妇| 国产精品久久99| 国产精品一区二区三区网站| 欧美三区免费完整视频在线观看| 国产精品视频免费看| 麻豆成人久久精品二区三区红 | 亚洲一区二区在线视频| 国产成人在线视频免费播放| 91精选在线观看| 亚洲国产欧美日韩另类综合 | 欧美成人精品福利| 天堂在线一区二区| 欧美日韩国产一级| 亚洲国产成人高清精品| 91论坛在线播放| 亚洲图片你懂的| 丁香天五香天堂综合| 国产清纯白嫩初高生在线观看91 | 欧美韩国日本一区| 国产精品一二三四| 久久综合中文字幕| 国产激情91久久精品导航| 日韩一级欧美一级| 毛片一区二区三区| 日韩亚洲欧美综合| 麻豆一区二区三区| 精品福利一区二区三区| 国产呦精品一区二区三区网站|