summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/include/libopenbios/ipchecksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/openbios/include/libopenbios/ipchecksum.h')
-rw-r--r--qemu/roms/openbios/include/libopenbios/ipchecksum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/qemu/roms/openbios/include/libopenbios/ipchecksum.h b/qemu/roms/openbios/include/libopenbios/ipchecksum.h
new file mode 100644
index 000000000..24cc1d744
--- /dev/null
+++ b/qemu/roms/openbios/include/libopenbios/ipchecksum.h
@@ -0,0 +1,7 @@
+#ifndef IPCHECKSUM_H
+#define IPCHECKSUM_H
+
+unsigned short ipchksum(const void *data, unsigned long length);
+unsigned short add_ipchksums(unsigned long offset, unsigned short sum, unsigned short new);
+
+#endif /* IPCHECKSUM_H */