entity.h 840 B

1234567891011121314151617181920212223242526272829
  1. /* $Id: entity.h,v 1.4 2004/03/21 17:26:01 armin Exp $ */
  2. #ifndef __DIVAS_USER_MODE_IDI_ENTITY__
  3. #define __DIVAS_USER_MODE_IDI_ENTITY__
  4. #define DIVA_UM_IDI_RC_PENDING 0x00000001
  5. #define DIVA_UM_IDI_REMOVE_PENDING 0x00000002
  6. #define DIVA_UM_IDI_TX_FLOW_CONTROL 0x00000004
  7. #define DIVA_UM_IDI_REMOVED 0x00000008
  8. #define DIVA_UM_IDI_ASSIGN_PENDING 0x00000010
  9. typedef struct _divas_um_idi_entity {
  10. struct list_head link;
  11. diva_um_idi_adapter_t *adapter; /* Back to adapter */
  12. ENTITY e;
  13. void *os_ref;
  14. dword status;
  15. void *os_context;
  16. int rc_count;
  17. diva_um_idi_data_queue_t data; /* definad by user 1 ... MAX */
  18. diva_um_idi_data_queue_t rc; /* two entries */
  19. BUFFERS XData;
  20. BUFFERS RData;
  21. byte buffer[2048 + 512];
  22. } divas_um_idi_entity_t;
  23. #endif