⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wdbpipepktdrv.h

📁 IXP425的BSP代码
💻 H
字号:
/* wdbPipePktLib.h - header file for WDB agents pipe packet driver *//* Copyright 1998-2002 Wind River Systems, Inc. *//*modification history--------------------01d,26apr02,dat  Adding cplusplus protection, SPR 7501701c,21may98,dbt  modified wdbPipePktDevInit prototype.01b,09apr98,pdn  fixed the WDB_PIPE_PKT_MTU to match w/ tgtsvr.01a,11mar98,pdn  written.*/#ifndef __INCwdbPipePktLibh#define __INCwdbPipePktLibh/* includes */#include "sioLib.h"#include "wdb/wdb.h"#include "wdb/wdbCommIfLib.h"#include "wdb/wdbMbufLib.h"#ifdef __cplusplusextern "C" {#endif/* defines */#define WDB_PIPE_PKT_MTU           1500    /* MTU of this driver *//* data types */typedef struct		/* hidden */    {    WDB_DRV_IF	wdbDrvIf;		/* a packet dev must have this first */    u_int	mode;			/* current mode - poll or int */    /* input buffer - loaned to the agent when a packet arrives */    bool_t	inputBusy;    char	inBuf [WDB_PIPE_PKT_MTU + sizeof(short)];    /* output buffers - a chain of mbufs given to us by the agent */    bool_t	outputBusy;    int		h2t_fd;    int		t2h_fd;    /* device register addresses etc */    } WDB_PIPE_PKT_DEV;/* function prototypes */#if defined(__STDC__)extern STATUS	wdbPipePktDevInit (WDB_PIPE_PKT_DEV *pPktDev,				  /* device specific init params, */				  void (*stackRcv)());#else   /* __STDC__ */extern STATUS	wdbPipePktDevInit ();#endif  /* __STDC__ */#ifdef __cplusplus}#endif#endif  /* __INCwdbPipePktLibh */

⌨️ 快捷键说明

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