@@ -206,7 +206,7 @@ void SctpSocket::listen(bool fork, bool reset, uint32_t requests, uint32_t messa
206206 sockstate = LISTENING ;
207207}
208208
209- void SctpSocket::listen (uint32_t requests, bool fork, uint32_t messagesToPush, bool options, int32_t fd)
209+ void SctpSocket::listen (uint32_t requests, bool fork, uint32_t messagesToPush, bool options, int fd)
210210{
211211 if (sockstate != CLOSED )
212212 throw cRuntimeError (sockstate == NOT_BOUND ?
@@ -236,7 +236,7 @@ void SctpSocket::listen(uint32_t requests, bool fork, uint32_t messagesToPush, b
236236 sockstate = LISTENING ;
237237}
238238
239- void SctpSocket::connect (L3Address remoteAddress, int32_t remotePort, bool streamReset, int32_t prMethod, uint32_t numRequests)
239+ void SctpSocket::connect (L3Address remoteAddress, int remotePort, bool streamReset, int prMethod, uint32_t numRequests)
240240{
241241 EV_INFO << " Socket connect. Assoc=" << assocId << " , sockstate=" << stateName (sockstate) << " \n " ;
242242
@@ -279,7 +279,7 @@ void SctpSocket::connect(L3Address remoteAddress, int32_t remotePort, bool strea
279279 sockstate = CONNECTING ;
280280}
281281
282- void SctpSocket::connect (int32_t fd, L3Address remoteAddress, int32_t remotePort, uint32_t numRequests, bool options)
282+ void SctpSocket::connect (int fd, L3Address remoteAddress, int remotePort, uint32_t numRequests, bool options)
283283{
284284 EV_INFO << " Socket connect. Assoc=" << assocId << " , sockstate=" << stateName (sockstate) << " \n " ;
285285
@@ -322,7 +322,7 @@ void SctpSocket::connect(int32_t fd, L3Address remoteAddress, int32_t remotePort
322322 sockstate = CONNECTING ;
323323}
324324
325- void SctpSocket::accept (int32_t assId, int32_t fd)
325+ void SctpSocket::accept (int assId, int fd)
326326{
327327 Request *cmsg = new Request (" Accept" , SCTP_C_ACCEPT );
328328 auto cmd = cmsg->addTag <SctpCommandReq>();
@@ -343,7 +343,7 @@ void SctpSocket::acceptSocket(int newSockId)
343343 check_and_cast<cSimpleModule *>(gateToSctp->getOwnerModule ())->send (cmsg, gateToSctp);
344344}
345345
346- void SctpSocket::connectx (AddressVector remoteAddressList, int32_t remotePort, bool streamReset, int32_t prMethod, uint32_t numRequests)
346+ void SctpSocket::connectx (AddressVector remoteAddressList, int remotePort, bool streamReset, int prMethod, uint32_t numRequests)
347347{
348348 EV_INFO << " Socket connectx. sockstate=" << stateName (sockstate) << " \n " ;
349349 remoteAddresses = remoteAddressList;
0 commit comments