Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

ipcsum.h File Reference

IP checksum definitions. More...

#include <sys/types.h>

Go to the source code of this file.

Functions

u_short NutIpChkSumPartial (u_short partial_csum, void *buf, u_short count)
 Calculates a partial IP checksum over a block of data.

u_short NutIpChkSum (u_short partial_csum, void *buf, u_short count)
 Calculates an the final IP checksum over a block of data.

u_short NutIpPseudoChkSumPartial (u_long src_addr, u_long dest_addr, u_char protocol, u_short len)
 Calculates the partial IP pseudo checksum.

u_short NutIpPseudoChkSum (u_long src_addr, u_long dest_addr, u_char protocol, u_short len)
 Calculates the IP pseudo checksum.


Detailed Description

IP checksum definitions.


Generated on Thu Jan 30 22:30:54 2003 for EduNet by doxygen1.2.18