Home
last modified time | relevance | path

Searched refs:wpabuf_put_str (Results 1 – 20 of 20) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c189 wpabuf_put_str(buf, wps_device_xml_prefix); in format_wps_device_xml()
231 wpabuf_put_str(buf, "<UDN>uuid:"); in format_wps_device_xml()
233 wpabuf_put_str(buf, "</UDN>\n"); in format_wps_device_xml()
238 wpabuf_put_str(buf, wps_device_xml_postfix); in format_wps_device_xml()
244 wpabuf_put_str(buf, "HTTP/1.1 "); in http_put_reply_code()
247 wpabuf_put_str(buf, "200 OK\r\n"); in http_put_reply_code()
250 wpabuf_put_str(buf, "400 Bad request\r\n"); in http_put_reply_code()
253 wpabuf_put_str(buf, "412 Precondition failed\r\n"); in http_put_reply_code()
256 wpabuf_put_str(buf, "501 Unimplemented\r\n"); in http_put_reply_code()
260 wpabuf_put_str(buf, "500 Internal server error\r\n"); in http_put_reply_code()
[all …]
Dupnp_xml.c127 wpabuf_put_str(buf, "&lt;"); in xml_data_encode()
131 wpabuf_put_str(buf, "&gt;"); in xml_data_encode()
135 wpabuf_put_str(buf, "&amp;"); in xml_data_encode()
139 wpabuf_put_str(buf, "&apos;"); in xml_data_encode()
143 wpabuf_put_str(buf, "&quot;"); in xml_data_encode()
Dwps_upnp_event.c154 wpabuf_put_str(buf, "SERVER: Unspecified, UPnP/1.0, Unspecified\r\n"); in event_build_message()
156 wpabuf_put_str(buf, "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n" in event_build_message()
159 wpabuf_put_str(buf, "SID: uuid:"); in event_build_message()
163 wpabuf_put_str(buf, "\r\n"); in event_build_message()
167 wpabuf_put_str(buf, "\r\n"); /* terminating empty line */ in event_build_message()
Dwps_upnp_ssdp.c141 wpabuf_put_str(msg, "NOTIFY * HTTP/1.1\r\n"); in next_advertisement()
152 wpabuf_put_str(msg, "HTTP/1.1 200 OK\r\n"); in next_advertisement()
156 wpabuf_put_str(msg, "DATE: "); in next_advertisement()
158 wpabuf_put_str(msg, "\r\n"); in next_advertisement()
160 wpabuf_put_str(msg, "EXT:\r\n"); in next_advertisement()
179 wpabuf_put_str(msg, "SERVER: Unspecified, UPnP/1.0, Unspecified\r\n"); in next_advertisement()
204 wpabuf_put_str(msg, "\r\n"); in next_advertisement()
Dwps_upnp.c443 wpabuf_put_str(buf, "<e:property>"); in wpabuf_put_property()
446 wpabuf_put_str(buf, value); in wpabuf_put_property()
448 wpabuf_put_str(buf, "</e:property>\n"); in wpabuf_put_property()
513 wpabuf_put_str(buf, format_head); in upnp_wps_device_send_event()
515 wpabuf_put_str(buf, format_tail); in upnp_wps_device_send_event()
588 wpabuf_put_str(msg, "00:00:00:00:00:00"); in build_fake_wsc_ack()
667 wpabuf_put_str(buf, head); in subscription_first_event()
673 wpabuf_put_str(buf, tail); in subscription_first_event()
Dwps_er.c702 wpabuf_put_str(buf, "Date: "); in http_put_date()
704 wpabuf_put_str(buf, "\r\n"); in http_put_date()
717 wpabuf_put_str(buf, in wps_er_http_resp_not_found()
722 wpabuf_put_str(buf, "\r\n"); in wps_er_http_resp_not_found()
736 wpabuf_put_str(buf, in wps_er_http_resp_ok()
742 wpabuf_put_str(buf, "\r\n"); in wps_er_http_resp_ok()
936 wpabuf_put_str(buf, soap_prefix); in wps_er_soap_hdr()
938 wpabuf_put_str(buf, urn_wfawlanconfig); in wps_er_soap_hdr()
939 wpabuf_put_str(buf, "\">\n"); in wps_er_soap_hdr()
955 wpabuf_put_str(buf, soap_postfix); in wps_er_soap_end()
[all …]
Dwps_er_ssdp.c136 wpabuf_put_str(msg, in wps_er_send_ssdp_msearch()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c62 wpabuf_put_str(xml, "/>"); in add_arg()
166 wpabuf_put_str(xml, "</interface>"); in add_interfaces()
216 wpabuf_put_str(xml, "</method>"); in add_properties_interface()
221 wpabuf_put_str(xml, "</method>"); in add_properties_interface()
227 wpabuf_put_str(xml, "</method>"); in add_properties_interface()
229 wpabuf_put_str(xml, "</interface>"); in add_properties_interface()
264 wpabuf_put_str(xml, "<?xml version=\"1.0\"?>\n"); in wpa_dbus_introspect()
265 wpabuf_put_str(xml, DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE); in wpa_dbus_introspect()
266 wpabuf_put_str(xml, "<node>"); in wpa_dbus_introspect()
274 wpabuf_put_str(xml, "</node>\n"); in wpa_dbus_introspect()
/external/wpa_supplicant_8/tests/
Dtest-tls.c178 wpabuf_put_str(in, "PING"); in main()
204 wpabuf_put_str(in, "PONG"); in main()
/external/wpa_supplicant_8/src/ap/
Dgas_serv.c439 wpabuf_put_str(buf, realm->realm[realm_idx]); in anqp_add_nai_realm_data()
563 wpabuf_put_str(buf, realm->realm[j]); in anqp_add_nai_realm()
727 wpabuf_put_str(buf, icon->type); in anqp_add_icon()
729 wpabuf_put_str(buf, icon->name); in anqp_add_icon()
755 wpabuf_put_str(buf, p->server_uri); in anqp_add_osu_provider()
774 wpabuf_put_str(buf, p->osu_nai); in anqp_add_osu_provider()
828 wpabuf_put_str(buf, p->osu_nai2); in anqp_add_osu_provider_nai()
897 wpabuf_put_str(buf, icon->type); in anqp_add_icon_binary_file()
Dhs20.c224 wpabuf_put_str(buf, url); in hs20_send_wnm_notification_t_c()
Ddpp_hostapd.c1018 wpabuf_put_str(msg, connector); in hostapd_dpp_send_peer_disc_resp()
1028 wpabuf_put_str(msg, hapd->conf->dpp_connector); in hostapd_dpp_send_peer_disc_resp()
/external/wpa_supplicant_8/src/utils/
Dbrowser-wpadebug.c55 wpabuf_put_str(resp, "HTTP/1.1\r\n\r\nUser input completed"); in http_req()
Dwpabuf.h159 static inline void wpabuf_put_str(struct wpabuf *dst, const char *str) in wpabuf_put_str() function
/external/wpa_supplicant_8/src/common/
Ddpp.c4404 wpabuf_put_str(buf, "{\"wi-fi_tech\":\"infra\",\"discovery\":"); in dpp_build_conf_start()
4409 wpabuf_put_str(buf, auth->discovery_override); in dpp_build_conf_start()
4414 wpabuf_put_str(buf, "{\"ssid\":\""); in dpp_build_conf_start()
4417 wpabuf_put_str(buf, ssid); in dpp_build_conf_start()
4418 wpabuf_put_str(buf, "\"},"); in dpp_build_conf_start()
4442 wpabuf_put_str(buf, "\""); in dpp_build_jwk()
4443 wpabuf_put_str(buf, name); in dpp_build_jwk()
4444 wpabuf_put_str(buf, "\":{\"kty\":\"EC\",\"crv\":\""); in dpp_build_jwk()
4445 wpabuf_put_str(buf, curve->jwk_crv); in dpp_build_jwk()
4446 wpabuf_put_str(buf, "\",\"x\":\""); in dpp_build_jwk()
[all …]
Dsae.c1006 wpabuf_put_str(buf, identifier); in sae_write_commit()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c388 wpabuf_put_str(resp, usrv->service); in wpas_sd_all_upnp()
460 wpabuf_put_str(resp, usrv->service); in wpas_sd_req_upnp()
989 wpabuf_put_str(tlvs, query); in wpas_p2p_sd_request_upnp()
Ddpp_supplicant.c2050 wpabuf_put_str(msg, connector); in wpas_dpp_check_connect()
2059 wpabuf_put_str(msg, ssid->dpp_connector); in wpas_dpp_check_connect()
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c732 wpabuf_put_str(msg, nai); in erp_send_finish_reauth()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c829 wpabuf_put_str(msg, erp->keyname_nai); in eap_peer_build_erp_reauth_start()