summaryrefslogtreecommitdiff
path: root/util/nvramtool/ip_checksum.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-01 19:09:01 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-01 19:09:01 +0000
commitcbb5ba8633c2ad143366c3bc367f8c4f6434c084 (patch)
tree5cd9812c1ca9ab13e3791221bdd8217627df860f /util/nvramtool/ip_checksum.h
parent66d83cfa84f75ad3fba38d3b926da531d800b8a5 (diff)
downloadcoreboot-cbb5ba8633c2ad143366c3bc367f8c4f6434c084.tar.xz
Rename lxbios to nvramtool, step 3 (rename directory).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3124 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/nvramtool/ip_checksum.h')
-rw-r--r--util/nvramtool/ip_checksum.h17
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 */