Lines Matching refs:reply

200 	char *reply = NULL;  in slp_uc_udp_send()  local
228 if (!reply && !(reply = malloc(mtu))) { in slp_uc_udp_send()
261 if (recvfrom(sockfd, reply, mtu, 0, NULL, NULL) < 0) { in slp_uc_udp_send()
264 free(reply); reply = NULL; in slp_uc_udp_send()
273 slp_proto_err errcode = slp_get_errcode(reply); in slp_uc_udp_send()
291 free(reply); reply = NULL; in slp_uc_udp_send()
306 if (reply) free(reply); in slp_uc_udp_send()
310 if (reply) { in slp_uc_udp_send()
311 if (slp_get_overflow(reply)) in slp_uc_udp_send()
315 (void) slp_enqueue(hp->q, reply); in slp_uc_udp_send()
460 char *reply, header[SLP_DEFAULT_SENDMTU]; in tcp_thread() local
488 reply = NULL; in tcp_thread()
537 if ((slp_tcp_read(tcp_sockfd, &reply)) == SLP_OK) { in tcp_thread()
549 if (reply) { in tcp_thread()
550 free(reply); in tcp_thread()
554 (void) slp_enqueue(hp->q, reply); in tcp_thread()
575 SLPError slp_tcp_read(int sockfd, char **reply) { in slp_tcp_read() argument
601 if (!(*reply = malloc(len))) { in slp_tcp_read()
605 (void) memcpy(*reply, lenbuf, 5); in slp_tcp_read()
609 p = *reply + 5; in slp_tcp_read()
615 free(*reply); in slp_tcp_read()
1013 char *reply = NULL; in mc_recvmsg() local
1042 if (!reply && !(reply = malloc(mtu))) { in mc_recvmsg()
1046 if (recvfrom(pfd[i].fd, reply, mtu, 0, in mc_recvmsg()
1052 free(reply); reply = NULL; in mc_recvmsg()
1065 if (slp_get_overflow(reply)) { in mc_recvmsg()
1074 (void) slp_enqueue(hp->q, reply); in mc_recvmsg()
1077 reply = NULL; in mc_recvmsg()
1098 if (reply) { in mc_recvmsg()
1099 free(reply); in mc_recvmsg()