From 47931a4de53ccdeda061c59aa0919f152cf0dfdf Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 10 May 2016 17:13:05 +0100 Subject: [arm] Add optimised TCP/IP checksumming for 64-bit ARM Signed-off-by: Michael Brown --- src/arch/arm64/include/bits/tcpip.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/arch/arm64/include/bits/tcpip.h (limited to 'src/arch/arm64/include/bits') diff --git a/src/arch/arm64/include/bits/tcpip.h b/src/arch/arm64/include/bits/tcpip.h new file mode 100644 index 000000000..68686534e --- /dev/null +++ b/src/arch/arm64/include/bits/tcpip.h @@ -0,0 +1,15 @@ +#ifndef _BITS_TCPIP_H +#define _BITS_TCPIP_H + +/** @file + * + * Transport-network layer interface + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +extern uint16_t tcpip_continue_chksum ( uint16_t sum, const void *data, + size_t len ); + +#endif /* _BITS_TCPIP_H */ -- cgit v1.2.3-55-g7522