Searched refs:replydata (Results 1 – 6 of 6) sorted by relevance
287 p->replydata = ni_malloc(p->replydatalen); in pr_nodeinfo_suptypes()288 if (p->replydata == NULL) { in pr_nodeinfo_suptypes()293 memcpy(p->replydata, suptypes, p->replydatalen); in pr_nodeinfo_suptypes()344 p->replydata = NULL; in pr_nodeinfo_unknown()362 p->replydata = NULL; in pr_nodeinfo_refused()470 ni_free(p->replydata); in ni_send_fork()475 ni_free(p->replydata); in ni_send_fork()620 ni_free(p->replydata); in pr_nodeinfo()621 p->replydata = NULL; in pr_nodeinfo()653 ni_free(p->replydata); in pr_nodeinfo()[all …]
257 p->replydata = p->replydatalen ? ni_malloc(p->replydatalen) : NULL; in pr_nodeinfo_ipv6addr()259 if (p->replydatalen && !p->replydata) { in pr_nodeinfo_ipv6addr()292 cp = p->replydata + in pr_nodeinfo_ipv6addr()417 p->replydata = addrs0 ? ni_malloc(p->replydatalen) : NULL; in pr_nodeinfo_ipv4addr()419 if (p->replydatalen && !p->replydata) { in pr_nodeinfo_ipv4addr()453 cp = (p->replydata + in pr_nodeinfo_ipv4addr()
380 p->replydata = nodenamelen ? ni_malloc(p->replydatalen) : NULL; in pr_nodeinfo_nodename()381 if (p->replydata) { in pr_nodeinfo_nodename()382 memcpy(p->replydata, &ttl, sizeof(ttl)); in pr_nodeinfo_nodename()383 memcpy(p->replydata + sizeof(ttl), &nodename, nodenamelen); in pr_nodeinfo_nodename()
69 char *replydata; /* data */ member
345 iov[1].iov_base = p->replydata; in ni_send()352 msgh.msg_iovlen = p->replydata ? 2 : 1; in ni_send()386 ni_free(p->replydata); in ni_send()
762 char *replydata; in web_connection_send_reply() local768 replydata = base64_encode(wpabuf_head(reply), wpabuf_len(reply), in web_connection_send_reply()771 replydata = NULL; in web_connection_send_reply()778 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply()783 os_free(replydata); in web_connection_send_reply()825 if (replydata && replyname) { in web_connection_send_reply()832 wpabuf_put_str(buf, replydata); in web_connection_send_reply()847 os_free(replydata); in web_connection_send_reply()