SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] a doubt... about sctp network interface status


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
  • To: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • Cc: Dino Korah <dckorah AT gmail.com>, discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] a doubt... about sctp network interface status
  • Date: Sat Oct 9 23:02:04 2004
  • List-id: SCTP Discussions <discussion.sctp.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag, 9. Oktober 2004 19:51 schrieb Michael Tuexen:
> Hi Dino,
>
> I do not understand exactly what you want to do and what the
> Linux SCTP programming API is. I assume that you mean the
> socket API. If you want to know the status of the interfaces
> you can do this by using the socket API, you might want to
> look at the gatherlocaladdresses function in adaptation.c
> of the sctplib. If you want to know the status of the paths
> of a particular SCTP association you can do this also with
> a socket option or by simply subscribing to the relevant
> notifications.
>
> Best regards
> Michael
>
> On Oct 8, 2004, at 11:15 Uhr, Dino Korah wrote:
> > Hi pals,
> >
> > Please lemme know any ideas about this......
> >
> > I would like to know whether there is any way by which I can use Linux
> > SCTP programming interface to keep track of the network interfaces
> > that are up and to know the heartbeat status (whether connectivity to)
> > of the current SCTP associations. My idea is to find the interfaces
> > that are available for various associations and show them in a
> > monitoring tool.

The SCTP socket API is described in this draft:
http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-sctpsocket-09.txt
You can find out the status of the different SCTP paths used for an
association, given by their transport addresses. If you want to map these
paths to network interfaces (eth0, eth1, ppp0, lo, etc.), you have to obtain
the interfaces' addresses from the kernel (like ifconfig, for example), and
compare them to the SCTP paths' addresses.


Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
Molbachweg 7
D-51674 Wiehl-Forst Mail:
dreibh AT exp-math.uni-essen.de
Germany WWW: http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBaClh32BbsHYPLWURAkxUAJoD10pOlUdZzxBoV7CSCRug8+wOvgCgqJpu
p/MP86UTiaY/PAoQ8zLISrc=
=azSQ
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page