Lines Matching +full:com +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 1999-2001 Motorola, Inc.
4 * Copyright (c) 2001-2003 International Business Machines, Corp.
12 * lksctp developers <linux-sctp@vger.kernel.org>
16 * Jon Grimm <jgrimm@us.ibm.com>
17 * Sridhar Samudrala <sri@us.ibm.com>
20 * Vlad Yasevich <vladislav.yasevich@hp.com>
40 int offset, int len) in sctp_csum_combine() argument
52 unsigned int offset) in sctp_compute_cksum() argument
54 struct sctphdr *sh = (struct sctphdr *)(skb->data + offset); in sctp_compute_cksum()
55 __le32 old = sh->checksum; in sctp_compute_cksum()
58 sh->checksum = 0; in sctp_compute_cksum()
59 new = ~__skb_checksum(skb, offset, skb->len - offset, ~(__wsum)0, in sctp_compute_cksum()
61 sh->checksum = old; in sctp_compute_cksum()