devices/ccat/CCatDefinitions.h
branchstable-1.5
changeset 2567 d70aad2f131f
parent 2551 000da5069f1a
equal deleted inserted replaced
2566:0f39e1e7b288 2567:d70aad2f131f
    20 #ifndef _CCAT_DEFINITIONS_H_
    20 #ifndef _CCAT_DEFINITIONS_H_
    21 #define _CCAT_DEFINITIONS_H_
    21 #define _CCAT_DEFINITIONS_H_
    22 
    22 
    23 #ifndef WINDOWS
    23 #ifndef WINDOWS
    24 #include <linux/kernel.h>
    24 #include <linux/kernel.h>
    25 typedef uint8_t BYTE;
    25 typedef u8 BYTE;
    26 typedef uint32_t ULONG;
    26 typedef u32 ULONG;
    27 typedef uint16_t USHORT;
    27 typedef u16 USHORT;
    28 typedef uint8_t UINT8;
    28 typedef u8 UINT8;
    29 typedef uint16_t UINT16;
    29 typedef u16 UINT16;
    30 typedef uint32_t UINT32;
    30 typedef u32 UINT32;
    31 typedef uint64_t UINT64;
    31 typedef u64 UINT64;
    32 #endif
    32 #endif
    33 
    33 
    34 #define CCAT_DMA_FRAME_HEADER_LENGTH (196 / 8) // 196 bit
    34 #define CCAT_DMA_FRAME_HEADER_LENGTH (196 / 8) // 196 bit
    35 
    35 
    36 typedef struct _ETHERNET_ADDRESS
    36 typedef struct _ETHERNET_ADDRESS