API Reference Manual  1.45.0
spec/chksum.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2017-2018 Linaro Limited
3  */
4 
11 #ifndef ODP_API_SPEC_CHKSUM_H_
12 #define ODP_API_SPEC_CHKSUM_H_
13 #include <odp/visibility_begin.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <odp/api/std_types.h>
20 
40 uint16_t odp_chksum_ones_comp16(const void *data, uint32_t data_len);
41 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #include <odp/visibility_end.h>
51 #endif
Standard C language types and definitions for ODP.
uint16_t odp_chksum_ones_comp16(const void *data, uint32_t data_len)
Ones' complement sum of 16-bit words.