summaryrefslogtreecommitdiffstats
path: root/src/arch/x86
diff options
context:
space:
mode:
authorMichael Brown2012-06-27 13:02:58 +0200
committerMichael Brown2012-06-27 20:15:17 +0200
commit1d77d032168bd495c53589cca596131a992473c4 (patch)
treef6ade4bb1e404c1fcf66bfa647cd7d9273e66eb2 /src/arch/x86
parent[libc] Simplify memcpy() implementation (diff)
downloadipxe-1d77d032168bd495c53589cca596131a992473c4.tar.gz
ipxe-1d77d032168bd495c53589cca596131a992473c4.tar.xz
ipxe-1d77d032168bd495c53589cca596131a992473c4.zip
[tcpip] Allow for architecture-specific TCP/IP checksum routines
Calculating the TCP/IP checksum on received packets accounts for a substantial fraction of the response latency. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/include/bits/tcpip.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/x86/include/bits/tcpip.h b/src/arch/x86/include/bits/tcpip.h
new file mode 100644
index 000000000..9ae8d9205
--- /dev/null
+++ b/src/arch/x86/include/bits/tcpip.h
@@ -0,0 +1,12 @@
+#ifndef _BITS_TCPIP_H
+#define _BITS_TCPIP_H
+
+/** @file
+ *
+ * Transport-network layer interface
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#endif /* _BITS_TCPIP_H */