Lines Matching refs:iceConn

45 static int PMprotocolSetupProc ( IceConn iceConn, int majorVersion, 
266 PMprotocolSetupProc(IceConn iceConn, int majorVersion, int minorVersion,
287 pmConn->iceConn = iceConn;
312 IceConn iceConn = pmConn->iceConn;
319 IceConnectionNumber(iceConn), serviceName, serverAddress);
334 IceGetHeaderExtra (iceConn, pmConn->pmOpcode, PM_GetProxyAddr,
350 IceFlush (iceConn);
376 IceGetHeaderExtra (requestor->iceConn,
386 IceFlush (requestor->iceConn);
393 PMReplyProcessMessages(IceConn iceConn, IcePointer clientData, int opcode,
399 assert(pmConn->iceConn == iceConn);
413 CHECK_AT_LEAST_SIZE (iceConn, pmConn->pmOpcode, opcode,
417 IceReadCompleteMessage (iceConn, SIZEOF (pmGetProxyAddrMsg),
420 if (!IceValidIO (iceConn))
422 IceDisposeCompleteMessage (iceConn, pStart);
440 CHECK_COMPLETE_SIZE (iceConn, pmConn->pmOpcode, opcode,
485 retVal = getpeername(IceConnectionNumber(iceConn),
538 IceDisposeCompleteMessage (iceConn, pStart);
566 CHECK_AT_LEAST_SIZE (iceConn, pmConn->pmOpcode, opcode,
570 IceReadCompleteMessage (iceConn, SIZEOF (pmStartProxyMsg),
573 if (!IceValidIO (iceConn))
575 IceDisposeCompleteMessage (iceConn, pStart);
583 CHECK_COMPLETE_SIZE (iceConn, pmConn->pmOpcode, opcode,
595 IceConnectionNumber(iceConn), serviceName);
597 IceDisposeCompleteMessage (iceConn, pStart);
603 IceCloseConnection (iceConn);
639 CHECK_AT_LEAST_SIZE (iceConn, pmConn->pmOpcode, opcode,
643 IceReadCompleteMessage (iceConn, SIZEOF (pmGetProxyAddrReplyMsg),
646 if (!IceValidIO (iceConn))
648 IceDisposeCompleteMessage (iceConn, pStart);
657 CHECK_COMPLETE_SIZE (iceConn, pmConn->pmOpcode, opcode,
668 IceConnectionNumber(iceConn), pMsg->status);
682 IceConnectionNumber(iceConn));
684 IceDisposeCompleteMessage (iceConn, pStart);
813 IceDisposeCompleteMessage (iceConn, pStart);
843 CHECK_AT_LEAST_SIZE (iceConn, pmConn->pmOpcode, PM_Error, length,
846 IceReadCompleteMessage (iceConn, SIZEOF (iceErrorMsg),
849 if (!IceValidIO (iceConn))
851 IceDisposeCompleteMessage (iceConn, pStart);
865 IceDisposeCompleteMessage (iceConn, pStart);
872 _IceErrorBadMinor (iceConn, pmConn->pmOpcode, opcode, IceCanContinue);
873 _IceReadSkip (iceConn, length << 3);
880 PMSetupProcessMessages(IceConn iceConn, IcePointer clientData, int opcode,
887 PMReplyProcessMessages (iceConn, clientData, opcode, length, swap);