diff options
Diffstat (limited to 'util/nvramtool/ip_checksum.h')
-rw-r--r-- | util/nvramtool/ip_checksum.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/nvramtool/ip_checksum.h b/util/nvramtool/ip_checksum.h new file mode 100644 index 0000000000..885197749e --- /dev/null +++ b/util/nvramtool/ip_checksum.h @@ -0,0 +1,17 @@ +/*****************************************************************************\ + * ip_checksum.h + * $Id$ +\*****************************************************************************/ + +#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 */ |