Lines Matching defs:cb
299 static int auth_for_each_sta(void *ctx, int (*cb)(struct wpa_state_machine *sm,
309 if (peer->auth && cb(peer->auth, cb_ctx))
368 struct wpa_auth_callbacks cb;
381 os_memset(&cb, 0, sizeof(cb));
382 cb.ctx = ibss_rsn;
383 cb.logger = auth_logger;
384 cb.set_eapol = auth_set_eapol;
385 cb.send_eapol = auth_send_eapol;
386 cb.get_psk = auth_get_psk;
387 cb.set_key = auth_set_key;
388 cb.for_each_sta = auth_for_each_sta;
390 ibss_rsn->auth_group = wpa_init(own_addr, &conf, &cb);