Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_introspect.c51 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface()
61 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg()
63 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg()
65 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg()
76 wpabuf_printf(xml, "<%s name=\"%s\"/>", type, name); in add_entry()
79 wpabuf_printf(xml, "<%s name=\"%s\">", type, name); in add_entry()
85 wpabuf_printf(xml, "</%s>", type); in add_entry()
92 wpabuf_printf(xml, "<property name=\"%s\" type=\"%s\" access=\"%s\"/>", in add_property()
184 wpabuf_printf(xml, "<node name=\"%s\"/>", children[i]); in add_child_nodes()
191 wpabuf_printf(xml, "<interface name=\"%s\">" in add_introspectable_interface()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c153 wpabuf_printf(msg, "HOST: %s:%d\r\n", in next_advertisement()
155 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
157 wpabuf_printf(msg, "NTS: %s\r\n", in next_advertisement()
164 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
177 wpabuf_printf(msg, "LOCATION: http://%s:%d/%s\r\n", in next_advertisement()
194 wpabuf_printf(msg, "%s: upnp:rootdevice\r\n", NTString); in next_advertisement()
195 wpabuf_printf(msg, "USN: uuid:%s::upnp:rootdevice\r\n", in next_advertisement()
199 wpabuf_printf(msg, "%s: uuid:%s\r\n", NTString, uuid_string); in next_advertisement()
200 wpabuf_printf(msg, "USN: uuid:%s\r\n", uuid_string); in next_advertisement()
203 wpabuf_printf(msg, "%s: urn:schemas-wifialliance-org:device:" in next_advertisement()
[all …]
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()
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.c727 wpabuf_printf(buf, "HTTP/1.1 %d Error\r\n", ret); in web_connection_send_reply()
759 wpabuf_printf(buf, "<%s>", replyname); in web_connection_send_reply()
761 wpabuf_printf(buf, "</%s>\n", replyname); in web_connection_send_reply()
771 wpabuf_printf(buf, "<errorCode>%d</errorCode>\n", ret); in web_connection_send_reply()
1080 wpabuf_printf(buf, "Timeout: Second-%d\r\n", UPNP_SUBSCRIBE_SEC); in web_connection_parse_subscribe()
Dwps_er.c256 wpabuf_printf(req, in wps_er_ap_unsubscribe()
459 wpabuf_printf(req, in wps_er_subscribe()
899 wpabuf_printf(buf, in wps_er_soap_hdr()
907 wpabuf_printf(buf, in wps_er_soap_hdr()
916 wpabuf_printf(buf, "<u:%s xmlns:u=\"", name); in wps_er_soap_hdr()
920 wpabuf_printf(buf, "<%s>%s</%s>\n", in wps_er_soap_hdr()
933 wpabuf_printf(buf, "</u:%s>\n", name); in wps_er_soap_end()
974 wpabuf_printf(buf, "<NewWLANEventType>%d</NewWLANEventType>\n", in wps_er_sta_send_msg()
976 wpabuf_printf(buf, "<NewWLANEventMAC>" MACSTR "</NewWLANEventMAC>\n", in wps_er_sta_send_msg()
Dwps_upnp.c230 wpabuf_printf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", in format_date()
456 wpabuf_printf(buf, "<%s>", name); in wpabuf_put_property()
459 wpabuf_printf(buf, "</%s>", name); in wpabuf_put_property()
Dhttp_client.c273 wpabuf_printf(req, in http_client_url()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_ssdp.c150 wpabuf_printf(msg, "HOST: %s:%d\r\n", in next_advertisement()
152 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
154 wpabuf_printf(msg, "NTS: %s\r\n", in next_advertisement()
161 wpabuf_printf(msg, "CACHE-CONTROL: max-age=%d\r\n", in next_advertisement()
174 wpabuf_printf(msg, "LOCATION: http://%s:%d/%s\r\n", in next_advertisement()
191 wpabuf_printf(msg, "%s: upnp:rootdevice\r\n", NTString); in next_advertisement()
192 wpabuf_printf(msg, "USN: uuid:%s::upnp:rootdevice\r\n", in next_advertisement()
196 wpabuf_printf(msg, "%s: uuid:%s\r\n", NTString, uuid_string); in next_advertisement()
197 wpabuf_printf(msg, "USN: uuid:%s\r\n", uuid_string); in next_advertisement()
200 wpabuf_printf(msg, "%s: urn:schemas-wifialliance-org:device:" in next_advertisement()
[all …]
Dwps_upnp_event.c298 wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path); in event_send_tx_ready()
300 wpabuf_printf(buf, "HOST: %s\r\n", e->addr->domain_and_port); in event_send_tx_ready()
309 wpabuf_printf(buf, "SEQ: %u\r\n", e->subscriber_sequence); in event_send_tx_ready()
310 wpabuf_printf(buf, "CONTENT-LENGTH: %d\r\n", in event_send_tx_ready()
Dwps_upnp_web.c207 wpabuf_printf(buf, "<%s>", tag); in xml_add_tagged_data()
209 wpabuf_printf(buf, "</%s>\n", tag); in xml_add_tagged_data()
1227 wpabuf_printf(buf, "HTTP/1.1 %d Error\r\n", ret); in web_connection_send_reply()
1259 wpabuf_printf(buf, "<%s>", replyname); in web_connection_send_reply()
1261 wpabuf_printf(buf, "</%s>\n", replyname); in web_connection_send_reply()
1271 wpabuf_printf(buf, "<errorCode>%d</errorCode>\n", ret); in web_connection_send_reply()
1597 wpabuf_printf(buf, "Timeout: Second-%d\r\n", UPNP_SUBSCRIBE_SEC); in web_connection_parse_subscribe()
Dwps_upnp.c224 wpabuf_printf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", in format_date()
484 wpabuf_printf(buf, "<%s>", name); in wpabuf_put_property()
487 wpabuf_printf(buf, "</%s>", name); in wpabuf_put_property()
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dwpabuf.h41 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
Dwpabuf.c204 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() function
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h41 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
Dwpabuf.c292 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() function