Home
last modified time | relevance | path

Searched refs:replydata (Results 1 – 6 of 6) sorted by relevance

/external/iputils/ninfod/
Dninfod_core.c287 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 …]
Dninfod_addrs.c257 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()
Dninfod_name.c380 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()
Dninfod.h69 char *replydata; /* data */ member
Dninfod.c345 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()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c762 char *replydata; in web_connection_send_reply() local
768 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()