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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html