wdbBdmPktDrv.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* wdbBdmPktDrv.h - header file for WDB agents bdm packet driver */
  2. /* Copyright 1998-2002 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,26apr02,dat  Adding cplusplus protection, SPR 75017
  7. 01a,16jun98,vrd written.
  8. */
  9. /*
  10. This is an unsupported release of the Background Debug Mode (BDM) Back
  11. End. It is provided AS IS with no warranties of any kind.
  12. */
  13. #ifndef __INCwdbBdmPktDrvh
  14. #define __INCwdbBdmPktDrvh
  15. /* includes */
  16. #include "sioLib.h"
  17. #include "wdb/wdb.h"
  18. #include "wdb/wdbCommIfLib.h"
  19. #include "wdb/wdbMbufLib.h"
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /* defines */
  24. #define WDB_BDM_PKT_MTU           1500    /* MTU of this driver */
  25. /* data types */
  26. typedef struct /* hidden */
  27.     {
  28.     WDB_DRV_IF wdbDrvIf; /* a packet dev must have this first */
  29.     u_int mode; /* current mode - poll or int */
  30.     } WDB_BDM_PKT_DEV;
  31. /* function prototypes */
  32. #if defined(__STDC__)
  33. extern STATUS wdbBdmPktDevInit (WDB_BDM_PKT_DEV *pPktDev,
  34.   void (*stackRcv)());
  35. #else   /* __STDC__ */
  36. extern STATUS wdbBdmPktDevInit ();
  37. #endif  /* __STDC__ */
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif  /* __INCwdbBdmPktDrvh */