Lines Matching refs:rep
167 struct ng_mesg rep; in NgSendReplyMsg() local
170 rep = *msg; in NgSendReplyMsg()
171 rep.header.flags = NGF_RESP; in NgSendReplyMsg()
174 return (NgDeliverMsg(cs, path, &rep, args, arglen)); in NgSendReplyMsg()
266 NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path) in NgRecvMsg() argument
274 len = recvfrom(cs, rep, replen, 0, (struct sockaddr *) sg, &sglen); in NgRecvMsg()
287 (rep->header.flags & NGF_RESP) ? "RESPONSE" : "MESSAGE"); in NgRecvMsg()
289 _NgDebugMsg(rep, sg->sg_data); in NgRecvMsg()
304 NgAllocRecvMsg(int cs, struct ng_mesg **rep, char *path) in NgAllocRecvMsg() argument
311 (*rep = malloc(len)) == NULL) in NgAllocRecvMsg()
313 if ((len = NgRecvMsg(cs, *rep, len, path)) < 0) in NgAllocRecvMsg()
314 free(*rep); in NgAllocRecvMsg()