Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/dbus/
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 …]
/external/wpa_supplicant_8/src/wps/
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()
192 wpabuf_printf(msg, "%s: urn:schemas-wifialliance-org:device:" in next_advertisement()
[all …]
Dwps_upnp_event.c154 wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path); in event_build_message()
156 wpabuf_printf(buf, "HOST: %s\r\n", e->addr->domain_and_port); in event_build_message()
165 wpabuf_printf(buf, "SEQ: %u\r\n", e->subscriber_sequence); in event_build_message()
166 wpabuf_printf(buf, "CONTENT-LENGTH: %d\r\n", in event_build_message()
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()
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()
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()
Dwps_upnp.c232 wpabuf_printf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", in format_date()
465 wpabuf_printf(buf, "<%s>", name); in wpabuf_put_property()
468 wpabuf_printf(buf, "</%s>", name); in wpabuf_put_property()
Dhttp_client.c261 wpabuf_printf(req, in http_client_url()
/external/wpa_supplicant_8/src/utils/
Djson.c605 wpabuf_printf(json, "\"%s\":%d", name, val); in json_add_int()
611 wpabuf_printf(json, "\"%s\":\"%s\"", name, val); in json_add_string()
662 wpabuf_printf(json, "\"%s\":", name); in json_start_object()
676 wpabuf_printf(json, "\"%s\":", name); in json_start_array()
Dwpabuf.h39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
Dwpabuf.c298 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() function
/external/wpa_supplicant_8/src/common/
Ddpp.c884 wpabuf_printf(json, "%s%u", i ? "," : "", opclasses[i]); in dpp_build_conf_req_helper()
1576 wpabuf_printf(buf, "%d", EAP_TYPE_TLS); in dpp_build_conf_obj_dpp()