Home
last modified time | relevance | path

Searched refs:wpabuf_printf (Results 1 – 11 of 11) sorted by relevance

/netbsd/external/bsd/wpa/dist/wpa_supplicant/dbus/
H A Ddbus_new_introspect.c48 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface()
57 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg()
59 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg()
61 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg()
72 wpabuf_printf(xml, "<%s name=\"%s\"/>", type, name); in add_entry()
75 wpabuf_printf(xml, "<%s name=\"%s\">", type, name); in add_entry()
81 wpabuf_printf(xml, "</%s>", type); in add_entry()
88 wpabuf_printf(xml, "<property name=\"%s\" type=\"%s\" " in add_property()
190 wpabuf_printf(xml, "<node name=\"%s\"/>", children[i]); in add_child_nodes()
197 wpabuf_printf(xml, "<interface name=\"%s\">" in add_introspectable_interface()
[all …]
/netbsd/external/bsd/wpa/dist/src/wps/
H A Dwps_upnp_ssdp.c142 wpabuf_printf(msg, "HOST: %s:%d\r\n", in next_advertisement()
144 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
146 wpabuf_printf(msg, "NTS: %s\r\n", in next_advertisement()
153 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
166 wpabuf_printf(msg, "LOCATION: http://%s:%d/%s\r\n", in next_advertisement()
183 wpabuf_printf(msg, "%s: upnp:rootdevice\r\n", NTString); in next_advertisement()
184 wpabuf_printf(msg, "USN: uuid:%s::upnp:rootdevice\r\n", in next_advertisement()
188 wpabuf_printf(msg, "%s: uuid:%s\r\n", NTString, uuid_string); in next_advertisement()
189 wpabuf_printf(msg, "USN: uuid:%s\r\n", uuid_string); in next_advertisement()
194 wpabuf_printf(msg, "USN: uuid:%s::urn:schemas-wifialliance-" in next_advertisement()
[all …]
H A Dwps_upnp_event.c153 wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path); in event_build_message()
155 wpabuf_printf(buf, "HOST: %s\r\n", e->addr->domain_and_port); in event_build_message()
164 wpabuf_printf(buf, "SEQ: %u\r\n", e->subscriber_sequence); in event_build_message()
165 wpabuf_printf(buf, "CONTENT-LENGTH: %d\r\n", in event_build_message()
H A Dupnp_xml.c163 wpabuf_printf(buf, "<%s>", tag); in xml_add_tagged_data()
165 wpabuf_printf(buf, "</%s>\n", tag); in xml_add_tagged_data()
H A Dwps_upnp_web.c799 wpabuf_printf(buf, "HTTP/1.1 %d Error\r\n", ret); in web_connection_send_reply()
831 wpabuf_printf(buf, "<%s>", replyname); in web_connection_send_reply()
833 wpabuf_printf(buf, "</%s>\n", replyname); in web_connection_send_reply()
843 wpabuf_printf(buf, "<errorCode>%d</errorCode>\n", ret); in web_connection_send_reply()
1152 wpabuf_printf(buf, "Timeout: Second-%d\r\n", UPNP_SUBSCRIBE_SEC); in web_connection_parse_subscribe()
H A Dwps_er.c251 wpabuf_printf(req, in wps_er_ap_unsubscribe()
453 wpabuf_printf(req, in wps_er_subscribe()
920 wpabuf_printf(buf, in wps_er_soap_hdr()
928 wpabuf_printf(buf, in wps_er_soap_hdr()
937 wpabuf_printf(buf, "<u:%s xmlns:u=\"", name); in wps_er_soap_hdr()
941 wpabuf_printf(buf, "<%s>%s</%s>\n", in wps_er_soap_hdr()
954 wpabuf_printf(buf, "</u:%s>\n", name); in wps_er_soap_end()
995 wpabuf_printf(buf, "<NewWLANEventType>%d</NewWLANEventType>\n", in wps_er_sta_send_msg()
997 wpabuf_printf(buf, "<NewWLANEventMAC>" MACSTR "</NewWLANEventMAC>\n", in wps_er_sta_send_msg()
H A Dwps_upnp.c232 wpabuf_printf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", in format_date()
444 wpabuf_printf(buf, "<%s>", name); in wpabuf_put_property()
447 wpabuf_printf(buf, "</%s>", name); in wpabuf_put_property()
H A Dhttp_client.c261 wpabuf_printf(req, in http_client_url()
/netbsd/external/bsd/wpa/dist/src/utils/
H A Dwpabuf.h39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
H A Dwpabuf.c298 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() function
/netbsd/external/bsd/wpa/dist/src/common/
H A Ddpp.c4655 wpabuf_printf(dppcon, "{\"groups\":[{\"groupId\":\"%s\",", in dpp_build_conf_obj_dpp()
4657 wpabuf_printf(dppcon, "\"netRole\":\"%s\"}],", ap ? "ap" : "sta"); in dpp_build_conf_obj_dpp()
4674 wpabuf_printf(dppcon, in dpp_build_conf_obj_dpp()
4756 wpabuf_printf(buf, "\"cred\":{\"akm\":\"%s\",", dpp_akm_str(akm)); in dpp_build_conf_obj_dpp()
4806 wpabuf_printf(buf, "\"cred\":{\"akm\":\"%s\",", dpp_akm_str(conf->akm)); in dpp_build_conf_obj_legacy()