diff options
| author | Michael Brown | 2016-05-04 14:30:37 +0200 |
|---|---|---|
| committer | Michael Brown | 2016-05-04 14:38:25 +0200 |
| commit | 1e066431a45a67321abcd134e888205fc633bd41 (patch) | |
| tree | b627341e05eae7cdd99fc5ce6dfd9cb8ef218e0a /src/arch/x86/include | |
| parent | [build] Remove unnecessary dependency on zlib (diff) | |
| download | ipxe-1e066431a45a67321abcd134e888205fc633bd41.tar.gz ipxe-1e066431a45a67321abcd134e888205fc633bd41.tar.xz ipxe-1e066431a45a67321abcd134e888205fc633bd41.zip | |
[tcpip] Do not fall back to using unoptimised TCP/IP checksumming
Require architecture-specific code to make a deliberate choice to use
the unoptimised generic_tcpip_continue_chksum() function, if there is
no optimised version available.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include')
| -rw-r--r-- | src/arch/x86/include/bits/tcpip.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/x86/include/bits/tcpip.h b/src/arch/x86/include/bits/tcpip.h index 5c2baffcf..0ac55b1a0 100644 --- a/src/arch/x86/include/bits/tcpip.h +++ b/src/arch/x86/include/bits/tcpip.h @@ -9,9 +9,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); -extern uint16_t x86_tcpip_continue_chksum ( uint16_t partial, - const void *data, size_t len ); - -#define tcpip_continue_chksum x86_tcpip_continue_chksum +extern uint16_t tcpip_continue_chksum ( uint16_t partial, const void *data, + size_t len ); #endif /* _BITS_TCPIP_H */ |
