Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 16:42:07 -0600
From:      Randall Stewart <rrs@cisco.com>
To:        itojun@iijlab.net
Cc:        Jonathan Lemon <jlemon@flugsvamp.com>, net@freebsd.org
Subject:   Re: SCTP code for FreeBSD
Message-ID:  <3AB92E3E.7E1E6AF8@cisco.com>
References:  <13878.985209928@coconut.itojun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
itojun@iijlab.net wrote:
> 
> >>I have put together IPV6/IPV4 code for SCTP in FreeBSD. I
> >>am entering the final stages of testing and I would like
> >>to contribute this if I can...
> >Great!
> >>Who should I contact too coordinate getting this in?
> >I'm willing to review the code and take responsibility for
> >getting the bits committed to the tree.
> 
>         as far as I heard 10 minutes ago, the code is part-kernel, part-
>         userland (udp-like socket grabs packets as is, daemon parses the
>         packet) and socket API shim is required for applications to use sctp.
>         it would be better we can see all-kernel implementation sooner,
>         that uses normal socket system calls.  otherwise it will be hard
>         for normal programmers to use it...
> 
> itojun
Yes,

So far I have NOT put all of SCTP into the kernel. This will take
considerably more time and more work. By putting just the former
deamon into the kernel it is possible to get a full implementation
including
the DNS name feature... 


In the next few weeks I will do a socket shim that can be put over
the top of this that matches

draft-stewart-sctpsocket-sigtran-02.txt 

And have the shim spin of a thread transparent to the user code. This
will
provide a pure socket interface and yet allow the library to still
function.

Down the road I will get the 3-4 months to put it all in the kernel..
but it
is quite a large job ... and I just don't have the cycles...

The only dis-advantage to my current scheme is the lack of the sockets
shim. Once
this is in place there should really be no performance difference
between
a kernel bound version and the current hy-bred...


R
-- 
Randall R. Stewart
Systems & Solutions Engineering
Cisco Systems Inc.
rrs@cisco.com 815-342-5222 or 815-477-2127

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB92E3E.7E1E6AF8>