- From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
- To: "'Thorbjørn Jørgensen'" <thjo02 AT kom.auc.dk>
- Cc: discussion AT sctp.de
- Subject: Re: [SCTP-Discussion] Unexpected timegap...
- Date: Thu Jun 10 15:22:01 2004
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University Duisburg-Essen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Forgot to mention one thing:
>
>
> Another (shorter) question: Is there a plan for when ADD_IP and DELETE_IP
>
> to/from an association will be implemented into sctplib?
>
>
Depending on the OS you are using, 1.1.6 *does* support the ADD-IP
>
extension. However, the API may not be clear or obvious. The registered
>
SCTP instances are notified by the routing socket when the IP addresses of
>
a host system change.
>
>
If you register the SCTP instance with a local address of INADDR_ANY,
>
and simply do an "ifconfig eth1 blablabla up" (assuming this command
>
correctly configures the new interface/address), and both sides support
>
ADD-IP, then you should be able to trace an ADD-IP chunk (e.g. by using
>
ethereal).
You also need to enable the ADD-IP extension in the library parameters,
something like this (extension to a code snippet from terminal.c) :
SCTP_getLibraryParameters(¶ms);
params.sendOotbAborts = sendOOTBAborts;
params.supportPRSCTP = 1;
params.supportADDIP = 1;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
params.checksumAlgorithm = SCTP_CHECKSUM_ALGORITHM_CRC32C;
SCTP_setLibraryParameters(¶ms);
Let me know if that all helps,
best regards,
Andreas
- --
Dipl.-Ing. Andreas Jungmaier
Computer Networking Technology Group
University of Duisburg-Essen
http://www.exp-math.uni-essen.de/~ajung
PGP Key-ID: D382 4AC0
PGP Key-Fingerprint: 228C 7C2C 3381 2DD4 9998 2812 5C0B 0B04 D382 4AC0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAyF91XAsLBNOCSsARAuQDAKDwNrX60ak8C6S8yA4oOUw+umDXyACgp+Ic
Wx3TI2WaIuc9hkYZnOy1hMo=
=fIxA
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.