ipcsum.c File Reference

Go to the source code of this file.

Functions

u_short NutIpChkSumPartial (u_short ics, CONST void *buf, int len)
 Calculate a partial IP checksum of a buffer.
u_short NutIpChkSum (u_short ics, CONST void *buf, int len)
 Calculates an the final IP checksum over a block of data.
u_long NutIpPseudoChkSumPartial (u_long src_addr, u_long dest_addr, u_char protocol, int len)
 Calculates the partial IP pseudo checksum.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/