MeterLogger
Macros | Typedefs | Variables
cc.h File Reference
#include "c_types.h"
#include "ets_sys.h"
#include "osapi.h"
Include dependency graph for cc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EFAULT   14
 
#define BYTE_ORDER   LITTLE_ENDIAN
 
#define S16_F   "d"
 
#define U16_F   "d"
 
#define X16_F   "x"
 
#define S32_F   "d"
 
#define U32_F   "d"
 
#define X32_F   "x"
 
#define PACK_STRUCT_FIELD(x)   x
 
#define PACK_STRUCT_STRUCT   __attribute__((packed))
 
#define PACK_STRUCT_BEGIN
 
#define PACK_STRUCT_END
 
#define LWIP_PLATFORM_DIAG(x)
 
#define LWIP_PLATFORM_ASSERT(x)
 
#define SYS_ARCH_DECL_PROTECT(x)
 
#define SYS_ARCH_PROTECT(x)
 
#define SYS_ARCH_UNPROTECT(x)
 
#define LWIP_PLATFORM_BYTESWAP   1
 
#define LWIP_PLATFORM_HTONS(_n)   ((u16_t)((((_n) & 0xff) << 8) | (((_n) >> 8) & 0xff)))
 
#define LWIP_PLATFORM_HTONL(_n)   ((u32_t)( (((_n) & 0xff) << 24) | (((_n) & 0xff00) << 8) | (((_n) >> 8) & 0xff00) | (((_n) >> 24) & 0xff) ))
 

Typedefs

typedef unsigned char u8_t
 
typedef signed char s8_t
 
typedef unsigned short u16_t
 
typedef signed short s16_t
 
typedef unsigned long u32_t
 
typedef signed long s32_t
 
typedef unsigned long mem_ptr_t
 

Variables

u8_t memp_memory_SYS_TIMEOUT_base []
 
u8_t memp_memory_PBUF_base []
 
u8_t memp_memory_PBUF_POOL_base []
 

Macro Definition Documentation

◆ BYTE_ORDER

#define BYTE_ORDER   LITTLE_ENDIAN

Definition at line 46 of file cc.h.

◆ EFAULT

#define EFAULT   14

Definition at line 41 of file cc.h.

◆ LWIP_PLATFORM_ASSERT

#define LWIP_PLATFORM_ASSERT (   x)

Definition at line 83 of file cc.h.

◆ LWIP_PLATFORM_BYTESWAP

#define LWIP_PLATFORM_BYTESWAP   1

Definition at line 90 of file cc.h.

◆ LWIP_PLATFORM_DIAG

#define LWIP_PLATFORM_DIAG (   x)

Definition at line 82 of file cc.h.

◆ LWIP_PLATFORM_HTONL

#define LWIP_PLATFORM_HTONL (   _n)    ((u32_t)( (((_n) & 0xff) << 24) | (((_n) & 0xff00) << 8) | (((_n) >> 8) & 0xff00) | (((_n) >> 24) & 0xff) ))

Definition at line 92 of file cc.h.

◆ LWIP_PLATFORM_HTONS

#define LWIP_PLATFORM_HTONS (   _n)    ((u16_t)((((_n) & 0xff) << 8) | (((_n) >> 8) & 0xff)))

Definition at line 91 of file cc.h.

◆ PACK_STRUCT_BEGIN

#define PACK_STRUCT_BEGIN

Definition at line 73 of file cc.h.

◆ PACK_STRUCT_END

#define PACK_STRUCT_END

Definition at line 74 of file cc.h.

◆ PACK_STRUCT_FIELD

#define PACK_STRUCT_FIELD (   x)    x

Definition at line 71 of file cc.h.

◆ PACK_STRUCT_STRUCT

PACK_STRUCT_BEGIN struct ip_addr2 PACK_STRUCT_STRUCT   __attribute__((packed))

Definition at line 72 of file cc.h.

◆ S16_F

#define S16_F   "d"

Definition at line 60 of file cc.h.

Referenced by ip_output(), mem_malloc(), and pbuf_header().

◆ S32_F

#define S32_F   "d"

Definition at line 64 of file cc.h.

◆ SYS_ARCH_DECL_PROTECT

#define SYS_ARCH_DECL_PROTECT (   x)

Definition at line 86 of file cc.h.

Referenced by mem_free(), mem_trim(), memp_free(), memp_malloc(), netif_set_link_down(), pbuf_free(), and pbuf_ref().

◆ SYS_ARCH_PROTECT

#define SYS_ARCH_PROTECT (   x)

Definition at line 87 of file cc.h.

Referenced by mem_free(), mem_trim(), memp_free(), memp_malloc(), netif_set_link_down(), pbuf_free(), and pbuf_ref().

◆ SYS_ARCH_UNPROTECT

#define SYS_ARCH_UNPROTECT (   x)

Definition at line 88 of file cc.h.

Referenced by mem_free(), mem_trim(), memp_free(), memp_malloc(), netif_set_link_down(), pbuf_free(), and pbuf_ref().

◆ U16_F

#define U16_F   "d"

◆ U32_F

#define U32_F   "d"

Definition at line 65 of file cc.h.

◆ X16_F

#define X16_F   "x"

Definition at line 62 of file cc.h.

Referenced by ip_input(), and ip_output().

◆ X32_F

#define X32_F   "x"

Definition at line 66 of file cc.h.

Referenced by inet_chksum_pseudo(), inet_chksum_pseudo_partial(), and ip_input().

Typedef Documentation

◆ mem_ptr_t

typedef unsigned long mem_ptr_t

Definition at line 58 of file cc.h.

◆ s16_t

typedef signed short s16_t

Definition at line 55 of file cc.h.

◆ s32_t

typedef signed long s32_t

Definition at line 57 of file cc.h.

◆ s8_t

typedef signed char s8_t

Definition at line 53 of file cc.h.

◆ u16_t

typedef unsigned short u16_t

Definition at line 54 of file cc.h.

◆ u32_t

typedef unsigned long u32_t

Definition at line 56 of file cc.h.

◆ u8_t

typedef unsigned char u8_t

Definition at line 52 of file cc.h.

Variable Documentation

◆ memp_memory_PBUF_base

u8_t memp_memory_PBUF_base[]

◆ memp_memory_PBUF_POOL_base

u8_t memp_memory_PBUF_POOL_base[]

Referenced by memp_free().

◆ memp_memory_SYS_TIMEOUT_base

u8_t memp_memory_SYS_TIMEOUT_base[]