summaryrefslogtreecommitdiff
path: root/util/nvramtool/ip_checksum.h
blob: 365bbd15db992a48bed2db1aafa4c4df176b3656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*****************************************************************************\
 * ip_checksum.h
\*****************************************************************************/

#ifndef IP_CHECKSUM_H
#define IP_CHECKSUM_H

/* Note: The contents of this file were borrowed from the coreboot source
 *       code which may be obtained from http://www.coreboot.org.
 *       Specifically, this code was obtained from coreboot (LinuxBIOS) 
 *       version 1.0.0.8.
 */

unsigned long compute_ip_checksum(void *addr, unsigned long length);

#endif /* IP_CHECKSUM_H */