blob: 19f342885d0db12c937c7b584912e62b02765ea0 [file] [log] [blame]
Stefan Reinauer6540ae52007-07-12 16:35:42 +00001/*****************************************************************************\
2 * ip_checksum.h
Stefan Reinauer6540ae52007-07-12 16:35:42 +00003\*****************************************************************************/
4
5#ifndef IP_CHECKSUM_H
6#define IP_CHECKSUM_H
7
Stefan Reinauerf527e702008-01-18 15:33:49 +00008/* Note: The contents of this file were borrowed from the coreboot source
Paul Menzela8843de2017-06-05 12:33:23 +02009 * code which may be obtained from https://www.coreboot.org.
Stefan Reinauer14e22772010-04-27 06:56:47 +000010 * Specifically, this code was obtained from coreboot (LinuxBIOS)
Stefan Reinauerf527e702008-01-18 15:33:49 +000011 * version 1.0.0.8.
Stefan Reinauer6540ae52007-07-12 16:35:42 +000012 */
13
14unsigned long compute_ip_checksum(void *addr, unsigned long length);
15
Stefan Reinauer90b96b62010-01-13 21:00:23 +000016#endif /* IP_CHECKSUM_H */