/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 48 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 …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 142 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 …]
|
H A D | wps_upnp_event.c | 154 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()
|
H A D | upnp_xml.c | 163 wpabuf_printf(buf, "<%s>", tag); in xml_add_tagged_data() 165 wpabuf_printf(buf, "</%s>\n", tag); in xml_add_tagged_data()
|
H A D | wps_upnp_web.c | 799 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 D | wps_er.c | 251 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 D | wps_upnp.c | 232 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()
|
H A D | http_client.c | 261 wpabuf_printf(req, in http_client_url()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | json.c | 605 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()
|
H A D | wpabuf.h | 39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
|
H A D | wpabuf.c | 298 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() function
|
/freebsd/contrib/wpa/src/common/ |
H A D | dpp.c | 1031 wpabuf_printf(json, "%s%u", i ? "," : "", opclasses[i]); in dpp_build_conf_req_helper() 1040 wpabuf_printf(json, "\"%s\":%s", extra_name, extra_value); in dpp_build_conf_req_helper() 1850 wpabuf_printf(buf, "%d", EAP_TYPE_TLS); in dpp_build_conf_obj_dpp() 1878 wpabuf_printf(buf, "\"%s\":%s", conf->extra_name, in dpp_build_conf_obj_dpp() 1938 wpabuf_printf(buf, "\"%s\":%s", conf->extra_name, in dpp_build_conf_obj_legacy()
|