summaryrefslogtreecommitdiff
path: root/util/lxbios/ip_checksum.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-07-12 16:35:42 +0000
committerStefan Reinauer <stepan@openbios.org>2007-07-12 16:35:42 +0000
commit6540ae5ea0a52e05ceb31675a2419d07197db738 (patch)
tree0dd2a6401ef2cfa5b06de374a6ba6db11e0b61c6 /util/lxbios/ip_checksum.h
parent6cf687783bc9c54146cf85ce5e526e63ab7047fb (diff)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2736 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/lxbios/ip_checksum.h')
-rw-r--r--util/lxbios/ip_checksum.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/util/lxbios/ip_checksum.h b/util/lxbios/ip_checksum.h
new file mode 100644
index 0000000000..39703150fb
--- /dev/null
+++ b/util/lxbios/ip_checksum.h
@@ -0,0 +1,16 @@
+/*****************************************************************************\
+ * ip_checksum.h
+ * $Id: ip_checksum.h,v 1.1.1.1 2005/12/02 22:35:19 dsp_llnl Exp $
+\*****************************************************************************/
+
+#ifndef IP_CHECKSUM_H
+#define IP_CHECKSUM_H
+
+/* Note: The contents of this file were borrowed from the LinuxBIOS source
+ * code which may be obtained from http://www.linuxbios.org.
+ * Specifically, this code was obtained from LinuxBIOS version 1.0.0.8.
+ */
+
+unsigned long compute_ip_checksum(void *addr, unsigned long length);
+
+#endif /* IP_CHECKSUM_H */