wdbNetromPktDrv.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* wdbNetcomPktDrv.h - header file for debug agents NETROM packet driver */
- /* Copyright 1984-2002 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01d,26apr02,dat Adding cplusplus protection, SPR 75017
- 01c,25oct95,ms changed params to wdbNetromPktDevInit.
- 01b,28jun95,tpr added pollDelay argument in wdbNetromPktDevInit().
- 01a,28jun95,ms written.
- */
- #ifndef __INCwdbNetcomPktLibh
- #define __INCwdbNetcomPktLibh
- /* includes */
- #include "wdb/wdb.h"
- #include "wdb/wdbCommIfLib.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* defines */
- #define NETROM_MTU 500
- /* data types */
- typedef struct /* hidden */
- {
- WDB_DRV_IF wdbDrvIf; /* first field for any packet device */
- char inBuf [NETROM_MTU]; /* input buffer */
- BOOL inBufFull; /* input buffer is full */
- int bytesRead; /* bytes read into input buffer */
- } WDB_NETROM_PKT_DEV;
- /* function prototypes */
- #if defined(__STDC__)
- extern void wdbNetromPktDevInit (WDB_NETROM_PKT_DEV *pPktDev,
- caddr_t dpBase,
- int width,
- int index,
- int numAccess,
- void (*stackRcv)(),
- int pollDelay);
- #else /* __STDC__ */
- extern void wdbNetromPktDevInit ();
- #endif /* __STDC__ */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCwdbNetcomPktLibh */