SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] sctplib and lksctp


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Farhan Siddiqui <farhansi AT gmail.com>
  • Cc: Thomas Dreibholz <dreibh AT iem.uni-due.de>, discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] sctplib and lksctp
  • Date: Thu Oct 6 20:32:21 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Farhan,

you get the SCTP implementation as a kernel loadable module. But you also
need a library for calls like sctp_sendmsg and so on which is from LKSCTP.
You also need some header files (netinet/sctp.h) when you want to develop
SCTP applications.

Best regards
Michael

On Oct 6, 2005, at 19:06 Uhr, Farhan Siddiqui wrote:

Hi,
 
Thanks for the replies. I plan to use the latest version of lksctp (2.6.13). There is another thing that I want to know. When I installed the new kernel version 2.6, and booted to it, I was able to load the sctp module even without installing lksctp. Does that mean that sctp is now part of the kernel and I do not need lksctp, or does it mean that the kernel has sctp support and I need to install lksctp to actually communicate using sctp sockets?
 
Kindly let me know.
 
Regards,
farhan

 
On 10/6/05, Thomas Dreibholz <dreibh AT iem.uni-due.de> wrote: -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 05 October 2005 16:58, Michael Tuexen wrote:
> Hi Farhan,
>
> I'm not sure if you can have a 2.4 and a 2.6 kernel on one machine.

Yes, it is possible. You need a bootloader like grub or lilo to select a
kernel at boot time, of course. But I am not sure if the lksctp
implementation for kernel 2.4 is in a usable state, since I assume it to be
quite old.


> The kernel SCTP in 2.6 is a loadable module. So after rebooting you can
> just use the sctplib or load the SCTP module and can not use the
> sctplib anymore.
> Unloading the SCTP module enables you to use the userland sctplib again.

You have to unload the module with "rmmod -f sctp". -f forces unloading. Note,
that this may crash your maschine.


Best regards
- --
====================================================================== =
Dipl.-Inform. Thomas Dreibholz

University of Essen,                            Room ES210
Inst. for Experimental Mathematics              Ellernstraße 29
Computer Networking Technology Group            D-45326 Essen/Germany
- ---------------------------------------------------------------------- -
E-Mail:    
dreibh AT exp-math.uni-essen.de
Homepage:   http://www.exp-math.uni-essen.de/~dreibh
====================================================================== =
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDROAN32BbsHYPLWURAon2AJ4qlNKTEYT71SiyhiAV1jnbRScfcACfQqPe
gDzjPoLHaMMtf0QuySkChIY=
=BqcP
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.19+.

Top of page