1 /*****************************************************************************\ 2 * ip_checksum.h 3 \*****************************************************************************/ 4 5 #ifndef IP_CHECKSUM_H 6 #define IP_CHECKSUM_H 7 8 /* Note: The contents of this file were borrowed from the coreboot source 9 * code which may be obtained from https://www.coreboot.org. 10 * Specifically, this code was obtained from coreboot (LinuxBIOS) 11 * version 1.0.0.8. 12 */ 13 14 unsigned long compute_ip_checksum(void *addr, unsigned long length); 15 16 #endif /* IP_CHECKSUM_H */ 17