lwIP abstraction layer for SAM.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdio.h>
#include <stdint.h>
Macros | |
#define | BYTE_ORDER LITTLE_ENDIAN |
#define | LWIP_COMPAT_MUTEX 1 |
#define | LWIP_PLATFORM_ASSERT(x) {while (1);} |
#define | LWIP_PLATFORM_DIAG(x) {;} |
#define | LWIP_PROVIDE_ERRNO |
#define | PACK_STRUCT_BEGIN |
#define | PACK_STRUCT_END |
#define | PACK_STRUCT_FIELD(x) x |
#define | PACK_STRUCT_STRUCT __attribute__ ((packed)) |
#define | S16_F "hd" |
#define | S32_F "d" |
#define | U16_F "hu" |
#define | U32_F "u" |
#define | X16_F "hx" |
#define | X32_F "x" |
Typedefs | |
typedef uintptr_t | mem_ptr_t |
typedef int16_t | s16_t |
typedef int32_t | s32_t |
typedef int8_t | s8_t |
typedef uint16_t | u16_t |
typedef uint32_t | u32_t |
typedef uint8_t | u8_t |
#define BYTE_ORDER LITTLE_ENDIAN |
#define LWIP_COMPAT_MUTEX 1 |
#define LWIP_PLATFORM_ASSERT | ( | x | ) | {while (1);} |
#define LWIP_PLATFORM_DIAG | ( | x | ) | {;} |
#define LWIP_PROVIDE_ERRNO |
#define PACK_STRUCT_BEGIN |
#define PACK_STRUCT_END |
#define PACK_STRUCT_FIELD | ( | x | ) | x |
PACK_STRUCT_END PACK_STRUCT_BEGIN struct icmp6_echo_hdr PACK_STRUCT_STRUCT __attribute__ ((packed)) |
#define S16_F "hd" |
Referenced by mem_malloc(), pbuf_header(), and pbuf_header_impl().
#define S32_F "d" |
#define U16_F "hu" |
Referenced by ip_route(), netif_set_gw(), netif_set_ipaddr(), netif_set_netmask(), pbuf_alloc(), and pbuf_free().
#define U32_F "u" |
#define X16_F "hx" |
Referenced by ip_input().
#define X32_F "x" |
Referenced by inet_cksum_pseudo_base(), inet_cksum_pseudo_partial_base(), and ip_input().
typedef uintptr_t mem_ptr_t |
typedef int16_t s16_t |
typedef int32_t s32_t |
typedef int8_t s8_t |
typedef uint16_t u16_t |
typedef uint32_t u32_t |
typedef uint8_t u8_t |