1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * Copyright (c) 2010-2011, The Linux Foundati 4 */ 5 6 #ifndef _ASM_CHECKSUM_H 7 #define _ASM_CHECKSUM_H 8 9 #define do_csum do_csum 10 unsigned int do_csum(const void *voidptr, int 11 12 /* 13 * computes the checksum of the TCP/UDP pseudo 14 * returns a 16-bit checksum, already compleme 15 */ 16 #define csum_tcpudp_nofold csum_tcpudp_nofold 17 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 18 __u32 len, __u8 prot 19 20 #define csum_tcpudp_magic csum_tcpudp_magic 21 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 22 __u32 len, __u8 prot 23 24 #include <asm-generic/checksum.h> 25 26 #endif 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.