/hostap-latest/hs20/server/ |
D | spp_server.c | 70 char *sql; in db_add_session() local 78 sql = sqlite3_mprintf("INSERT INTO sessions(timestamp,id,user,realm," in db_add_session() 87 if (sql == NULL) in db_add_session() 89 debug_print(ctx, 1, "DB: %s", sql); in db_add_session() 90 if (sqlite3_exec(ctx->db, sql, NULL, NULL, NULL) != SQLITE_OK) { in db_add_session() 95 sqlite3_free(sql); in db_add_session() 104 char *sql; in db_update_session_password() local 106 sql = sqlite3_mprintf("UPDATE sessions SET password=%Q WHERE id=%Q AND " in db_update_session_password() 109 if (sql == NULL) in db_update_session_password() 111 debug_print(ctx, 1, "DB: %s", sql); in db_update_session_password() [all …]
|
D | hs20-osu-server.txt | 86 sqlite3 /home/user/hs20-server/AS/DB/eap_user.db < sql.txt 90 sqlite3 /home/user/hs20-server/AS/DB/eap_user.db < sql-example.txt 148 cat > /home/user/hs20-server/AS/as-sql.conf <<EOF 172 ./hostapd -B as-sql.conf
|
/hostap-latest/src/radius/ |
D | radius_server.c | 261 const char *sql = in db_table_create_sim_provisioning() local 271 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning() 308 char *sql; in srv_log() local 309 sql = sqlite3_mprintf("INSERT INTO authlog" in srv_log() 316 if (sql) { in srv_log() 317 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log() 322 sqlite3_free(sql); in srv_log() 668 char *sql; in radius_srv_hs20_t_c_pending() local 688 sql = sqlite3_mprintf("INSERT OR REPLACE INTO pending_tc (mac_addr,identity) VALUES (%Q,%Q)", in radius_srv_hs20_t_c_pending() 691 if (!sql) in radius_srv_hs20_t_c_pending() [all …]
|
/hostap-latest/hs20/server/www/ |
D | est.php | 40 $sql = "SELECT rowid,password,operation FROM sessions " . variable 42 $q = $db->query($sql); 77 $sql = "SELECT rowid,password,operation FROM sessions " . variable 79 $q = $db->query($sql);
|
/hostap-latest/tests/hwsim/ |
D | run-tests.py | 91 sql = "INSERT INTO logs(test,run,type,contents) VALUES(?, ?, ?, ?)" 94 conn.execute(sql, params) 109 …sql = "INSERT INTO results(test,result,run,time,duration,build,commitid) VALUES(?, ?, ?, ?, ?, ?, … 112 conn.execute(sql, params) 375 sql = 'INSERT OR REPLACE INTO tests(test,description) VALUES (?, ?)' 378 conn.execute(sql, params)
|
D | test_radius.py | 233 sql = "INSERT INTO radius_attributes(sta,reqtype,attr) VALUES (?,?,?)" 238 conn.execute(sql, e)
|
/hostap-latest/src/eap_server/ |
D | eap_sim_db.c | 97 const char *sql = in db_table_create_pseudonym() local 105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym() 118 const char *sql = in db_table_create_reauth() local 131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
|
/hostap-latest/hostapd/ |
D | hlr_auc_gw.c | 123 const char *sql = in db_table_create_milenage() local 134 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_milenage()
|
/hostap-latest/src/ap/ |
D | ieee802_1x.c | 692 char *sql; in add_sqlite_radius_attr() local 700 sql = "SELECT attr FROM radius_attributes WHERE sta=? AND (reqtype=? OR reqtype IS NULL);"; in add_sqlite_radius_attr() 701 if (sqlite3_prepare_v2(hapd->rad_attr_db, sql, os_strlen(sql), &stmt, in add_sqlite_radius_attr()
|
D | hostapd.c | 1258 const char *sql = in db_table_create_radius_attributes() local 1269 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_radius_attributes()
|