inet_chksum.c File Reference


Functions

u16_t inet_chksum_pbuf (struct pbuf *p)

Detailed Description

Incluse internet checksum 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 Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4