Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/wps/
H A 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 …]
H A 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()
H A Dwps_upnp_event.c155 wpabuf_put_str(buf, "SERVER: Unspecified, UPnP/1.0, Unspecified\r\n"); in event_build_message()
157 wpabuf_put_str(buf, "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n" in event_build_message()
160 wpabuf_put_str(buf, "SID: uuid:"); in event_build_message()
164 wpabuf_put_str(buf, "\r\n"); in event_build_message()
168 wpabuf_put_str(buf, "\r\n"); /* terminating empty line */ in event_build_message()
H A 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()
H A Dwps_upnp.c464 wpabuf_put_str(buf, "<e:property>"); in wpabuf_put_property()
467 wpabuf_put_str(buf, value); in wpabuf_put_property()
469 wpabuf_put_str(buf, "</e:property>\n"); in wpabuf_put_property()
534 wpabuf_put_str(buf, format_head); in upnp_wps_device_send_event()
536 wpabuf_put_str(buf, format_tail); in upnp_wps_device_send_event()
610 wpabuf_put_str(msg, "00:00:00:00:00:00"); in build_fake_wsc_ack()
689 wpabuf_put_str(buf, head); in subscription_first_event()
695 wpabuf_put_str(buf, tail); in subscription_first_event()
H A 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 …]
H A Dwps_er_ssdp.c136 wpabuf_put_str(msg, in wps_er_send_ssdp_msearch()
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A 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()
/freebsd/contrib/wpa/src/utils/
H A Dbrowser-wpadebug.c55 wpabuf_put_str(resp, "HTTP/1.1\r\n\r\nUser input completed"); in http_req()
H A Dwpabuf.h192 static inline void wpabuf_put_str(struct wpabuf *dst, const char *str) in wpabuf_put_str() function
/freebsd/contrib/wpa/src/ap/
H A 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()
H A Dhs20.c224 wpabuf_put_str(buf, url); in hs20_send_wnm_notification_t_c()
H A Ddpp_hostapd.c1965 wpabuf_put_str(msg, connector); in hostapd_dpp_send_peer_disc_resp()
1975 wpabuf_put_str(msg, hapd->conf->dpp_connector); in hostapd_dpp_send_peer_disc_resp()
2772 wpabuf_put_str(msg, hapd->conf->dpp_connector); in hostapd_dpp_rx_priv_peer_intro_query()
/freebsd/contrib/wpa/wpa_supplicant/
H A 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()
980 wpabuf_put_str(tlvs, query); in wpas_p2p_sd_request_upnp()
H A Ddpp_supplicant.c3827 wpabuf_put_str(pt, ssid->dpp_connector); in wpas_dpp_send_private_peer_intro_update()
4586 wpabuf_put_str(msg, connector); in wpas_dpp_check_connect()
4595 wpabuf_put_str(msg, ssid->dpp_connector); in wpas_dpp_check_connect()
/freebsd/contrib/wpa/src/common/
H A Ddpp_reconfig.c171 wpabuf_put_str(msg, auth->conf->connector); in dpp_reconfig_build_req()
384 wpabuf_put_str(msg, own_connector); in dpp_reconfig_build_resp()
H A Ddpp.c1529 wpabuf_put_str(buf, "\"discovery\":"); in dpp_build_conf_start()
1530 wpabuf_put_str(buf, auth->discovery_override); in dpp_build_conf_start()
1715 wpabuf_put_str(dppcon, "\"groups\":"); in dpp_build_conf_obj_dpp()
1716 wpabuf_put_str(dppcon, auth->groups_override); in dpp_build_conf_obj_dpp()
1855 wpabuf_put_str(buf, "\"signedConnector\":\""); in dpp_build_conf_obj_dpp()
1856 wpabuf_put_str(buf, signed_conn); in dpp_build_conf_obj_dpp()
1857 wpabuf_put_str(buf, "\""); in dpp_build_conf_obj_dpp()
2192 wpabuf_put_str(clear, auth->conf_sta->csrattrs); in dpp_build_conf_resp()
H A Ddpp_pkex.c121 wpabuf_put_str(msg, pkex->identifier); in dpp_pkex_build_exchange_req()
270 wpabuf_put_str(msg, pkex->identifier); in dpp_pkex_build_exchange_resp()
H A Dsae.c1718 wpabuf_put_str(buf, identifier); in sae_write_commit()
/freebsd/contrib/wpa/src/tls/
H A Dasn1.c608 wpabuf_put_str(buf, val); in asn1_put_utf8string()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap.c839 wpabuf_put_str(msg, erp->keyname_nai); in eap_peer_build_erp_reauth_start()
1712 wpabuf_put_str(privacy_identity, "anonymous"); in eap_sm_buildIdentity()
H A Deap_sim.c551 wpabuf_put_str(enc, attr); in eap_sim_encrypt_identity()
H A Deap_aka.c683 wpabuf_put_str(enc, attr); in eap_aka_encrypt_identity()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server.c740 wpabuf_put_str(msg, nai); in erp_send_finish_reauth()