/hostap-latest/src/fst/ |
D | fst_group.h | 22 #define foreach_fst_group_iface(g, i) \ argument 23 dl_list_for_each((i), &(g)->ifaces, struct fst_iface, group_lentry) 26 void fst_group_attach_iface(struct fst_group *g, struct fst_iface *i); 27 void fst_group_detach_iface(struct fst_group *g, struct fst_iface *i); 28 void fst_group_delete(struct fst_group *g); 30 void fst_group_update_ie(struct fst_group *g); 32 static inline bool fst_group_has_ifaces(struct fst_group *g) in fst_group_has_ifaces() argument 34 return !dl_list_empty(&g->ifaces); in fst_group_has_ifaces() 37 static inline struct fst_iface * fst_group_first_iface(struct fst_group *g) in fst_group_first_iface() argument 39 return dl_list_first(&g->ifaces, struct fst_iface, group_lentry); in fst_group_first_iface() [all …]
|
D | fst_group.c | 132 static struct wpabuf * fst_group_create_mb_ie(struct fst_group *g, in fst_group_create_mb_ie() argument 140 foreach_fst_group_iface(g, f) { in fst_group_create_mb_ie() 159 foreach_fst_group_iface(g, f) { in fst_group_create_mb_ie() 175 fst_dump_mb_ies(fst_group_get_id(g), fst_iface_get_name(i), in fst_group_create_mb_ie() 237 struct fst_iface * fst_group_get_iface_by_name(struct fst_group *g, in fst_group_get_iface_by_name() argument 242 foreach_fst_group_iface(g, f) { in fst_group_get_iface_by_name() 253 u8 fst_group_assign_dialog_token(struct fst_group *g) in fst_group_assign_dialog_token() argument 255 g->dialog_token++; in fst_group_assign_dialog_token() 256 if (g->dialog_token == 0) in fst_group_assign_dialog_token() 257 g->dialog_token++; in fst_group_assign_dialog_token() [all …]
|
D | fst_ctrl_iface.c | 21 struct fst_group *g; in get_fst_group_by_id() local 23 foreach_fst_group(g) { in get_fst_group_by_id() 24 const char *group_id = fst_group_get_id(g); in get_fst_group_by_id() 27 return g; in get_fst_group_by_id() 85 struct fst_group *g; in fst_ctrl_iface_notify() local 97 foreach_fst_group(g) { in fst_ctrl_iface_notify() 98 f = fst_group_first_iface(g); in fst_ctrl_iface_notify() 251 struct fst_group *g; in session_add() local 254 g = get_fst_group_by_id(group_id); in session_add() 255 if (!g) { in session_add() [all …]
|
D | fst_session.c | 235 fst_find_session_in_progress(const u8 *peer_addr, struct fst_group *g) in fst_find_session_in_progress() argument 240 if (s->group == g && in fst_find_session_in_progress() 363 struct fst_group *g; in fst_session_handle_setup_request() local 390 g = fst_iface_get_group(iface); in fst_session_handle_setup_request() 413 s = fst_find_session_in_progress(mgmt->sa, g); in fst_session_handle_setup_request() 473 s = fst_session_create(g); in fst_session_handle_setup_request() 752 struct fst_session * fst_session_create(struct fst_group *g) in fst_session_create() argument 770 s->group = g; in fst_session_create() 1181 void fst_session_enum(struct fst_group *g, fst_session_enum_clb clb, void *ctx) in fst_session_enum() argument 1186 if (!g || s->group == g) in fst_session_enum() [all …]
|
D | fst_session.h | 23 fst_session_global_get_first_by_group(struct fst_group *g); 25 struct fst_session * fst_session_create(struct fst_group *g); 50 typedef void (*fst_session_enum_clb)(struct fst_group *g, struct fst_session *s, 53 void fst_session_enum(struct fst_group *g, fst_session_enum_clb clb, void *ctx);
|
D | fst_iface.c | 15 struct fst_iface * fst_iface_create(struct fst_group *g, const char *ifname, in fst_iface_create() argument 24 fst_printf_group(g, MSG_ERROR, "cannot allocate iface for %s", in fst_iface_create() 31 i->group = g; in fst_iface_create()
|
D | fst.c | 42 struct fst_group *g; in fst_attach() local 51 foreach_fst_group(g) { in fst_attach() 52 if (os_strcmp(cfg->group_id, fst_group_get_id(g)) == 0) { in fst_attach() 53 group = g; in fst_attach()
|
D | fst.h | 171 int (*on_group_created)(struct fst_group *g); 176 void (*on_group_deleted)(struct fst_group *g);
|
/hostap-latest/hostapd/ |
D | hlr_auc_gw.c | 279 struct gsm_triplet *g = NULL; in read_gsm_triplets() local 308 g = os_zalloc(sizeof(*g)); in read_gsm_triplets() 309 if (g == NULL) { in read_gsm_triplets() 317 if (!pos || os_strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets() 322 os_strlcpy(g->imsi, pos, sizeof(g->imsi)); in read_gsm_triplets() 326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets() 335 hexstr2bin(pos, g->sres, 4)) { in read_gsm_triplets() 344 hexstr2bin(pos, g->_rand, 16)) { in read_gsm_triplets() 350 g->next = gsm_db; in read_gsm_triplets() 351 gsm_db = g; in read_gsm_triplets() [all …]
|
D | hlr_auc_gw.txt | 8 program, e.g., hlr_auc_gw. 14 GSM triplet data is used for a more static configuration (e.g., triplets 23 hostapd.conf (e.g., "eap_sim_db=unix:/tmp/hlr_auc_gw.sock"). hlr_auc_gw 26 hlr_auc_gw [-hu] [-s<socket path>] [-g<triplet file>] [-m<milenage file>] \ 34 -g<triplet file> = path for GSM authentication triplets 40 The SQLite database can be initialized with sqlite, e.g., by running
|
D | README-WPS | 5 configured and how an external component on an AP (e.g., web UI) is 31 Registrar") or in an external device, e.g., a laptop, ("external 51 point, e.g., for initial network setup. In addition, hostapd can proxy a 53 (e.g., Microsoft Vista or Atheros JumpStart) with UPnP. 142 a new device. The AP could use, e.g., a web UI for showing active 166 When the user enters a PIN for a pending Enrollee, e.g., on the web 176 If the UUID-E is not available (e.g., Enrollee waits for the Registrar 205 button pushed event over the control interface, e.g., by calling 216 use its AP PIN. A static AP PIN (e.g., one one a label in the AP
|
/hostap-latest/src/p2p/ |
D | p2p_parse.c | 662 const u8 *g, *gend; in p2p_group_info_parse() local 668 g = gi; in p2p_group_info_parse() 670 while (g < gend) { in p2p_group_info_parse() 677 len = *g++; in p2p_group_info_parse() 678 if (len > gend - g || len < 2 * ETH_ALEN + 1 + 2 + 8 + 1) in p2p_group_info_parse() 680 cend = g + len; in p2p_group_info_parse() 682 cli->p2p_device_addr = g; in p2p_group_info_parse() 683 g += ETH_ALEN; in p2p_group_info_parse() 684 cli->p2p_interface_addr = g; in p2p_group_info_parse() 685 g += ETH_ALEN; in p2p_group_info_parse() [all …]
|
D | p2p_dev_disc.c | 165 size_t g; in p2p_process_dev_disc_req() local 189 for (g = 0; g < p2p->num_groups; g++) { in p2p_process_dev_disc_req() 190 if (p2p_group_go_discover(p2p->groups[g], msg.device_id, sa, in p2p_process_dev_disc_req()
|
D | p2p_group.c | 100 size_t g; in p2p_group_deinit() local 108 for (g = 0; g < p2p->num_groups; g++) { in p2p_group_deinit() 109 if (p2p->groups[g] == group) { in p2p_group_deinit() 110 while (g + 1 < p2p->num_groups) { in p2p_group_deinit() 111 p2p->groups[g] = p2p->groups[g + 1]; in p2p_group_deinit() 112 g++; in p2p_group_deinit() 249 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g) in p2p_group_get_wfd_ie() argument 251 return g->wfd_ie; in p2p_group_get_wfd_ie()
|
D | p2p_invitation.c | 34 struct p2p_group *g = p2p->groups[i]; in p2p_build_invitation_req() local 36 if (!ether_addr_equal(p2p_group_get_interface_addr(g), in p2p_build_invitation_req() 39 ie = p2p_group_get_wfd_ie(g); in p2p_build_invitation_req() 128 struct p2p_group *g = p2p->groups[i]; in p2p_build_invitation_resp() local 130 if (!ether_addr_equal(p2p_group_get_interface_addr(g), in p2p_build_invitation_resp() 133 ie = p2p_group_get_wfd_ie(g); in p2p_build_invitation_resp()
|
/hostap-latest/tests/ |
D | test-milenage.c | 786 const struct gsm_milenage_test_set *g; in main() local 788 g = &gsm_test_sets[i]; in main() 790 gsm_milenage(g->opc, g->ki, g->rand, sres, kc); in main() 791 if (memcmp(g->kc, kc, 8) != 0) { in main() 796 if (memcmp(g->sres2, sres, 4) != 0) { in main() 801 if (memcmp(g->sres1, sres, 4) != 0) { in main()
|
/hostap-latest/tests/hwsim/ |
D | example-hostapd.config | 97 #CFLAGS += -fsanitize=address -O1 -fno-omit-frame-pointer -g 98 #LIBS += -fsanitize=address -fno-omit-frame-pointer -g 99 #LIBS_h += -fsanitize=address -fno-omit-frame-pointer -g 100 #LIBS_n += -fsanitize=address -fno-omit-frame-pointer -g 101 #LIBS_c += -fsanitize=address -fno-omit-frame-pointer -g
|
D | example-wpa_supplicant.config | 145 #CFLAGS += -fsanitize=address -O1 -fno-omit-frame-pointer -g 146 #LIBS += -fsanitize=address -fno-omit-frame-pointer -g 147 #LIBS_c += -fsanitize=address -fno-omit-frame-pointer -g 148 #LIBS_p += -fsanitize=address -fno-omit-frame-pointer -g
|
D | example-setup.txt | 11 virtual machine with any host system (e.g., Linux, Windows, or OS X as 21 - download installation image, e.g., 145 up; e.g., a 4-core i7-4770K can run these in under 10 minutes with 7 174 addresses that and these WEXT test cases pass, e.g., with this snapshot 182 With systemd based distros, e.g., Ubuntu 16.04, systemd-rfkill.service might
|
/hostap-latest/wpa_supplicant/doc/docbook/ |
D | wpa_priv.sgml | 36 while leaving rest of the code (e.g., EAP authentication and WPA 48 a non-root user (e.g., all standard users on a laptop or as a special 60 <para>Create user group (e.g., wpapriv) and assign users that 73 <para>Start <command>wpa_priv</command> as root (e.g., from system 117 (e.g, wpa_supplicant -h). The driver backend supported by most good 122 (e.g., wlan0 or ath0).</para>
|
/hostap-latest/tests/fuzzing/ |
D | rules.include | 16 ifeq ($(CFLAGS),-MMD -O2 -Wall -g) 24 CFLAGS ?= -MMD -O2 -Wall -g
|
/hostap-latest/wpa_supplicant/ |
D | README | 55 - WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise") 136 BSD net80211 layer (e.g., Atheros driver) 225 an external authentication server (e.g., RADIUS) and EAP just like 247 version of WPA called WPA2. This includes, e.g., support for more 300 driver interfaces (e.g., nl80211, wext, ..) and which authentication 301 methods (e.g., EAP-TLS, EAP-PEAP, ..) are included. 373 the binaries to a suitable system directory, e.g., /usr/local/bin. 383 You will need to make a configuration file, e.g., 410 wpa_supplicant [-BddfhKLqqtuvW] [-P<pid file>] [-g<global ctrl>] \ 425 -g = global ctrl_interface [all …]
|
D | todo.txt | 57 is, that the cache entries are bound to only one EAP type; e.g., cache entry 65 configured ca_cert store (e.g., ROOT) (they could be, e.g., in CA store) 70 - add support for encrypted configuration fields (e.g., password, psk,
|
D | android.config | 38 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) 67 # Driver interface for no driver (e.g., WPS ER only) 158 # Smartcard support (i.e., private key on a smartcard), e.g., with openssl 175 # Select control interface backend for external programs, e.g, wpa_cli: 200 # (e.g., 90 kB). 203 # Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save 210 # PSK can only be configured as the 64-octet hexstring (e.g., from 219 # file = text file (e.g., wpa_supplicant.conf; note: the configuration file 372 # same file, e.g., using trace-cmd. 406 # data when needed, e.g., for key generation. On Linux and BSD systems, this [all …]
|
/hostap-latest/wpa_supplicant/wpa_gui-qt4/ |
D | wpa_gui.pro | 14 } else:win32-g++ { 20 } else:win32-x-g++ {
|