Functions common to all TCP/IPv6 modules, such as the Internet checksum and the byte order functions. More...
#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/inet.h"
Functions | |
u16_t | inet_chksum_pseudo (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, u8_t proto, u32_t proto_len) |
u16_t | inet_chksum (void *dataptr, u16_t len) |
u16_t | inet_chksum_pbuf (struct pbuf *p) |
Calculate a checksum over a chain of pbufs (without pseudo-header, much like inet_chksum only pbufs are used). |
Functions common to all TCP/IPv6 modules, such as the Internet checksum and the byte order functions.
Calculate a checksum over a chain of pbufs (without pseudo-header, much like inet_chksum only pbufs are used).
p | pbuf chain over that the checksum should be calculated |