From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: Jijo Chacko <consultant.bangalore@gmail.com>
Cc: netdev@vger.kernel.org, herbert@gondor.apana.org.au,
lksctp-developers@lists.sourceforge.net
Subject: Re: [GIT PULL] SCTP bug fixes for net-2.6
Date: Wed, 12 Dec 2007 10:30:47 -0500 [thread overview]
Message-ID: <475FFEA7.90005@hp.com> (raw)
In-Reply-To: <b7f21edd0712112229l6219c835w466d8bf43390cf3a@mail.gmail.com>
Jijo Chacko wrote:
>
> Hello experts,
>
> [ sorry if my questions are irrelevent to any one of you ].
>
> I am trying to develop a frame work, where i transport all HTTP traffic
> over SCTP. On user space, i can do this easily over SCTP, BSD-style
> sockets. If i am to write a kernel module(say in-kernel web
> client/server) using kernel version of SCTP interfaces, what are the
> available calls now supported ? I see in-kernel implementation like
> NFS/RPC make kernel version of UDP and TCP _sendmsg, i don't find
> similar interfaces for SCTP..
Look at fs/dlm/lowcomms.c
All you need to do is use IPPROTO_SCTP when creating a socket in
the kernel and then I believe you can use all the same calls as TCP/UDP.
-vlad
prev parent reply other threads:[~2007-12-12 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 15:45 [GIT PULL] SCTP bug fixes for net-2.6 Vlad Yasevich
2007-11-30 12:29 ` Herbert Xu
[not found] ` <b7f21edd0712112229l6219c835w466d8bf43390cf3a@mail.gmail.com>
2007-12-12 15:30 ` Vlad Yasevich [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=475FFEA7.90005@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=consultant.bangalore@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=lksctp-developers@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
/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).