netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sridhar Samudrala <sri@us.ibm.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: Clay Haapala <chaapala@cisco.com>,
	lksctp-developers@lists.sourceforge.net, netdev@oss.sgi.com,
	linux-kernel@vger.kernel.org
Subject: Re: SCTP: use lib/libcrc32c.c instead of net/sctp/crc32c.c?
Date: Fri, 13 May 2005 18:01:27 -0700	[thread overview]
Message-ID: <42854DE7.5030704@us.ibm.com> (raw)
In-Reply-To: <20050513135004.GG3603@stusta.de>

Adrian Bunk wrote:

>As far as I understand it, lib/libcrc32c.c could be used instead of the 
>similar code in net/sctp/crc32c.c .
>
>Is there any reason why this isn't done?
>  
>
The SCTP RFC3309 says that SCTP uses a tranport-level CRC where the bit
ordering is mirrored and different from link-level CRC.

The CRC is computed using a procedure similar to ETHERNET CRC [ITU32],
modified to reflect transport level usage.

So I am not sure if we can use the libcrc32c routines for calculating SCTP
crc32 checksum. But if it is possible, we should definitely use the crc32
library.

Thanks
Sridhar

      reply	other threads:[~2005-05-14  1:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 13:50 SCTP: use lib/libcrc32c.c instead of net/sctp/crc32c.c? Adrian Bunk
2005-05-14  1:01 ` Sridhar Samudrala [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42854DE7.5030704@us.ibm.com \
    --to=sri@us.ibm.com \
    --cc=bunk@stusta.de \
    --cc=chaapala@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lksctp-developers@lists.sourceforge.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).