wdbpipepktdrv.h

来自「IXP425的BSP代码」· C头文件 代码 · 共 76 行

H
76
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?