Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 139) sorted by relevance

123456

/hostap-latest/wpa_supplicant/
Dconfig_winreg.c702 char *value = wpa_config_get(ssid, field); in write_str() local
703 if (value == NULL) in write_str()
705 wpa_config_write_reg_string(hk, field, value); in write_str()
706 os_free(value); in write_str()
710 static void write_int(HKEY hk, const char *field, int value, int def) in write_int() argument
713 if (value == def) in write_int()
715 os_snprintf(val, sizeof(val), "%d", value); in write_int()
722 char *value = wpa_config_get(ssid, "bssid"); in write_bssid() local
723 if (value == NULL) in write_bssid()
725 wpa_config_write_reg_string(hk, "bssid", value); in write_bssid()
[all …]
Dconfig.c43 int line, const char *value);
66 int line, const char *value) in wpa_config_parse_str() argument
71 if (os_strcmp(value, "NULL") == 0) { in wpa_config_parse_str()
79 tmp = wpa_config_parse_string(value, &res_len); in wpa_config_parse_str()
83 data->key_data ? "[KEY DATA REMOVED]" : value); in wpa_config_parse_str()
139 static char * wpa_config_write_string_ascii(const u8 *value, size_t len) in wpa_config_write_string_ascii() argument
147 os_memcpy(buf + 1, value, len); in wpa_config_write_string_ascii()
155 static char * wpa_config_write_string_hex(const u8 *value, size_t len) in wpa_config_write_string_hex() argument
162 wpa_snprintf_hex(buf, 2 * len + 1, value, len); in wpa_config_write_string_hex()
168 static char * wpa_config_write_string(const u8 *value, size_t len) in wpa_config_write_string() argument
[all …]
Dconfig_file.c417 char *value = wpa_config_get(ssid, field); in write_str() local
418 if (value == NULL) in write_str()
420 fprintf(f, "\t%s=%s\n", field, value); in write_str()
421 str_clear_free(value); in write_str()
425 static void write_int(FILE *f, const char *field, int value, int def) in write_int() argument
427 if (value == def) in write_int()
429 fprintf(f, "\t%s=%d\n", field, value); in write_int()
435 char *value = wpa_config_get(ssid, "bssid"); in write_bssid() local
436 if (value == NULL) in write_bssid()
438 fprintf(f, "\tbssid=%s\n", value); in write_bssid()
[all …]
/hostap-latest/wpa_supplicant/dbus/
Ddbus_dict_helpers.c128 const void *value) in _wpa_dbus_add_dict_entry_basic() argument
145 !dbus_message_iter_append_basic(&iter_dict_val, value_type, value)) in _wpa_dbus_add_dict_entry_basic()
155 const char *value, const dbus_uint32_t value_len) in _wpa_dbus_add_dict_entry_byte_array() argument
175 &(value[i]))) in _wpa_dbus_add_dict_entry_byte_array()
198 const char *key, const char *value) in wpa_dbus_dict_append_string() argument
200 if (!value) in wpa_dbus_dict_append_string()
203 &value); in wpa_dbus_dict_append_string()
218 const char *key, const dbus_bool_t value) in wpa_dbus_dict_append_bool() argument
221 DBUS_TYPE_BOOLEAN, &value); in wpa_dbus_dict_append_bool()
237 const dbus_int16_t value) in wpa_dbus_dict_append_int16() argument
[all …]
Ddbus_dict_helpers.h27 const char *key, const char *value);
31 const dbus_bool_t value);
35 const dbus_int16_t value);
39 const dbus_uint16_t value);
43 const dbus_int32_t value);
47 const dbus_uint32_t value);
51 const dbus_uint64_t value);
55 const char *value);
59 const char *value,
64 const double value);
[all …]
Ddbus_new_handlers.c208 char *value = NULL; in set_network_properties() local
222 value = NULL; in set_network_properties()
229 value = os_zalloc(size); in set_network_properties()
230 if (value == NULL) in set_network_properties()
233 ret = wpa_snprintf_hex(value, size, in set_network_properties()
243 value = os_zalloc(size); in set_network_properties()
244 if (value == NULL) in set_network_properties()
247 ret = os_snprintf(value, size, "\"%s\"", in set_network_properties()
252 value = os_strdup(entry.str_value); in set_network_properties()
253 if (value == NULL) in set_network_properties()
[all …]
/hostap-latest/hs20/server/
Dsql-example.txt1 INSERT INTO osu_config(realm,field,value) VALUES('example.com','fqdn','example.com');
2 INSERT INTO osu_config(realm,field,value) VALUES('example.com','friendly_name','Example Operator');
3 INSERT INTO osu_config(realm,field,value) VALUES('example.com','spp_http_auth_url','https://subscri…
4 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_url','https://osu-s…
5 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_fingerprint','5b393…
6 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_url','https://o…
7 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_fingerprint','5…
8 INSERT INTO osu_config(realm,field,value) VALUES('example.com','free_account','free');
9 INSERT INTO osu_config(realm,field,value) VALUES('example.com','policy_url','https://subscription-s…
10 INSERT INTO osu_config(realm,field,value) VALUES('example.com','remediation_url','https://subscript…
[all …]
/hostap-latest/eap_example/
Deap_example_peer.c82 static void peer_set_bool(void *ctx, enum eapol_bool_var variable, bool value) in peer_set_bool() argument
89 peer->eapSuccess = value; in peer_set_bool()
92 peer->eapRestart = value; in peer_set_bool()
95 peer->eapFail = value; in peer_set_bool()
98 peer->eapResp = value; in peer_set_bool()
101 peer->eapNoResp = value; in peer_set_bool()
104 peer->eapReq = value; in peer_set_bool()
107 peer->portEnabled = value; in peer_set_bool()
110 peer->altAccept = value; in peer_set_bool()
113 peer->altReject = value; in peer_set_bool()
[all …]
/hostap-latest/src/crypto/
Dmd4-internal.c72 #define PUT_64BIT_LE(cp, value) do { \ argument
73 (cp)[7] = (value) >> 56; \
74 (cp)[6] = (value) >> 48; \
75 (cp)[5] = (value) >> 40; \
76 (cp)[4] = (value) >> 32; \
77 (cp)[3] = (value) >> 24; \
78 (cp)[2] = (value) >> 16; \
79 (cp)[1] = (value) >> 8; \
80 (cp)[0] = (value); } while (0)
82 #define PUT_32BIT_LE(cp, value) do { \ argument
[all …]
Dtls_openssl_ocsp.c95 } value; member
120 } value; member
177 ASN1_EXP(ResponderID, value.byName, X509_NAME, 1),
178 ASN1_EXP(ResponderID, value.byKey, ASN1_OCTET_STRING, 2)
187 ASN1_IMP(CertStatus, value.good, ASN1_NULL, 0),
188 ASN1_IMP(CertStatus, value.revoked, RevokedInfo, 1),
189 ASN1_IMP(CertStatus, value.unknown, ASN1_NULL, 2)
273 X509_NAME_print_ex(out, rid->value.byName, 0, XN_FLAG_ONELINE); in responderid_str()
276 i2a_ASN1_STRING(out, rid->value.byKey, V_ASN1_OCTET_STRING); in responderid_str()
461 return X509_find_by_subject(certs, rid->value.byName); in ocsp_find_signer()
[all …]
/hostap-latest/tests/
Dtest-list.c15 int value; member
23 printf(" %d", t->value); in dump_list()
41 t->value = i; in main()
50 t->value = i; in main()
59 printf("move: %d\n", t->value); in main()
65 printf("delete: %d\n", t->value); in main()
/hostap-latest/wpa_supplicant/examples/p2p/
Dp2p_group_add.py176 for key, value in options:
183 interface_name = value
186 if (value == '0'):
188 elif (value == '1'):
196 frequency = value
199 persistent_group_object = value
202 wpas_dbus_interface = value
Dp2p_connect.py243 for key, value in options:
250 interface_name = value
253 wps_method = value
256 addr = value
259 pin = value
262 go_intent = value
265 wpas_dbus_interface = value
Dp2p_listen.py130 for key, value in options:
137 interface_name = value
140 if ( int(value) >= 0):
141 timeout = value
148 wpas_dbus_interface = value
Dp2p_find.py140 for key, value in options:
147 interface_name = value
150 if ( int(value) >= 0):
151 timeout = value
158 wpas_dbus_interface = value
Dp2p_invite.py158 for key, value in options:
165 interface_name = value
167 addr = value
170 persistent_group_object = value
173 wpas_dbus_interface = value
/hostap-latest/src/common/
Dwpa_helpers.c251 const char *value) in set_network() argument
254 snprintf(buf, sizeof(buf), "SET_NETWORK %d %s %s", id, field, value); in set_network()
260 const char *value) in set_network_quoted() argument
264 id, field, value); in set_network_quoted()
279 int set_cred(const char *ifname, int id, const char *field, const char *value) in set_cred() argument
282 snprintf(buf, sizeof(buf), "SET_CRED %d %s %s", id, field, value); in set_cred()
288 const char *value) in set_cred_quoted() argument
292 id, field, value); in set_cred_quoted()
Dwpa_helpers.h29 const char *value);
31 const char *value);
33 int set_cred(const char *ifname, int id, const char *field, const char *value);
35 const char *value);
Dctrl_iface_common.c118 const char *value; in ctrl_set_events() local
124 value = os_strchr(input, '='); in ctrl_set_events()
125 if (!value) in ctrl_set_events()
127 value++; in ctrl_set_events()
128 val = atoi(value); in ctrl_set_events()
/hostap-latest/src/wps/
Dupnp_xml.c195 char *value; in xml_get_first_item() local
216 value = os_zalloc(1 + (end - doc)); in xml_get_first_item()
217 if (value == NULL) in xml_get_first_item()
219 os_memcpy(value, doc, end - doc); in xml_get_first_item()
220 return value; in xml_get_first_item()
/hostap-latest/src/utils/
Dxml_libxml2.c293 const char *name, const char *value) in xml_node_create_text() argument
297 (const xmlChar *) name, (const xmlChar *) value); in xml_node_create_text()
304 const char *name, const char *value) in xml_node_create_text_ns() argument
310 (const xmlChar *) name, (const xmlChar *) value); in xml_node_create_text_ns()
318 const char *value) in xml_node_set_text() argument
321 xmlNodeSetContent((xmlNodePtr) node, (xmlChar *) value); in xml_node_set_text()
326 xml_namespace_t *ns, const char *name, const char *value) in xml_node_add_attr() argument
333 (const xmlChar *) value); in xml_node_add_attr()
336 (const xmlChar *) value); in xml_node_add_attr()
Dcommon.c642 char * wpa_config_parse_string(const char *value, size_t *len) in wpa_config_parse_string() argument
644 if (*value == '"') { in wpa_config_parse_string()
647 value++; in wpa_config_parse_string()
648 pos = os_strrchr(value, '"'); in wpa_config_parse_string()
651 *len = pos - value; in wpa_config_parse_string()
652 str = dup_binstr(value, *len); in wpa_config_parse_string()
656 } else if (*value == 'P' && value[1] == '"') { in wpa_config_parse_string()
660 value += 2; in wpa_config_parse_string()
661 pos = os_strrchr(value, '"'); in wpa_config_parse_string()
664 tlen = pos - value; in wpa_config_parse_string()
[all …]
Dxml-utils.c340 char *nodename, *value, *path; in add_mo_node() local
346 value = get_node_text(ctx, node, "Value"); in add_mo_node()
351 if (root && value) in add_mo_node()
352 xml_node_set_text(ctx, root, value); in add_mo_node()
356 xml_node_get_text_free(ctx, value); in add_mo_node()
367 xml_node_get_text_free(ctx, value); in add_mo_node()
370 if (value) in add_mo_node()
372 value); in add_mo_node()
378 xml_node_get_text_free(ctx, value); in add_mo_node()
Dxml-utils.h38 const char *name, const char *value);
41 const char *name, const char *value);
43 const char *value);
45 xml_namespace_t *ns, const char *name, const char *value);
/hostap-latest/tests/hwsim/
Dwpasupplicant.py333 def set(self, field, value, allow_fail=False): argument
334 if "OK" not in self.request("SET " + field + " " + value):
357 def set_network(self, id, field, value): argument
358 res = self.request("SET_NETWORK " + str(id) + " " + field + " " + value)
363 def set_network_quoted(self, id, field, value): argument
364 res = self.request("SET_NETWORK " + str(id) + " " + field + ' "' + value + '"')
378 def p2pdev_set_network(self, id, field, value): argument
379 res = self.p2pdev_request("SET_NETWORK " + str(id) + " " + field + " " + value)
384 def p2pdev_set_network_quoted(self, id, field, value): argument
385 res = self.p2pdev_request("SET_NETWORK " + str(id) + " " + field + ' "' + value + '"')
[all …]

123456