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
|
2017-06-05 12:33:23 +02:00
|
|
|
* code which may be obtained from https://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 */
|