RetroArch
|
#include "lwip/opt.h"
#include "lwip/arch.h"
#include "lwip/def.h"
#include "lwip/inet.h"
#include "lwip/sys.h"
Macros | |
#define | LWIP_CHKSUM lwip_standard_chksum |
Functions | |
static u16_t | lwip_standard_chksum (void *dataptr, u16_t len) |
u16_t | inet_chksum_pseudo (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t proto, u16_t proto_len) |
u16_t | inet_chksum (void *dataptr, u16_t len) |
u16_t | inet_chksum_pbuf (struct pbuf *p) |
#define LWIP_CHKSUM lwip_standard_chksum |
u16_t inet_chksum_pseudo | ( | struct pbuf * | p, |
struct ip_addr * | src, | ||
struct ip_addr * | dest, | ||
u8_t | proto, | ||
u16_t | proto_len | ||
) |
lwip checksum
dataptr | points to start of data to be summed at any boundary |
len | length of data to be summed |