Lines Matching refs:rep
189 struct ng_mesg rep; in NgSendReplyMsg() local
192 rep = *msg; in NgSendReplyMsg()
193 rep.header.flags = NGF_RESP; in NgSendReplyMsg()
196 return (NgDeliverMsg(cs, path, &rep, args, arglen)); in NgSendReplyMsg()
290 NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path) in NgRecvMsg() argument
298 len = recvfrom(cs, rep, replen, 0, (struct sockaddr *) sg, &sglen); in NgRecvMsg()
311 (rep->header.flags & NGF_RESP) ? "RESPONSE" : "MESSAGE"); in NgRecvMsg()
313 _NgDebugMsg(rep, sg->sg_data); in NgRecvMsg()
328 NgAllocRecvMsg(int cs, struct ng_mesg **rep, char *path) in NgAllocRecvMsg() argument
340 (*rep = malloc(len)) == NULL) in NgAllocRecvMsg()
342 if ((len = NgRecvMsg(cs, *rep, len, path)) < 0) in NgAllocRecvMsg()
343 free(*rep); in NgAllocRecvMsg()