diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2007-02-23 11:02:04 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2007-02-23 11:02:04 +0000 |
commit | 592d34e1fc5ca4ba1125c9c848892c14e40ea60d (patch) | |
tree | 354a2abcbcb5a0e182933c88e64b51b6be5d5c06 /include | |
parent | 9fed5d8f662a45d20c70d531511375f24b078ac3 (diff) | |
download | coreboot-592d34e1fc5ca4ba1125c9c848892c14e40ea60d.tar.gz coreboot-592d34e1fc5ca4ba1125c9c848892c14e40ea60d.tar.bz2 coreboot-592d34e1fc5ca4ba1125c9c848892c14e40ea60d.zip |
ip checksum file for elf booting.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@90 f3766cd6-281f-0410-b1cd-43a5c92072e9
Diffstat (limited to 'include')
-rw-r--r-- | include/ip_checksum.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ip_checksum.h b/include/ip_checksum.h new file mode 100644 index 000000000000..c2cb938294a7 --- /dev/null +++ b/include/ip_checksum.h @@ -0,0 +1,7 @@ +#ifndef IP_CHECKSUM_H +#define IP_CHECKSUM_H + +unsigned long compute_ip_checksum(void *addr, unsigned long length); +unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new); + +#endif /* IP_CHECKSUM_H */ |