inet6.c File Reference

#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/inet.h"

Functions

u16_t inet_chksum_pbuf (struct pbuf *p)

Detailed Description

Functions common to all TCP/IPv6 modules, such as the Internet checksum and the byte order functions.

Function Documentation

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).

Parameters:
p pbuf chain over that the checksum should be calculated
Returns:
checksum (as u16_t) to be saved directly in the protocol header


Generated on Fri Feb 14 12:33:21 2014 for 2014.1_doc by  doxygen 1.4.5