Home | History | Annotate | Download | only in rbootd

Lines Matching refs:RMPCONN

68 **  DispPkt -- Display the contents of an RMPCONN packet.
81 DispPkt(RMPCONN *rconn, int direct)
343 ** To save time, NewConn and FreeConn maintain a cache of one RMPCONN
347 static RMPCONN *LastFree = NULL;
350 ** NewConn -- allocate memory for a new RMPCONN connection.
356 ** Ptr to new RMPCONN or NULL if we ran out of memory.
359 ** - Memory may be malloc'd for the new RMPCONN (if not cached).
362 RMPCONN *
363 NewConn(RMPCONN *rconn)
365 RMPCONN *rtmp;
368 if ((rtmp = (RMPCONN *) malloc(sizeof(RMPCONN))) == NULL) {
373 } else { /* use the cached RMPCONN */
382 memmove((char *)rtmp, (char *)rconn, sizeof(RMPCONN));
390 ** FreeConn -- Free memory associated with an RMPCONN connection.
393 ** rtmp - ptr to RMPCONN to be free'd.
403 FreeConn(RMPCONN *rtmp)
420 ** FreeConns -- free linked list of RMPCONN connections.
439 RMPCONN *rtmp;
463 ** - RmpConn will point to new connection.
469 AddConn(RMPCONN *rconn)
495 RMPCONN *
496 FindConn(RMPCONN *rconn)
498 RMPCONN *rtmp;
518 ** - If found, an RMPCONN will cease to exist and it will
525 RemoveConn(RMPCONN *rconn)
527 RMPCONN *thisrconn, *lastrconn;