SCTP Discussions

Text archives Help


[SCTP-Discussion] SCTP-API: Pointer instead of AssociationID


Chronological Thread 
  • From: Schruefer Wolfgang <Wolfgang.Schruefer AT icn.siemens.de>
  • To: "'discussion AT sctp.de'" <discussion AT sctp.de>
  • Cc: Raisch Juergen <Juergen.Raisch AT icn.siemens.de>
  • Subject: [SCTP-Discussion] SCTP-API: Pointer instead of AssociationID
  • Date: Wed Feb 14 11:13:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all,

we have a future requirement to handle 12000! associations at one machine.

So I thought about the search algorithm to get the data related to a single
association, which is necessary for the most function calls between ULP and
SCTP.

But at the interface SCTP <> ULP any searching could be avoided if there is a
possibility to define an association via address.


Idea:
The function sctp_associate returns the address of the
SCTP-association-data-structure.
A new parameter announces the ULP-association-data-structure to sctp, e.g.:

void *sctp_associate ( ...
..., void *ULP_association)

For all API-functions the associationID can be replaced by the pointer to the
association of the called layer.


Would this be a way to go for?

Viele Grüße
Wolfgang Schrüfer

**************************************
Wolfgang Schrüfer SIEMENS AG
ICN WN CC EKJ 14 TEL: 722-61646
mailto:Wolfgang.Schruefer AT icn.siemens.de
**************************************





Archive powered by MHonArc 2.6.19+.

Top of page