RetroArch
|
#include "uip.h"
Go to the source code of this file.
Macros | |
#define | UIP_MIN(x, y) (x)<(y)?(x):(y) |
#define | MEM_ALIGNMENT 4 |
#define | MEM_ALIGN(mem) ((void*)(((u32_t)(mem)+MEM_ALIGNMENT-1)&~(u32_t)(MEM_ALIGNMENT-1))) |
#define | MEM_ALIGN_SIZE(size) (((size)+MEM_ALIGNMENT-1)&~(u32_t)(MEM_ALIGNMENT-1)) |
#define | PACK_STRUCT_STRUCT __attribute__((packed)) |
#define | PACK_STRUCT_FIELD(x) x |
#define | PACK_STRUCT_BEGIN |
#define | PACK_STRUCT_END |
#define | tcp_tmr_needed tcpip_tmr_needed |
#define | UIP_MEMCPY uip_memcpy |
#define | UIP_MEMSET uip_memset |
Functions | |
u16_t | uip_chksum (u16_t *buf, u32_t len) |
u16_t | uip_ipchksum (void *dataptr, u16_t len) |
u16_t | uip_ipchksum_pbuf (struct uip_pbuf *p) |
u16_t | uip_chksum_pseudo (struct uip_pbuf *p, struct uip_ip_addr *src, struct uip_ip_addr *dst, u8_t proto, u16_t proto_len) |
void | tcpip_tmr_needed () |
static __inline__ void | uip_memcpy (void *dest, const void *src, s32_t len) |
static __inline__ void | uip_memset (void *dest, s32_t c, s32_t len) |
Declarations of architecture specific functions.