2007-07-12 18:35:42 +02:00
|
|
|
/*****************************************************************************\
|
|
|
|
* ip_checksum.h
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef IP_CHECKSUM_H
|
|
|
|
#define IP_CHECKSUM_H
|
|
|
|
|
2008-01-18 16:33:49 +01:00
|
|
|
/* Note: The contents of this file were borrowed from the coreboot source
|
|
|
|
* code which may be obtained from http://www.coreboot.org.
|
2010-04-27 08:56:47 +02:00
|
|
|
* Specifically, this code was obtained from coreboot (LinuxBIOS)
|
2008-01-18 16:33:49 +01:00
|
|
|
* version 1.0.0.8.
|
2007-07-12 18:35:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
unsigned long compute_ip_checksum(void *addr, unsigned long length);
|
|
|
|
|
2010-01-13 22:00:23 +01:00
|
|
|
#endif /* IP_CHECKSUM_H */
|