Lines Matching refs:cb
293 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm,
303 if (peer->auth && cb(peer->auth, cb_ctx))
315 struct wpa_auth_callbacks cb;
328 os_memset(&cb, 0, sizeof(cb));
329 cb.ctx = ibss_rsn;
330 cb.logger = auth_logger;
331 cb.send_eapol = auth_send_eapol;
332 cb.get_psk = auth_get_psk;
333 cb.set_key = auth_set_key;
334 cb.for_each_sta = auth_for_each_sta;
336 ibss_rsn->auth_group = wpa_init(own_addr, &conf, &cb);