Home
last modified time | relevance | path

Searched refs:send_buf (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluez/tools/
Dl2ping.c77 unsigned char *send_buf; in ping() local
87 send_buf = malloc(L2CAP_CMD_HDR_SIZE + size); in ping()
89 if (!send_buf || !recv_buf) { in ping()
135 send_buf[L2CAP_CMD_HDR_SIZE + i] = (i % 40) + 'A'; in ping()
141 l2cap_cmd_hdr *send_cmd = (l2cap_cmd_hdr *) send_buf; in ping()
156 if (send(sk, send_buf, L2CAP_CMD_HDR_SIZE + size, 0) <= 0) { in ping()
223 if (memcmp(&send_buf[L2CAP_CMD_HDR_SIZE], in ping()
243 free(send_buf); in ping()
249 free(send_buf); in ping()
/external/quake/quake/src/QW/client/
Dnet_chan.c116 byte send_buf[MAX_MSGLEN + PACKET_HEADER]; in Netchan_OutOfBand() local
119 send.data = send_buf; in Netchan_OutOfBand()
120 send.maxsize = sizeof(send_buf); in Netchan_OutOfBand()
226 byte send_buf[MAX_MSGLEN + PACKET_HEADER]; in Netchan_Transmit() local
258 send.data = send_buf; in Netchan_Transmit()
259 send.maxsize = sizeof(send_buf); in Netchan_Transmit()
/external/wpa_supplicant/
Dctrl_iface_named_pipe.c288 char *reply = NULL, *send_buf; in wpa_supplicant_ctrl_iface_rx() local
317 send_buf = reply; in wpa_supplicant_ctrl_iface_rx()
320 send_buf = "OK\n"; in wpa_supplicant_ctrl_iface_rx()
323 send_buf = "FAIL\n"; in wpa_supplicant_ctrl_iface_rx()
334 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_ctrl_iface_rx()
722 char *reply = NULL, *send_buf; in wpa_supplicant_global_iface_rx() local
734 send_buf = reply; in wpa_supplicant_global_iface_rx()
737 send_buf = "FAIL\n"; in wpa_supplicant_global_iface_rx()
752 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_global_iface_rx()
/external/wpa_supplicant_6/wpa_supplicant/
Dctrl_iface_named_pipe.c288 char *reply = NULL, *send_buf; in wpa_supplicant_ctrl_iface_rx() local
317 send_buf = reply; in wpa_supplicant_ctrl_iface_rx()
320 send_buf = "OK\n"; in wpa_supplicant_ctrl_iface_rx()
323 send_buf = "FAIL\n"; in wpa_supplicant_ctrl_iface_rx()
334 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_ctrl_iface_rx()
723 char *reply = NULL, *send_buf; in wpa_supplicant_global_iface_rx() local
735 send_buf = reply; in wpa_supplicant_global_iface_rx()
738 send_buf = "FAIL\n"; in wpa_supplicant_global_iface_rx()
753 os_memcpy(dst->rsp_buf, send_buf, send_len); in wpa_supplicant_global_iface_rx()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_web.c726 goto send_buf; in web_connection_parse_get()
767 send_buf: in web_connection_parse_get()