Re: socket interface to a new protocol

From: devnetfs (devnetfs@yahoo.com)
Date: Thu Nov 21 2002 - 13:22:06 EST


--- Nivedita Singhvi <niv@us.ibm.com> wrote:
> > > Have you looked at SCTP?
> > Yes.
> >
> > But I am more interested in 'how-to' provide socket interface
> > to a new procotol [read: of new domain/type than mentioned in
> > socket(2)]
> > Also this protocol will be a kernel-module.
>
> I was referring to its kernel implementation in Linux and
> its adaption of the socket interface for its own needs..
Ok I get it.

> Although its still an AF_INET protocol, looking at it
> perhaps along with any of the other non-AF_INET protocols
> in the net dir for the minor diffs should probably be
> enough for your needs?
Yes you are right. Looked briefly at the SCTP code and it seems to
do pretty much what i wanted to do.

Will study SCTP and related code in more detail to bug you all further!

Thanks a lot for the info :)
Abhi.

>
> thanks,
> Nivedita

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:01 EST