wdbUlipPktDrv.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* wdbUlipPktDrv.h - header file for WDB agents ULIP packet driver */
- /* Copyright 1984-2002 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01b,26apr02,dat Adding cplusplus protection, SPR 75017
- 01a,28jun95,ms written.
- */
- #ifndef __INCwdbUlipPktLibh
- #define __INCwdbUlipPktLibh
- /* includes */
- #include "wdb/wdb.h"
- #include "wdb/wdbCommIfLib.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* defines */
- #define ULIP_MTU 1500
- /* bimodal ULIP device */
- typedef struct /* hidden */
- {
- WDB_DRV_IF wdbDrvIf; /* must come first for wdbUdpLib */
- int ulipFd; /* UNIX fd of ULIP device */
- bool_t inBufLocked; /* state of input buffer */
- char inBuf[ULIP_MTU]; /* input buffer */
- } WDB_ULIP_PKT_DEV;
- /* function prototypes */
- #if defined(__STDC__)
- extern void wdbUlipPktDevInit (WDB_ULIP_PKT_DEV *pPktDev, char * ulipDev,
- void (*inputRtn)());
- #else /* __STDC__ */
- extern void wdbUlipPktDevInit ();
- #endif /* __STDC__ */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCwdbUlipPktLibh */