blob: f2a13070a3a914481e6bbb71d1d624c46bd7da3d [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
9 * code which may be obtained from http://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 */