7 #define ERR_ALLREAD -13 8 #define ERR_TXERROR -14 9 #define ERR_RXERROR -14 11 #define ERR_PKTSIZE -17 12 #define ERR_TXPENDING -18 14 #define cpu_to_be16(x) (x) 15 #define cpu_to_be32(x) (x) 19 #define cpu_to_le16p(addr) (cpu_to_le16(*(addr))) 20 #define cpu_to_le32p(addr) (cpu_to_le32(*(addr))) 21 #define cpu_to_be16p(addr) (cpu_to_be16(*(addr))) 22 #define cpu_to_be32p(addr) (cpu_to_be32(*(addr))) 29 #define le16_to_cpup(x) cpu_to_le16p(x) 30 #define le32_to_cpup(x) cpu_to_le32p(x) 31 #define be16_to_cpup(x) cpu_to_be16p(x) 32 #define be32_to_cpup(x) cpu_to_be32p(x) 34 #define le16_to_cpus(x) cpu_to_le16s(x) 35 #define le32_to_cpus(x) cpu_to_le32s(x) 36 #define be16_to_cpus(x) cpu_to_be16s(x) 37 #define be32_to_cpus(x) cpu_to_be32s(x) s8_t err_t
Definition: err.h:39
dev_s bba_create(struct netif *)
Definition: gcif.c:1013
#define cpu_to_be32(x)
Definition: gcif.h:15
static void cpu_to_be32s(u32 *a)
Definition: gcif.h:27
static void cpu_to_be16s(u16 *a)
Definition: gcif.h:26
err_t bba_init(struct netif *)
Definition: gcif.c:983
uint16_t u16
16bit unsigned integer
Definition: gctypes.h:18
void * dev_s
Definition: gcif.h:39
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
GLfloat GLfloat p
Definition: glext.h:9809
void bba_process(struct pbuf *p, struct netif *dev)
Definition: gcif.c:613
static u32 cpu_to_le32(u32 x)
Definition: gcif.h:17
static u16 cpu_to_le16(u16 x)
Definition: gcif.h:16
static void cpu_to_le32s(u32 *a)
Definition: gcif.h:25
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
static void cpu_to_le16s(u16 *a)
Definition: gcif.h:24
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844
#define cpu_to_be16(x)
Definition: gcif.h:14